https://github.com/sxwebdev/downloaderbot
This bot downloads media files from Instagram and YouTube and uploads them to the telegram bot
https://github.com/sxwebdev/downloaderbot
Last synced: 3 months ago
JSON representation
This bot downloads media files from Instagram and YouTube and uploads them to the telegram bot
- Host: GitHub
- URL: https://github.com/sxwebdev/downloaderbot
- Owner: sxwebdev
- Created: 2023-12-06T18:05:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T20:25:02.000Z (12 months ago)
- Last Synced: 2025-04-23T20:35:44.722Z (12 months ago)
- Language: Go
- Homepage: https://t.me/mxsaverbot
- Size: 357 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Downloader bot
This bot downloads media files from Instagram and YouTube and uploads them to the telegram bot
Try to chek it: [@mxsaverbot](https://t.me/mxsaverbot)
## Environment variables
Environment variables are [here](https://github.com/sxwebdev/downloaderbot/blob/master/ENVS.md)
### Required environment variables
```bash
ENV_CI=local # dev / stage / prod
REDIS_ADDR=localhost:6379 # redis server address
TELEGRAM_BOT_API_TOKEN= # your telegram bot api token
S3_ACCESS_ID=
S3_SECRET_KEY=
S3_REGION=en-1
S3_ENDPOINT=http://localhost:9050
S3_BUCKET_NAME=downloaderbot
S3_BASE_URL=
```
## TODO
- [x] GRPC api
- [x] Download photos from instagram
- [x] Download videos from instagram
- [x] Download reels from instagram
- [x] Download from youtube
- [x] Telegram bot
- [x] Telegram inline bot
- [x] Task manager for scheduling jobs
- [x] Rate limiter for requests
- [x] Dockerfile
- [x] Docker compose
- [x] S3 File storage (used for inline bot)
- [x] Proxy server for youtube filelinks
```bash
# start service
make start
# or you can use autoreload while developing
make watch
```