A Ukrainian developer created a Telegram bot to download videos from social networks and deployed it on an old POCO X4 GT smartphone
Senior Unity Developer Mykhailo Khmaruk has developed his own Telegram bot that allows you to download videos, photo carousels, and audio in MP3 format from YouTube, Instagram, TikTok, and Facebook. To deploy the project, the programmer used his old POCO X4 GT smartphone instead of a full-fledged home server.
Senior Unity Developer Mykhailo Khmaruk has developed his own Telegram bot that allows you to download videos, photo carousels, and audio in MP3 format from YouTube, Instagram, TikTok, and Facebook. To deploy the project, the programmer used his old POCO X4 GT smartphone instead of a full-fledged home server.
According to the developer, the idea to create his own solution arose due to dissatisfaction with third-party bots, which over time either stopped working or overloaded users with intrusive advertising. The new tool is written in Python using the yt-dlp and ffmpeg libraries, supports up to five simultaneous downloads, has Ukrainian and English interfaces, and is also equipped with flood protection and an administrative panel for tracking the number of users and statistics.
"Since my wife didn't donate her old laptop to a home server, I found a replacement... for a server, of course! Parameters: 8 cores (4×2.85 GHz + 4×2.0 GHz), 8 GB of LPDDR5 RAM, UPS, 200 GB of storage, and a 6.6" IPS touch display. Someone may have read the rest and guessed - this is my old POCO X4 GT phone," said Mykhailo Khmaruk.
Choosing a smartphone as a server platform solved the problem of possible power and communication interruptions. The device's built-in battery acts as an uninterruptible power supply (UPS), and to prevent the battery from wearing out, the developer connected the phone to a low-power charger and limited constant charging.
“If Wi-Fi disappears, the bot queues your download and notifies you via mobile Internet that there is currently no Wi-Fi, so the download will resume when home Internet is restored,” the developer explains the mechanism of operation.
In addition, Mykhailo Khmaruk automated code updates — the system executes the git pull command and restarts the bot every four days. Currently, the developer has closed the project repository for public access.
The ReelRaccoon Telegram bot is available at the link .
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Напередодні вторгнення росії в Україну соціальні медіа слугували полем битви для держав і недержавних діячів, щоби поширювати конкуруючі наративи про війну та зображати поточний конфлікт у своїх власних інтересах. Видання Foreign Policy опублікувало великий аналітичний матеріал, як українці та росіяни використовують соціальні мережі, щоб давати інформацію про війну. Наводимо його адаптований переклад.
Telegram 19 червня запустив Premium-підписку. Скільки вона коштуватиме, які нові функції отримає підписник
Telegram 19 червня запустив Premium-підписку. Вона відкриває доступ до додаткових функцій месенджера. Користувачі платної версії зможуть завантажувати файли об'ємом до 4 ГБ та скачувати їх на максимальній швидкості, використовувати додаткові інструменти для керування чатами та автоматично трансформувати голосові повідомлення у текст.