doc: update readme
This commit is contained in:
17
README.md
17
README.md
@@ -2,10 +2,19 @@
|
|||||||
|
|
||||||
youtube-dl wrapped in a simple web server.
|
youtube-dl wrapped in a simple web server.
|
||||||
|
|
||||||
[](https://raw.githubusercontent.com/w33ble/youtube-dl-web/master/LICENSE)
|
[](https://raw.githubusercontent.com/w33ble/youtube-dl-web/master/LICENSE)
|
||||||
[](https://www.npmjs.com/package/youtube-dl-web)
|
[](https://nodejs.org/api/documentation.html#documentation_stability_index)
|
||||||
[](https://nodejs.org/api/documentation.html#documentation_stability_index)
|
|
||||||
|
|
||||||
#### License
|
## Usage
|
||||||
|
|
||||||
|
Meant to be used with Docker, but it would work locally if you have [youtube-dl](https://youtube-dl.org/) installed as well.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker run -it --rm -p 8080:8080 -v $PWD/data:/app/data w33ble/youtube-dl-web
|
||||||
|
```
|
||||||
|
|
||||||
|
Then hit `http://localhost:8080`, passing in a `url` and optionally a `format` query parameter for where to download from.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
MIT © [w33ble](https://github.com/w33ble)
|
MIT © [w33ble](https://github.com/w33ble)
|
||||||
Reference in New Issue
Block a user