A Rust-based Telegram bot that converts YouTube videos to MP3 and provides AI responses using Google's Gemini.
- 🎵 Convert YouTube videos to MP3
- 🤖 AI-powered responses using Gemini 2.0 Flash
- ⚡ Fast conversion via RapidAPI
- 🔒 Secure file handling with temporary storage
- 🔄 Real-time status updates
- Rust (latest stable version)
- Cargo
- Telegram Bot Token from @BotFather
- RapidAPI Key
- Google Gemini API Key
git clone https://github.com/RafaelPil/YT-MP3-Gemini-Bot.git
cd telegram-mp3-botTELOXIDE_TOKEN=your_telegram_bot_token
RAPIDAPI_KEY=your_rapidapi_key
RAPIDAPI_USER=your_rapidapi_username
GEMINI_API_KEY=your_gemini_api_keycargo build --release
cargo run- 404 Errors: Verify your RapidAPI credentials
- Conversion Failures: Check your API quota
- Bot Not Responding: Validate all environment variables
- For issues, please open an issue.
- This project is for educational purposes only.
