r/coolgithubprojects • • 11m ago

wavhop: Open-source, E2EE (AES-256-GCM) Windows-to-Android media bridge over MQTT (replicates Spotify Connect for any desktop player, self-hostable with Docker)

https://wavhop.tech

I built wavhop to replicate Spotify Connect for any Windows media source (YouTube Music, VLC, browser tabs, etc.) without relying on local subnet discovery like mDNS, which breaks on Wi-Fi networks with client isolation.

How it works:

  • Windows (.NET 8 / WPF): Hooks into Windows SMTC and CoreAudio, encrypts playback state + 300×300 JPEG artwork locally, and ships as a per-user installer with an in-place auto-updater.
  • Android (Kotlin / Jetpack Compose): Foreground service using MediaSessionCompat (with multi-PC arbitration) and VolumeProviderCompat so physical phone volume buttons control Windows master volume. Smartwatches mirror it automatically.
  • Cloud Relay (Self-Hostable): Dockerized Mosquitto 2.x with the Dynamic Security plugin (per-device least-privilege ACLs), a FastAPI provisioning endpoint, and Caddy for automatic TLS. The whole stack runs on a free Oracle Cloud ARM VM (VM.Standard.A1.Flex), and the repo includes docker-compose.yml and setup scripts if you want to host your own relay.
  • Privacy: Pairing is done via QR code, which generates and exchanges the 256-bit AES-256-GCM key locally. The provisioning API and MQTT broker never see the key or plaintext metadata.

GitHub: https://github.com/mmaarij/wavhop

Site & Releases: https://wavhop.tech

Public Relay Status: https://wavhop.statuspage.me

Would love feedback on the architecture, security model, or any edge cases you run into.

1 Upvotes

0 comments sorted by