- π΅ Upload and play MP3/WAV audio files
- π¨ Real-time audio visualization with wave effects
- π§ Built-in equalizer with presets
- π± Responsive design with mini-player
- π User authentication and admin verification
- π Search functionality
- π Queue management
- π¬ Custom background support (images/videos)
- π Direct upload from YouTube/SoundCloud links
- ποΈ Volume boost and audio enhancement
ServerMusicSong/
βββ DownloadWithLinkTool/ # YouTube/SoundCloud download utility
β βββ tool.py
βββ RunAndUpdateLink/ # Cloudflare tunnel management
β βββ cloudflare_url.txt
β βββ update_cloudflare_url.py
βββ Verify Users/ # User verification tools
β βββ verify_tool.py
β βββ readme.txt
βββ static/ # Frontend assets
β βββ dashboard.js
β βββ index.html
β βββ styles/
βββ music/ # Music storage
βββ thumbnails/ # Track thumbnails
βββ backgrounds/ # Custom backgrounds
βββ randomthumbnail/ # Default thumbnails
βββ avatars/ # User avatars
βββ project_upload/ # Project files
βββ app.py # Main server application
βββ requirements.txt
βββ README.md
- Python 3.8+
- FFmpeg
- Cloudflare CLI
- Node.js (for development)
# Install Python 3.8+ from python.org
# Install virtualenv
pip install virtualenv
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# Linux/Mac:
source venv/bin/activate
# Install required libraries
pip install -r requirements.txt- Windows:
- Download FFmpeg from https://ffmpeg.org/download.html
- Extract and add the path to PATH
- Verify with command:
ffmpeg -version
- Windows:
- Download Cloudflared from https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation
- Add the path to PATH
- Verify:
cloudflared -v
- Create .env file:
# .env
JWT_SECRET_KEY=your-secret-key
FLASK_PORT=6001
CORS_ORIGINS=http://localhost:6001,https://your-cloudflare-url.com- Create necessary directories:
mkdir music thumbnails backgrounds randomthumbnail avatars project_upload- SSL Configuration (optional):
- Place cert.pem and key.pem in the root directory
- Update paths in app.py
- Run Flask server:
python app.py- Start Cloudflare tunnel:
python RunAndUpdateLink/update_cloudflare_url.py- Access:
- Local: http://localhost:6001
- Public: URL in RunAndUpdateLink/cloudflare_url.txt
- Username: admin
- Password: admin_password
# Verify new users
python "Verify Users/verify_tool.py"- Change admin password:
cd HashCreate
python create_hash.py- Music Loading Configuration:
- Place MP3/WAV music files in
music/directory - Place thumbnail images in
thumbnails/ - Place background images in
backgrounds/ - Place default thumbnails in
randomthumbnail/
- Download music from YouTube/SoundCloud:
cd DownloadWithLinkTool
python tool.py- FFmpeg Error:
pip install -U yt-dlp- SSL Error:
- Check cert.pem and key.pem
- Update paths in app.py
- CORS Error:
- Check CORS_ORIGINS in .env
- Ensure Cloudflare URL is correct
- Upload Error:
- Check directory permissions
- Ensure file names have no special characters
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with β€οΈPython, Flask, CustomTkinter, SQLite3, JWT Extended, mutagen, yt-dlp, FFmpeg, Deezerβs open-source Spleeter AI model, Cloudflare Tunnel, Optional support for ngrok
