TypeScript
music-player
No description provided
- Commits
- 1
- Files
- 4
- Size
- 19.7 KB
- Langs
- 1
- Created
- Sep 23, 2025
- Last push
- 9 months ago
README.md
music
A minimal music player for Cloudflare R2-hosted MP3s. Built for smallweb.
Live: https://music.ejfox.com
Features
- Lists MP3s from R2 bucket
- Real-time audio visualizer
- Unicode waveform display (crowdsourced from clients)
- Keyboard shortcuts:
spaceplay/pause,nnext,pprev,sshuffle - Shareable track URLs
Setup
cp .env.example .env
# Edit .env with your R2 credentials
Environment Variables
| Variable | Description |
|---|---|
R2_ACCOUNT_ID | Cloudflare account ID |
R2_ACCESS_KEY_ID | R2 API access key |
R2_SECRET_ACCESS_KEY | R2 API secret key |
R2_BUCKET_NAME | R2 bucket name (default: ejfox-personal) |
Run
deno run --allow-net --allow-env --allow-read --allow-write main.ts
Or with smallweb, just drop in a folder and set env vars in .env.