Music streaming platform
Melodius
Ad-free music streaming on the web, Windows, Linux and Android.
- Role
- Founder and sole developer
- Status
- Live
- Platforms
- Web, Windows, Linux, Android
- Built with
- Next.js, React, TypeScript

Overview
An ad-free music app that merges four catalogues into one search, plays through self-hosted audio nodes, and turns listening into stats, a monthly Sound Capsule and live Jams with friends.
What it does
One search, four catalogues
Results from Spotify, Apple Music, TIDAL and Deezer merge into a single list. The same recording is matched strictly, by ISRC or by strict title, artist and duration rules, so duplicates collapse instead of piling up.
Playback on its own infrastructure
Tracks play from Deezer, YouTube Music or SoundCloud copies through self-hosted NodeLink audio nodes, four of them across regions, behind a stream relay.
Jams
Friends join a Jam and hear the same second of the same track, kept in sync over WebSockets.
Shape the sound
A 10-band equalizer with presets, shared across the apps from one core package.
Stats and Sound Capsule
Listening time, top artists and tracks, plus a monthly Sound Capsule that sums up what you actually played.
Make it yours
Your own theme and background, Discord Rich Presence, taste exclusion, and saving or copying any playlist.
Screens
How it's built
- 01
One codebase family, four platforms
The web app runs on Next.js and React. Windows and Linux ship as a Tauri desktop app, and Android is built with Expo and React Native. All of them share a TypeScript core package.
- 02
Data and sessions
PostgreSQL through Drizzle ORM, Redis for hot paths, Auth.js for sign-in, and a separate WebSocket server and worker process beside the web app.
- 03
Audio pipeline
NodeLink nodes resolve and stream audio. The relay counts a play when a track is opened, not each range request a seek asks for.
Stack
- Next.js
- React
- TypeScript
- PostgreSQL
- Drizzle ORM
- Redis
- Auth.js
- WebSockets
- Tauri
- Rust
- Expo
- React Native
- NodeLink
Deep dives on Melodius
- Keeping friends in sync: clock offsets and drift correction for group listening3 min read
- Building a 10-band equalizer with the Web Audio API3 min read
- Shipping a Tauri 2 app on Linux: blank windows, keyrings and deep links3 min read
- Fixing React Native Android crashes: FlatList recycling, memory and R83 min read
- Building Daily Mixes without audio features3 min read
- Signed, expiring stream URLs with HMAC in Node.js3 min read
- Relaying an HLS audio stream as one seekable file3 min read
- An image proxy with edge caching and sized covers in Next.js3 min read
- When playback fails: retry, skip or wait3 min read
- Fixing a skip that played the previous song: a race in an audio player3 min read
- Recording each play exactly once with Redis SET NX3 min read
- Syncing settings across devices without leaking or losing changes3 min read
- Case-insensitive usernames with live availability checks in PostgreSQL3 min read
- Matching the same song across Spotify, Apple Music, TIDAL and Deezer3 min read
- Making a track start fast: mirrors, hedged requests and a stream relay4 min read
- Shipping one music app to the web, Windows, Linux and Android3 min read


