A minimal, offline-first PWA music player inspired by Spotify.
- Offline-first PWA (service worker caches app shell and audio)
- Auto-detects tracks from
musics/ - Local file import (Chrome File System Access API)
- URL import for direct audio files (not supported on Cloudflare Workers)
- Playlists and queue (saved in localStorage)
- Shuffle and loop
- Clean, responsive UI
bun server.tsThen open:
http://localhost:3000/
This project is configured for Cloudflare Workers with Assets.
- Install Wrangler
- From the project root:
wrangler deployThis will publish the app and all static assets (including musics/).
- LocalStorage is size-limited; large local files may be session-only.
- URL import accepts direct audio URLs only in local mode.
This project is intended for educational purposes only.