Coder Social home page Coder Social logo

youtubeserver's Introduction

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.

youtubeserver's People

Contributors

dmhacker avatar andrewdavisdev avatar prashant4199 avatar loctruong96 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.