doc: update readme
This commit is contained in:
19
README.md
19
README.md
@@ -2,10 +2,19 @@
|
||||
|
||||
youtube-dl wrapped in a simple web server.
|
||||
|
||||
[](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://raw.githubusercontent.com/w33ble/youtube-dl-web/master/LICENSE)
|
||||
[](https://nodejs.org/api/documentation.html#documentation_stability_index)
|
||||
|
||||
#### License
|
||||
## Usage
|
||||
|
||||
MIT © [w33ble](https://github.com/w33ble)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user