Go to file
Evan Fiordeliso bc32a09a5d Update build task 2023-04-15 18:32:52 -04:00
.trunk Add basic chart 2023-04-14 23:37:52 -04:00
charts/ytdl-web Add basic chart 2023-04-14 23:37:52 -04:00
cmd Update README file and cobra descriptions 2023-04-15 18:07:48 -04:00
version Update goreleaser config 2023-04-15 18:24:23 -04:00
web Center download links 2023-04-15 15:47:22 -04:00
ytdl Add yt-dlp path config value 2023-04-15 15:45:27 -04:00
.air.toml Add basic chart 2023-04-14 23:37:52 -04:00
.dockerignore Add chart and docker publish tasks and fix env vars 2023-04-15 17:28:18 -04:00
.gitignore Update goreleaser config 2023-04-15 18:24:23 -04:00
.goreleaser.yaml Update goreleaser config 2023-04-15 18:24:23 -04:00
Dockerfile Add chart and docker publish tasks and fix env vars 2023-04-15 17:28:18 -04:00
LICENSE Add chart and docker publish tasks and fix env vars 2023-04-15 17:28:18 -04:00
README.md Update goreleaser config 2023-04-15 18:24:23 -04:00
Taskfile.yml Update build task 2023-04-15 18:32:52 -04:00
config.example.yml Add yt-dlp path config value 2023-04-15 15:45:27 -04:00
go.mod Tidy up deps 2023-04-15 12:38:54 -04:00
go.sum Tidy up deps 2023-04-15 12:38:54 -04:00
main.go Initial commit with server 2023-04-14 11:58:32 -04:00

README.md

YTDL Web

Usage

ytdl-web [OPTIONS]

Available options:

  • -b, --base-path string the base path, used when behind reverse proxy
  • --config string config file (default is $XDG_CONFIG_HOME/ytdl-web/config.yml)
  • -h, --help help for ytdl-web
  • -l, --listen string address to listen on (default "127.0.0.1")
  • -p, --port int port to listen on (default 8080)
  • -y, --ytdlp-path string the path to the yt-dlp binary, used when it is not in $PATH (default "yt-dlp")

Building from source

Prerequisites:

Steps:

  1. Download dependencies
task deps
  1. Build binary
task build

Releasing

Prerequisites:

Steps:

  1. Ensure gitea access token is in ~/.config/goreleaser/gitea_token

  2. Run release task

task release

Publishing Docker Image

Prerequisites:

Steps:

  1. Login to the container registry
docker login git.fifitido.net
  1. Publish the container image
task docker:publish

Publishing Chart

Prerequisites:

Steps:

  1. Add the helm repo
helm repo add --username {username} --password {password} gitea-apps https://git.fifitido.net/api/packages/apps/helm
  1. Publish the chart
task chart:publish