A web-based music player application that mimics Spotify's interface and core functionality. This project allows users to browse, play, and manage music from various playlists.
- Music Playback: Play, pause, and control music playback
- Playlist Management: Browse and select from multiple music playlists
- Dynamic Playlists:
- Breathless
- Classic
- Dance Music
- Devotional
- Emotional
- Prime Bollywood
- Rap
- Yo Yo Honey Singh
- Responsive Design: Works seamlessly on different screen sizes
- User-Friendly Interface: Intuitive navigation and controls
- Song Information: Display song metadata from JSON files
- HTML5: Semantic markup structure
- CSS3: Styling with custom utilities
- JavaScript: Dynamic functionality and interactivity
- JSON: Song metadata storage
Spotify_Clone/
├── index.html # Main HTML file
├── script.js # JavaScript logic
├── style.css # Main stylesheet
├── utility.css # Utility CSS classes
├── img/ # Images and assets
└── songs/ # Music playlists directory
├── Breathless/
├── Classic/
├── Dance Music/
├── Devotional/
├── Emotional/
├── Prime Bollywood/
├── Rap/
└── Yo Yo Honey Singh/
└── info.json # Song metadata
- A modern web browser (Chrome, Firefox, Safari, Edge)
- No server setup required
-
Clone or download the repository
git clone <repository-url> cd Spotify_Clone
-
Open the project
- Simply open
index.htmlin your web browser - Or use a local server for better performance:
python -m http.server 8000 # or npx http-server
- Simply open
-
Navigate to
http://localhost:8000in your browser
- Browse Playlists: Select a playlist from the sidebar
- Play Music: Click on any song to start playing
- Controls: Use the player controls to:
- Play/Pause
- Next/Previous track
- Seek through the song
- Adjust volume
- Create a new folder in
songs/directory with your playlist name - Add an
info.jsonfile with song metadata:{ "title": "playlist_name", "description": "playlist_description" } - Add songs of your choice in that playlist (.mp3 only)
- Search functionality
- Favorites/Likes system
- Progress bar seeking
- Keyboard shortcuts
- Dark/Light theme toggle
- Audio visualization
- Ensure audio files exist in the song folders
- Check browser console for errors (F12)
- Verify JSON files have correct formatting
This project is open source and available under the MIT License.
Feel free to fork this project, make improvements, and submit pull requests!
Made By- Nityam Mishra
Email: nityamm2005@gmail.com
GitHub: nityamm-coder
Linkedin: nityam_mishra
