Telegram bot to download videos from URLs
https://t.me/VideoDownloadBot
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| .vscode | ||
| .yarn | ||
| locales | ||
| src | ||
| .env.sample | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierrc.json | ||
| .yarnrc.yml | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
@VideoDownloadBot code
Bot that downloads videos and uploads the to Telegram. Originally developed by MaxiFilippov.
Installation and local launch
- Clone this repo:
git clone https://github.com/Borodutch/VideoDownloadBot - Launch the mongo database locally
- Create
.envwith the environment variables listed below - Run
yarnin the root folder - 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
.netrcfor the credentials - Or you can add cookies to the
cookiefile in the root of this repository
Environment variables
TOKEN— Telegram bot tokenMONGO— URL of the mongo databaseENVIRONMENT—developmentorproductionADMIN_ID— Telegram ID of the user to get error reportsBOT_API_URL— URL of the bot API (defaults tohttps://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.