Evan Fiordeliso eabf8befdc | ||
---|---|---|
.trunk | ||
charts/ytdl-web | ||
cmd | ||
version | ||
web | ||
ytdl | ||
.air.toml | ||
.dockerignore | ||
.gitignore | ||
.goreleaser.yaml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
Taskfile.yml | ||
config.example.yml | ||
go.mod | ||
go.sum | ||
main.go |
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:
- Download dependencies
task deps
- Build binary
task build
Releasing
Prerequisites:
Steps:
-
Ensure gitea access token is in
~/.config/goreleaser/gitea_token
-
Run release task
task release
Publishing Chart
Prerequisites:
Steps:
- Add the helm repo
helm repo add --username {username} --password {password} gitea-apps https://git.fifitido.net/api/packages/apps/helm
- Publish the chart
task publish-chart