Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krol44/tg-bot
Telegram Bot Downloader, Torrent Client, Youtube, Tiktok, etc
https://github.com/krol44/tg-bot
Last synced: about 2 months ago
JSON representation
Telegram Bot Downloader, Torrent Client, Youtube, Tiktok, etc
- Host: GitHub
- URL: https://github.com/krol44/tg-bot
- Owner: krol44
- Created: 2023-03-05T17:22:04.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T09:44:07.000Z (almost 1 year ago)
- Last Synced: 2024-02-11T10:30:40.249Z (almost 1 year ago)
- Language: Go
- Homepage:
- Size: 52.8 MB
- Stars: 14
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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.....
```
6. nano dc-without-vpn.yml
```
if you have Nvidia NVENC, you may uncomment
runtime: nvidia
```
7. ./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
```