Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak

Asynchronous Telegram bot for downloading media from TikTok

Key functionality
Downloading media (images/videos). The bot accepts a link, processes it in the background, and sends the user a clean video or images/image.

Mandatory subscription. The built-in access validation module automatically checks the user's subscription to the target Telegram channel before delivering content.

Video caching. Upon the first "entry" of a video link from TikTok, the bot stores it in the database along with the video_id in Telegram. On the second "entry" of the same link, the bot will not waste resources on downloading the video again, but will simply send the video by video_id from Telegram.

Technical stack and architecture
Python 3.10+ and aiogram 3.x — a fully asynchronous framework that provides parallel processing of thousands of requests without blocking the main thread (Event Loop).

PostgreSQL and asyncpg — using a relational database with an asynchronous connection pool for instant operation with structured data under high load.

yt-dlp — a powerful engine for parsing and stable extraction of direct media streams.

Security — the project configuration is completely isolated through environment variables in the .env file.

Additional features and customization according to the specifications
This project is a flexible base and can be quickly adapted to the individual business tasks of the client. For an additional fee, functionality can be expanded:

Admin panel with broadcasting function. Integration of secure asynchronous broadcasting (text, photo, video) across the entire user base without the risk of blocking the bot, as well as providing current statistics on new users and the number of downloads.

Integration with cloud storage (S3). The ability to automatically duplicate and back up downloaded videos to the cloud or a private archive.

Expansion of content sources. Adding support for downloading content from Instagram Reels, YouTube Shorts, X (Twitter), sound from TikTok based on the current engine.
Work details
Budget 178 USD
Added 10 June
52 views
Freelancer
Nikita Sitar
Ukraine Kyiv
No reviews

Available for hire Available for hire
On the service 4 years