The iPod Classic, rebuilt for the streaming era.
Spotify and Apple Music in a pixel-perfect iPod Classic, complete with click wheel, games, and themes.
pnpm install
pnpm devVisit http://127.0.0.1:3000/ipod to start.
Use
127.0.0.1instead oflocalhost. Spotify's redirect URIs require it.
Create a .env.local file:
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
APPLE_DEVELOPER_TOKEN=your_apple_developer_token
SITE_URL=your_production_domain- Create an app in the Spotify Developer Dashboard
- Add
http://127.0.0.1:3000/ipodas a redirect URI (must be127.0.0.1, notlocalhost) - Copy your Client ID and Client Secret
- Join the Apple Developer Program
- Create a MusicKit identifier and generate a private key
- Create a developer token (JWT). See the Apple Music JWT Generator for help
Deployed on Cloudflare Workers via OpenNext.
pnpm build # Next.js + Serwist service worker
npx opennextjs-cloudflare build # Bundle for Cloudflare Workers
npx opennextjs-cloudflare deploy # Deploy to productionSet production secrets with npx wrangler secret put <NAME> for SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, APPLE_DEVELOPER_TOKEN, and SITE_URL.
Next.js, React, TypeScript, Styled Components, Motion.
MIT
