[go: up one dir, main page]

Skip to content
kōan
The kōan desktop app on a record's page, beside Now Playing on an iPhone

kōan

Your player, your server, your remote and your EQ, on every device you listen on.

One Rust engine runs on macOS, Linux, iPhone, Apple TV, Android, a terminal and a server. It plays folders on your computer, a kōan server, or any OpenSubsonic server such as Navidrome.

Download for Mac iPhone and Apple TV Linux, Android, terminal, server Try the demo

It's a music player and server, for local collections and remote ones (anything OpenSubsonic). Remote libraries sit behind a fairly aggressive local cache. It handles multi-terabyte libraries with ease and has all the core audio features you'd want, like gapless and bit-perfect output (where the system allows). It's built from 25 years of messing about with music, being annoyed with pretty much everything, and wanting my dream application.

The idea is to be fully compatible with the existing ecosystem while bringing the decent UX and modern ideas that professionally made streaming services have. It started as a little cross-platform CLI and TUI app on a Rust core. Now there's a native desktop app for macOS and Linux (no Electron) that links that core directly, iOS and Apple TV apps, an Android app, and a server. The UX takes what I like about Apple Music and fb2k and fixes the things I thought were dumb. The point is to do the basics properly before adding features, and I'm really proud of it.

I wanted UX that makes it easy as hell to do what you want, while staying SUPER low on resources (and now battery). And I wanted the stuff you don't really see in the self-hosted space: device control and handoff, EQ profiles and convolution, DLNA output (with EQ!), and a cache built for a commuter who often has no signal, so you never have to remember to download your whole queue first. The best of every world, why not?

My philosophy is that you should lead with your opinions, but let people customise and tweak them to match theirs.

Because it grew organically, and I've insisted on staying compatible with OpenSubsonic, every part works on its own. You can use the macOS app with Navidrome. You can use the server with Arpeggi. Or you can use kōan all the way down and get the non-standard (sorry) features such as remote control. I think a shared standard like OpenSubsonic is incredibly important so everyone plays nicely together, but it shouldn't stop us experimenting to compete with how well the professional streaming platforms integrate.

One thing I've noticed: when you mix self-hosted apps with proprietary tech, say AirPlay from the fantastically solid play:Sub, you're treated as a second-class citizen. The audio has to stream over the wire from your phone, which is laggy. With kōan's remote features, the device you send it to plays its own copy.

I did use AI-assisted coding for this project. I've been building fairly high-quality software for a loooong time (decades) before AI existed, and I'd like to think the decisions reflect that rather than vibing slop. I probably could have written it myself, but I wanted to step back and be more of an architect, technical lead and product owner than the person typing out the code, as I'm just one person.

If it gets traction I'll happily look at more platforms like Android, but I'm already out $99 for an Apple Developer account, so I'm not shelling out for an Android phone just yet. There IS an APK on GitHub releases that I've got my mates to test sporadically, and it should work decently, however it will lag behind iOS as I can't give it the same amount of TLC. Also apparently you need an actual Android device to sign up to the Play Console etc so I can't release it on the store yet.

— @radiosilence

Your player

The desktop app runs on macOS and Linux, and the same app runs on iPhone. It is drawn with GPUI, the GPU framework built for the Zed editor, and links the audio engine directly.

The parts that move are shaders: the colour wash from the record's sleeve, the playing bars, the seek bar, the lyrics and the answer to a press. They run at the display's refresh rate, full screen on a 4K display holds 120 fps, and nothing is drawn while nothing moves.

The album grid in the desktop app
The queue in the desktop app, grouped by record

New in the GPUI apps

The rest is in the changelog.

Your server

The desktop app can serve its own library. Choose Shares its library in Settings and a QR code signs your phone in, with nothing else to install. Sharing your computer.

On a machine that stays on, run koan --headless or the container: a web UI with gapless playback, public share links, the OpenSubsonic API and MCP for assistants. It replaces Navidrome: how to move.

Inviting someone is one link or QR code, which signs a device in with a key of its own. An account can turn on two-step sign-in, with an authenticator app or a security key, and a passkey signs in on its own, with no password. Two-step sign-in.

Each part works alone: kōan's apps play from Navidrome, and Play:Sub or any other Subsonic app plays from a kōan server.

A kōan server's web UI: the album grid
Settings in the desktop app: this computer sharing its library

Your remote

Any kōan app controls any other, directly on the same network or from anywhere through a kōan server. The phone is the remote for the desktop, and the desktop for the Apple TV. Move here brings the queue to the device in your hand, and each device plays its own copy of the music. Devices.

UPnP amplifiers get the original file. An assistant can drive it too: the server speaks MCP with its own sign-in, and nothing reached through it can move, rename or delete a file. MCP.

Now Playing on Apple TV: the sleeve, the track and what comes next
The terminal UI's Now playing page: the cover, signal path, meters, spectrum and lyrics

Your EQ

A correction belongs to an output, so plugging in the headphones selects theirs. A device with nothing chosen runs nothing and plays untouched.

AutoEQ finds a headphone by name. Equalizer APO, CamillaDSP, REW and Roon filters import as they are, with convolution on the phone as on the desktop. Bands are edited on a response graph, an EQ can follow you to every device on a kōan server, and a UPnP amp can be sent a processed stream. EQ and convolution.

The EQ page in the desktop app: a device's chain and the response graph
The EQ screen on iPhone

On every device

To look around first, sign in to demo.koan.rocks as demo, password demo, from any of the apps or a browser. Getting started covers the first run.

Not there yet: Windows, tag editing, crossfade, CarPlay, Chromecast, Sonos. How kōan compares.