Skip to content
eftpmcPublic

Repository files navigation

Melodari logo

Melodari

Your Spotify and YouTube Music playlists, connected in one place. Browse your library, filter by platform, and discover what your friends are listening to.

  • Connect Google and Spotify accounts.
  • View playlists and tracks together, with matching playlist titles combined.
  • Add friends, explore their playlists, and customize your profile and theme.

Built with Next.js, TypeScript, Supabase, Tailwind CSS, and daisyUI.

Run locally

You'll need Node.js and npm, a Supabase project, and Google and Spotify OAuth credentials. Enable the YouTube Data API for your Google project.

Create .env.local in the project root:

NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:3000/callback-google
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
SPOTIFY_REDIRECT_URI=http://localhost:3000/callback-spotify

Register the corresponding callback URL with each OAuth provider. Supabase must have the profiles and friend_requests tables expected by utils/supabase/operations.ts; database migrations are not included in this repository.

npm ci
npm run dev

Open localhost:3000, sign in with Google, then connect Spotify in Settings.

Other commands: npm run build creates a production build, npm start serves it, and npm run lint checks the code.

Used by

Contributors

Languages