AYNT Bot is a Telegram bot designed to help users easily download videos from various social media platforms such as YouTube, TikTok, Instagram, and Twitter.
AYNT Bot is powered by the Telegraf library and allows users to send video URLs from supported platforms to the bot. The bot then downloads the videos from these URLs and sends them back to the user in telegram. The supported platforms include YouTube, TikTok, Instagram, and Twitter.
Make sure you have Node.js installed on your system. Install all requirements using npm:
npm i
Create a .env file in the root directory and add your bot token:
BOT_TOKEN=your_bot_token_here
If you're running a local server to increase limit from 50 MB to 2 GB, also add the local server URL:
LOCAL_SERVER=http://127.0.0.1:8081
How to use local telegram bot api: https://github.com/tdlib/telegram-bot-api
npm start
Interact with the bot in your Telegram app. Start a chat with the bot and send it URLs from supported platforms. The bot will download and send back the videos.
/start
- Initiates a conversation with the bot./help
- Displays a help message with information on how to use the bot.
AYNT Bot is open-source software licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.