A full-featured Spotify-inspired music player built with Flask, HTML/CSS/JS, and voice commands.
Galaxify lets you upload, stream, search, and play songs with a glowing UI and speech input powered by Python.
Galaxify was designed as a self-hosted, customizable alternative to Spotify. It supports local MP3 uploads, voice-controlled playback, and a stunning dark-themed UI β perfect for personal use, showcases, and client demos.
- π§ Voice Commands β Search and play songs using speech (Python
speech_recognition) - β¬οΈ Drag & Drop Uploads β Upload MP3 files through UI
- π Auto Audio Player β Songs play instantly with waveform UI
- π Stunning UI β Galactic, responsive design inspired by Spotify Dark Mode
- π§Ύ Song Search β Search tracks by name, artist, or genre
- π User Auth β Basic login and session system
| Layer | Technologies Used |
|---|---|
| Backend | Flask, Flask-Login, SQLite |
| Frontend | HTML, CSS, JavaScript |
| Audio | HTML5 <audio>, pyttsx3 (voice output) |
| Voice | SpeechRecognition, pyttsx3, pyaudio |
- π Play MP3 songs with waveform-style player
- π€ Voice input to search songs using
speech_recognition - π§ AI speech response using
pyttsx3 - π Upload and manage songs
- π§ͺ Search functionality with instant results
- π« Glowing UI with galactic themes
- π Simple login/signup (Flask-Login)
Galaxify/
β
βββ app.py # Flask backend
βββ templates/ # HTML pages (home, login, upload)
β βββ index.html
β βββ login.html
β βββ upload.html
β
βββ static/
β βββ css/
β βββ js/
β βββ songs/ # Uploaded MP3 files
β
βββ voice/ # Voice modules
β βββ speech\_recognition.py
β βββ pyttsx3\_talker.py
β
βββ config.json # App secrets (optional)
βββ database.db # SQLite DB for user/songs
βββ requirements.txt # Python dependencies
βββ README.md # This file
# 1. Clone this repo
git clone https://github.com/Ahmadleo-tech/Galaxify.git
cd Galaxify
# 2. Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# 3. Install Python dependencies
pip install -r requirements.txt
# 4. Run the app
python app.py
# Go to: http://127.0.0.1:5000/To try Galaxify instantly:
- Add a few
.mp3songs to/static/songs/ - Then go to the home page and play!
π§ Hosted demo coming soon π₯ Demo video will be uploaded hereβ¦
Ahmad Leo
π GitHub Profile
π« Contact details in profile
MIT License β Free for personal and educational use
Would you also like me to generate:
- β
`requirements.txt` for Galaxify?
- β
`config.json` template?
- β
`.gitignore` file?
Let me know, and Iβll send those files instantly.