Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Borodutch/VideoDownloadBot
Telegram bot to download videos from URLs
https://github.com/Borodutch/VideoDownloadBot
Last synced: 3 months ago
JSON representation
Telegram bot to download videos from URLs
- Host: GitHub
- URL: https://github.com/Borodutch/VideoDownloadBot
- Owner: Borodutch
- License: mit
- Created: 2021-11-20T18:39:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T22:26:12.000Z (6 months ago)
- Last Synced: 2024-05-09T23:30:07.024Z (6 months ago)
- Language: TypeScript
- Homepage: https://t.me/VideoDownloadBot
- Size: 1.99 MB
- Stars: 99
- Watchers: 4
- Forks: 43
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-grammY - Borodutch/VideoDownloadBot - Download videos from the Internet to Telegram. (Bots)
README
# [@VideoDownloadBot](https://t.me/VideoDownloadBot) code
Bot that downloads videos and uploads the to Telegram. Originally developed by [MaxiFilippov](https://github.com/MaxiFilippov).
# Installation and local launch
1. Clone this repo: `git clone https://github.com/Borodutch/VideoDownloadBot`
2. Launch the [mongo database](https://www.mongodb.com/) 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](https://github.com/tdlib/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
- `ENVIRONMENT` — `development` 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](https://t.me/VideoDownloadBot) automagically with [ci-ninja](https://github.com/backmeupplz/ci-ninja).