CoolFace
Apppublic

C203sa/ai-music-bot

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

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

VariableDescription
BOT_TOKENTelegram Bot Token from @BotFather
HF_SPACE_URLYour Space URL (e.g. https://username-space.hf.space)

Setup on Hugging Face

  1. 1.Create new Space (Docker type)
  2. 2.Upload these files
  3. 3.Go to Settings -> Variables & Secrets
  4. 4.Add BOT_TOKEN and HF_SPACE_URL
  5. 5.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