Skip to content

Latest commit

 

History

History
executable file
·
45 lines (39 loc) · 1.35 KB

README.md

File metadata and controls

executable file
·
45 lines (39 loc) · 1.35 KB

tikvidbot

A Telegram bot to fetch TikTok videos locally

A bot for what?

tikvidbot is a bot allows you to save TikTok videos locally. To get a video, just share it's URL to the chat and it'll send the file.

Tech stack

The bot is written in Node.JS, relies on telegraf to consume Telegram's Bot API, loves got for fetching video pages and streaming videos and jsdom for parsing and interacting with them.

How to run

  1. Clone the repo
    git clone this repo
    
  2. Install packages
    yarn
    
  3. Run
    yarn dev
    

Config vars

Block Var Required
telegram token Yes
telegram username No
http agent Yes
mysql host No
mysql database No
mysql user No
mysql password No

License

The code in this repo and used modules are open-sourced software licensed under the MIT license.