Skip to content
A ready-for-Heroku youtube-dl REST API server
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Enabled pipenv / pip-tools dep management support. Jan 23, 2017
.pre-commit-config.yaml Updated packages. Jan 28, 2018
Pipfile Update python to v3 and packages. Apr 22, 2019
Pipfile.lock
Procfile Let WEB_CONCURRENCY env var decide the number of workers. Mar 1, 2015
README.md Added Heroku deploy button to Readme. Feb 17, 2017
app.json Enable PhamtomJS Jul 9, 2018
requirements.in Updated packages. Jul 31, 2016
requirements.txt
update-pip-tools.sh Enabled pre-commit and one-time fixup. Oct 12, 2017

README.md

youtube-dl-api-server

A ready-for-Heroku youtube-dl REST API server.

Deploying to Heroku

Deploy

Manually

  1. Ensure you have the Heroku toolbelt installed and set-up.

  2. Clone this repo: git clone https://github.com/iphoting/youtube-dl-api-server-heroku.

  3. Provision a Heroku app: cd youtube-dl-api-server-heroku; heroku create <your-app-name>.

  4. Push to deploy the app: git push -u heroku master.

  5. Check its runtime logs: heroku logs, and status: heroku ps.

  6. Your API server version is now available at: https://<your-app-name>.herokuapp.com/api/version.

Updating Python packages

  1. Setup virtualenvwrapper and activate it. Install pip-tools (>= 1.2): pip install -U pip-tools.

  2. Update to the latest packages: pip-compile --upgrade.

  3. Clear the environment and reload packages: pip-sync.

  4. Commit changes: git commit -m "Updated packages." requirements.txt.

  5. Push to deploy changes: git push.

You can’t perform that action at this time.