C203sa/ai-music-bot
0
AI Music Bot - Hugging Face Spaces
Features
- Smart multi-source music search (iTunes + YouTube)
- Album art display with track confirmation
- Arabic / English language support
- Professional inline keyboard menu
- High quality audio download (192kbps MP3)
- Live status and track metadata
Environment Variables
Setup on Hugging Face
- Create new Space (Docker type)
- Upload these files
- Go to Settings -> Variables & Secrets
- Add
BOT_TOKENandHF_SPACE_URL - Restart Space
Important Notes
- Free HF Spaces sleep after inactivity. For 24/7 bot, upgrade to Persistent Space or use webhook with external ping.
- This bot uses yt-dlp for audio extraction. Respect copyright laws.
- Customize icons/images by replacing artwork URLs or modifying
bot_core.py.
Commands
/start- Main menu with language selection- Send any song name - Search and play
