https://github.com/captaincolonelfox/teletok
Telegram bot to download TikTok videos
https://github.com/captaincolonelfox/teletok
aiogram bot telegram telegram-bot tiktok
Last synced: about 1 year ago
JSON representation
Telegram bot to download TikTok videos
- Host: GitHub
- URL: https://github.com/captaincolonelfox/teletok
- Owner: captaincolonelfox
- License: mit
- Created: 2021-02-13T21:50:39.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-26T11:09:25.000Z (about 2 years ago)
- Last Synced: 2025-04-30T13:28:12.081Z (about 1 year ago)
- Topics: aiogram, bot, telegram, telegram-bot, tiktok
- Language: Python
- Homepage: https://t.me/TeleTockerBot
- Size: 67.4 KB
- Stars: 51
- Watchers: 1
- Forks: 49
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://t.me/TeleTockerBot)
# [TeleTok](https://t.me/TeleTockerBot): Telegram bot for TikTok
## Description
This bot will send you a video from a TikTok. Pretty simple.
Just share a link to the chat (no need to mention the bot)
## Thanks to
Built on top of [aiogram](https://github.com/aiogram/aiogram)
# Installation
## Env
(*REQUIRED*)
- `API_TOKEN` - Bot token from BotFather
(*OPTIONAL*)
- `ALLOWED_IDS` - _JSON int list_. Gives access only to specific user/chat id (default: `[]` (empty list) = all
users/chats)
- `REPLY_TO_MESSAGE` - _JSON Boolean_. Whether the bot should reply to source message or not (default: `true`)
- `WITH_CAPTIONS` - _JSON Boolean_. Whether the bot should include captions from TikTok in its message (default: `true`)
## Local
```bash
$ python3 -m venv venv
$ (venv) pip install -r requirements.txt
$ (venv) echo "API_TOKEN=foo:bar" >> .env
$ (venv) export $(cat .env)
$ (venv) python app
```
## Docker
```bash
$ docker build -t teletok .
$ docker run -e "API_TOKEN=foo:bar" teletok
```
## Docker Compose
```bash
$ echo "API_TOKEN=foo:bar" >> .env
$ docker compose up -d --build
```
# License
MIT