Swaymix
LiveFounder / engineer
swaymix.com ↗Next.js PWAExpoHonoBetter AuthDrizzlePostgreSQLDockerAWS LightsailAmplifyOpenAI
Problem
A personal music player without ads, with a catalog, the listener's own files, collaborative playlists, and mixes from taste signals.
What I built
- Home, Search, Library and AI tabs
- Catalog from Audius and Jamendo, plus the listener's Google Drive audio
- Magic-link, Apple and Google sign-in
- Cloud likes and collaborative playlists with invite links
- AI mixes using taste signals (OpenAI on the API)
Architecture
Next.js PWA and an Expo mobile client. Hono API on Node with Better Auth, Drizzle and PostgreSQL, Docker, and AWS Lightsail. Amplify config for the web app. API at api.swaymix.com.
Key decisions & trade-offs
- Audius, Jamendo and Google Drive as audio sources.
- Better Auth for magic-link, Apple and Google sign-in.
- OpenAI on the API for mixes from taste signals.
- Hono, Drizzle and PostgreSQL, with the web app on Amplify and the API on Lightsail.
Payments / AI
AI: OpenAI on the API, for mixes from taste signals.