Giter VIP home page Giter VIP logo

telegramvideodownloadbot's Introduction

Bot that downloads videos and uploads the to Telegram. Originally developed by MaxiFilippov.

Installation and local launch

  1. Clone this repo: git clone https://github.com/Borodutch/VideoDownloadBot
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Run yarn in the root folder
  5. Run yarn develop

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Requirements

  • You can run telegram-bot-api locally to increase the limits
  • Use .netrc for the credentials
  • Or you can add cookies to the cookie file in the root of this repository

Environment variables

  • TOKEN — Telegram bot token
  • MONGO — URL of the mongo database
  • ENVIRONMENTdevelopment or production
  • ADMIN_ID — Telegram ID of the user to get error reports
  • BOT_API_URL — URL of the bot API (defaults to https://api.telegram.org)

Also, please, consider looking at .env.sample.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!

CD

main branch gets deployed to @VideoDownloadBot automagically with ci-ninja.

telegramvideodownloadbot's People

Contributors

backmeupplz avatar semion120 avatar sodapng avatar sadykhzadeh avatar knorpelsenf avatar upacyxou 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.