A sleek, futuristic music player built entirely with HTML, CSS, and Vanilla JavaScript.
Haven lets you browse and play your local MP3 collection directly from your browser using the File System Access API. No installation, accounts, or uploads required.
- Open any folder containing MP3 files
- Recursive folder scanning
- Automatic song detection
- Search songs instantly
- Display song duration
- Browse by folder
- Play / Pause
- Previous / Next
- Seek bar
- Volume control
- Mute / Unmute
- Shuffle
- Repeat One
- Repeat All
- Favorites
- Recently Played
- Shuffle entire library
- Search songs
- Glassmorphism design
- Animated vinyl records
- Dynamic colors
- Animated particle background
- Equalizer animation
- Toast notifications
- Smooth transitions
- Responsive layout
Automatically remembers:
- Favorites
- Recently Played
- Volume
- Shuffle mode
- Repeat mode
- Mute state
using your browser's Local Storage.
Haven/
β
βββ index.html
βββ README.md
Everything is contained inside a single HTML file.
No frameworks.
No external JavaScript files.
No installation required.
-
Open index.html in a modern Chromium-based browser such as:
- Google Chrome
- Microsoft Edge
- Brave
- Opera
-
Click Open Folder.
-
Select a folder containing your MP3 files.
-
Haven will automatically:
- Scan all folders
- Detect MP3 files
- Build your music library
- Load song durations
-
Enjoy your music!
| Key | Action |
|---|---|
| Space | Play / Pause |
| β | Previous Song |
| β | Next Song |
| β | Increase Volume |
| β | Decrease Volume |
- HTML5
- CSS3
- Vanilla JavaScript (ES6)
- HTML Audio API
- File System Access API
- Local Storage API
- Single HTML file
- Lightweight
- Fast
- Offline capable
- Responsive
- Privacy friendly
- Modern UI
- Local music playback
| Browser | Support |
|---|---|
| Google Chrome | β |
| Microsoft Edge | β |
| Brave | β |
| Opera | β |
| Firefox | β Limited |
| Safari | β Limited |
Haven never uploads your music.
All files stay on your computer and are only accessed after you choose a folder.
No cloud services.
No tracking.
No accounts.
You can add screenshots here later.
screenshots/
βββ home.png
βββ library.png
βββ player.png
βββ mobile.png
- Playlist support
- Album artwork
- Lyrics support
- Audio visualizer
- Theme customization
- Equalizer
- FLAC & WAV support
- Drag-and-drop folder loading
Free to use for personal and educational purposes.
Your local music. Beautifully played.