Giter Club home page Giter Club logo

youtubefeeds's Introduction

YouTubeFeeds - YouTube Notifications

Get notifications in direct your telegram channel or group or DM once a new video is uploaded by your favourite YouTube creator(s)!

Deploying

  1. Fork (and star) the repository.
  2. Head on to deno deploy, and connect with your GitHub.
  3. Search for "YouTubeFeeds", choose the deno branch, and select automatic deployments, and the file "serverless.ts".
  4. Add the variables BOT_TOKEN, OWNERS, REDIS_URI, REDIS_PASSWORD and hit "Link".
  5. Once deployed, copy the deployment URL, and open https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=<copied_URL>/<BOT_TOKEN> (without < and >) and hit enter.

You would get a message saying webhook was set. Voila, the bot is up and running!

Using the bot

  • Open a telegram chat with the bot, and send /start to check if it's working.
  • Use the command /add to add a youtube channel to your feed. You can add by using the old youtube channelId links (/add https://www.youtube.com/channel/UCykFIBKkj5ce3SggtaYSwtQ) as well as the new channel username feature (/add @xditya).
  • Use /list to view and remove added channels from the chat to stop receiving notifications.

What's New?

Other than the bot supporting the new YouTube username feature, one deployed bot can now be used in multiple telegram chats to get notifications from multiple YouTube channels (unlike what it was before).

Support Me

Connect with me

youtubefeeds's People

Contributors

xditya 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.