Skip to content

GuardianAngelWw/telegram-tiktok-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiktok Telegram Bot

Bot that downloads tiktok videos (via tikwm) to telegram. Working on Cloudflare Workers.

Installation

Install bot on already existing environment. You can install your bot to already existing environment by executing /addbot command with token in @tiktok_chat_yep_bot.
For example: /addbot 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11.
Warning: you will not be able to use the bot for your own purposes until you uninstall it: /delbot 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
  1. Create cloudflare account
  2. Install Wrangler
  3. Clone repository
git clone https://github.com/RuslanUC/telegram-tiktok-bot
cd telegram-tiktok-bot
  1. (Optional) Change SECRET_KEY in wrangler.toml
  2. Upload bot to CF
wrangler publish
  1. Create telegram bot
  2. Set bot webhook. Replace <BOT_TOKEN> with your bot token, <WORKER_URL> with CF worker url, <SECRET_KEY> with secret key in this link and open it: https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=https://<WORKER_URL>/<BOT_TOKEN>/tt_bot&allowed_updates=[%22message%22]&secret_token=<SECRET_KEY>
  3. Done! Now you can send TikTok link to your bot, and it should respond with video

About

Bot that downloads tiktok videos to telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%