Skip to content

baengel/dmhacker-youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dmhacker-youtube

This contains a gateway for my alexa-youtube-skill as well as a web-based, Youtube-specific proxy.

Setup Process

  1. Follow this blog post to obtain a YouTube API key. Save it; it will come in use later.
  2. Fork this repository. Make sure your branch is up-to-date with master.
  3. Now, go to https://heroku.com and create an account (or log in, if you already have an account).
  4. On your dashboard, click on "New" -> "Create new app"
  5. Give your app a name such as "{{{YOUR_USERNAME}}}-youtube" (substitute your username instead of {{{YOUR_USERNAME}}}) and select a region for deployment.
  6. Go to the Deploy section on your new app's dashboard.
  7. Under "Deployment Method", select the GitHub option. You should be prompted to authorize Heroku's usage of your GitHub account information.
  8. Under "Connect to GitHub", make sure your account is selected and type in "dmhacker-youtube" for the repository to search for.
  9. If you correctly forked this repository and typed in the repository name correctly, this should show up as an option to connect to. Click on "Connect".
  10. Now, go to the Settings section on your app's dashboard.
  11. Under "Config Variables", click on "Reveal Config Vars" and then enter in the following key-value pair(s):
Key Value
YOUTUBE_API_KEY the YouTube API key you generated earlier
  1. Next, under "Buildpacks", click on "Add buildpack". When prompted, copy-paste this link into the input section: https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
  2. Now, you're ready to deploy! Go back to the Deploy section.
  3. Scroll to the bottom, and under "Manual deploy", click on "Deploy Branch".
  4. If you get a "Your app was successfully deployed", congratulations, you are done, and your app should be running!
  5. To verify, open up https://{{{YOUR_APP_NAME}}}.herokuapp.com in a new tab and see if it returns a correctly formed landing page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published