Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iphoting/youtube-dl-api-server-heroku
A ready-for-Heroku youtube-dl REST API server
https://github.com/iphoting/youtube-dl-api-server-heroku
heroku python rest-api youtube-dl
Last synced: 1 day ago
JSON representation
A ready-for-Heroku youtube-dl REST API server
- Host: GitHub
- URL: https://github.com/iphoting/youtube-dl-api-server-heroku
- Owner: iphoting
- Created: 2015-03-01T02:17:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T00:09:11.000Z (3 months ago)
- Last Synced: 2024-12-16T00:06:59.771Z (9 days ago)
- Topics: heroku, python, rest-api, youtube-dl
- Language: Shell
- Homepage: https://github.com/jaimeMF/youtube-dl-api-server
- Size: 201 KB
- Stars: 66
- Watchers: 4
- Forks: 66
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# youtube-dl-api-server
A ready-for-Heroku [youtube-dl](http://rg3.github.io/youtube-dl/) [REST API server](https://github.com/jaimeMF/youtube-dl-api-server).## Deploying to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
### Manually
0. Ensure you have the [Heroku toolbelt](https://toolbelt.heroku.com) installed and set-up.
1. Clone this repo: `git clone https://github.com/iphoting/youtube-dl-api-server-heroku`.
2. Provision a Heroku app: `cd youtube-dl-api-server-heroku; heroku create `.
3. Push to deploy the app: `git push -u heroku master`.
4. Check its runtime logs: `heroku logs`, and status: `heroku ps`.
5. Your API server version is now available at: `https://.herokuapp.com/api/version`.
## Updating Python packages
0. Setup virtualenvwrapper and activate it. Install [pip-tools (>= 1.2)](https://github.com/nvie/pip-tools/) and [pipenv](https://github.com/pypa/pipenv): `pip install -U pip-tools pipenv`.
1. Update to the latest packages: `pip-compile --upgrade --generate-hashes ; pipenv lock`.
2. Commit changes: `git commit -m "Updated packages." requirements.txt Pipfile.lock`.
4. Push to deploy changes: `git push`.