Skip to content

Telegram bot made using telegraf framework for downloading from real-debrid api.

Notifications You must be signed in to change notification settings

Ashkumar7/raizel-telegraf-bot

Repository files navigation

raizel-telegraf-bot

Telegram bot made using telegraf framework for downloading from real-debrid api.

Environment variables

create a .env.local in root directory and set required value:-

TELEGRAM_BOT_TOKEN=
REAL_DEBRID_API_TOKEN=
POSTGRES_URL=

# If getting error with pm2 --no-daemon
PIDUSAGE_USE_PS=true

# Required if 'ip_not_allowed'
PROXY_HOST=
PROXY_PORT=
PROXY_USERNAME=
PROXY_PASSWORD=

Database

Create a migration file using:-

npm run migration:generate

Run migration using:-

npm run migration:migrate

Push migration to database using:-

npm run migration:push

Starting app

For Local development(nodemon) :-

npm run dev

For Production(pm2)

npm run start

About

Telegram bot made using telegraf framework for downloading from real-debrid api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published