Skip to content
/ tg-bot Public

Telegram Bot Downloader, Torrent Client, Youtube, Tiktok, etc

Notifications You must be signed in to change notification settings

krol44/tg-bot

Repository files navigation

TgBot - Telegram bot

Telegram Bot Downloader, Torrent Client, Youtube, Tiktok, etc 🔥

Support

Torrent, youtube.com, tiktok.com, vk.com/video, twitch.tv/videos, twitch.tv/*****/clip, rutube.ru/video, coub.com/view, open.spotify.com/track, open.spotify.com/album and etc

Setup

  1. cd /home
  2. git clone https://github.com/krol44/tg-bot
  3. cd /home/tpb && mkdir storage
  4. mkdir storage/telegram-bot-api-data && mkdir storage/bot-data && mkdir storage/postgres-data
  5. nano .env.secrets
COMPOSE_PROJECT_NAME=tpb
DEV=false
BOT_DEBUG=false
STORAGE_PATH=/home/tpb
TELEGRAM_STAT=1
TELEGRAM_API_ID=0000000
TELEGRAM_API_HASH=aaaaa...
BOT_TOKEN=00000:AAAAAA....
POSTGRES_PASSWORD=demo_pass
CHAT_ID_CHANNEL_LOG=-000000
DOWNLOAD_LIMIT=30000000
WELCOME_VIDEO_ID=BAACAgIAA.....
  1. nano dc-without-vpn.yml
if you have Nvidia NVENC, you may uncomment
runtime: nvidia
  1. ./build-without-vpn

Info

TELEGRAM_API_ID, TELEGRAM_API_HASH
get tg api key - https://my.telegram.org/auth?to=apps
BOT_TOKEN - get from @BotFather
POSTGRES_PASSWORD - change password for postgresSQL
CHAT_ID_CHANNEL_LOG - for logs, who uses the bot
DOWNLOAD_LIMIT - speed download torrent
WELCOME_VIDEO_ID - tg file id, video hello when used command /start

About

Telegram Bot Downloader, Torrent Client, Youtube, Tiktok, etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages