Add docker build command to README

This commit is contained in:
Balakrishnan Balasubramanian 2022-06-30 12:47:17 -04:00
parent d244b46512
commit bef160745a

View File

@ -1,16 +1,27 @@
Front end for youtube-dl Front end for youtube-dl
------------------------ ------------------------
Bare minimum zero dependency¹ single binary web app to download youtube videos using youtube-dl. Allows multiple downloads in parallel. Shows title and live download progress. Pull requests welcome. For a more feature full nicer looking app, checkout [YoutubeDL-Material](https://github.com/Tzahi12345/YoutubeDL-Material) Bare minimum zero dependency¹ single binary web app to download youtube videos using youtube-dl. Allows multiple downloads in parallel. Shows title and live download progress.
Pull requests welcome. For a more feature full nicer looking app, checkout [YoutubeDL-Material](https://github.com/Tzahi12345/YoutubeDL-Material)
¹ Uses `golang.org/x/net` for websockets. It is strictly not part of go standard library. ¹Uses `golang.org/x/net` for websockets. It is strictly not part of go standard library, but still from official go.
Usage Install
----- -------
go install gitlab.com/balki/ytui@latest go install gitlab.com/balki/ytui@latest
go: downloading gitlab.com/balki/ytui v0.0.0-... go: downloading gitlab.com/balki/ytui v0.0.0-...
If you don't have and don't want to install go toolchain but have docker, below command gets the binary
docker run --rm -v "${PWD}:/op" golang:latest sh -c "go install gitlab.com/balki/ytui@latest && cp -v /go/bin/ytui /op/"
go: downloading gitlab.com/balki/ytui v0.0.0-...
go: downloading golang.org/x/net v0.0.0-...
'/go/bin/ytui' -> '/op/ytui'
docker rmi golang:latest
Usage
-----
~/go/bin/ytui -h ~/go/bin/ytui -h
2022/06/30 10:53:46 Youtube UI 2022/06/30 10:53:46 Youtube UI