Skip to content

About

Sonara is an open-source, cross-platform music client for Android, Windows, macOS and Linux, featuring a premium Apple Music-inspired UI, lossless audio, Automix, synced lyrics and collaborative playlists.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

47 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

1,950 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Sonara on phones: Home in Vice, word-synced lyrics, Home, Now Playing and Home in Winter

Sonara

Multiplatform Music Client with Native Desktop, Collaborative Playlists & Lossless Audio

Android · Android Auto · Android TV · Wear OS · macOS · Windows · Linux · Web


Latest release License Downloads


Overview · From BitChord · Install · Collaborative Playlists · Build from Source · Backend · Signing & Releases · Troubleshooting · Credits

Note

Sonara is the new name of BitChord PlusPC. It updates over an existing BitChord PlusPC install without losing anything. See From BitChord to Sonara.

Important

Sonara is an independent, GPLv3-licensed open-source audio client. It is not affiliated with, endorsed by, or connected to YouTube, Google, Apple, or Spotify.




Home in the Sonara theme
Sonara app icon
Sonara
the original
Home in the Vice theme
Vice app icon
Vice
neon dusk
Home in the Doom theme
Doom app icon
Doom
cold steel
Home in the Winter theme
Winter app icon
Winter
a live aurora
Home in the Space theme
Space app icon
Space
a ray-traced black hole

Real screenshots from a Redmi Note 11 Pro+. Every theme is a full look: its own sky, type, colours, glass and app icon, which switches the moment you pick the theme.



Now Playing
Now Playing
the cover edge to edge
Lyrics
Lyrics
lit word by word
Queue
Queue
AutoPlay picks what's next
Explore
Explore
50 moods and genres
Library
Library
your Sonara Pass and listening time

Search
Search
songs, videos, albums, artists
Radio
Radio
your mixes, endless
Replay
Replay
your year, as a story
Play all
Play all
a whole shelf in one tap

What changed in each version: release notes. Every screen, in every theme: inventor365.github.io/Sonara.




Sonara for macOS — Home Feed & Word-Synced Lyrics
macOS (Apple Silicon & Intel) — Native traffic-light toolbar, Home shelves & word-synced lyrics side panel
Sonara for Linux & Windows — Full-Screen Now Playing & Queue
Linux & Windows — Full-window landscape Now Playing with motion canvas, mesh backdrop & live queue

A collaborative playlist with contributor avatars on every track
Collaborative playlists — who added what, per-person filters, reorder and remove
Members of a collaborative playlist
Invite & members — share one link, see everyone who joined
Editing a collaborative playlist's title, description and cover
Make it yours — title, description and a cover of your own


1. Project Overview

Sonara is a cross-platform YouTube Music and local/lossless audio player built with Kotlin Multiplatform, Compose Multiplatform, Media3, C++/ONNX DSP, React 19, and Go. It pairs an Apple Music–inspired Liquid Glass interface with word-by-word karaoke lyrics, Beat This! (final0) DJ Automix transitions, synchronized Listen Together rooms, and first-party Collaborative Playlists with verified Google contributor attribution.


2. From BitChord to Sonara

Sonara began as BitChord PlusPC, a fork of Kushagra Singh's kushagrasinghx/BitChord that added native desktop apps, collaborative playlists and a great deal of repair work. It has since grown its own identity, design and roadmap, so from v2.0.0 it carries its own name and is developed by Pranav (@Inventor365).

What that means in practice:

  • Nothing is lost. Sonara installs over BitChord PlusPC v1.10.x in place on Android, Windows and Linux: same application id, same signing certificate, same data. Your library, downloads, settings and sign-in carry over.
  • The foundation is BitChord's. The player core, lyrics, streaming and much of the interface are the work of Kushagra Singh and the BitChord contributors, used under the GPL-3.0 and credited in full in Credits and License. Sonara would not exist without it.
  • What Sonara adds: native macOS, Windows and Linux apps built and install-tested on those systems; collaborative playlists on real YouTube Music playlists (create, convert, invite, join, edit title and cover); a refreshed look with consistent motion; and continued maintenance.

3. Supported Platforms

Platform Architectures Artifacts on GitHub Releases (latest: v2.1.9)
Android Phone, Tablet & Auto Universal, arm64-v8a, armeabi-v7a, x86_64 Sonara-v2.1.9.apk, Sonara-v2.1.9_<abi>.apk
Android TV / Fire TV Universal, arm64-v8a, armeabi-v7a, x86_64 SonaraTV-v2.1.9.apk, SonaraTV-v2.1.9_<abi>.apk
Wear OS 3+ Universal (arm64-v8a, armeabi-v7a) SonaraWear-v2.1.9.apk (also embedded inside the Phone APK)
macOS 12+ Apple Silicon (arm64) & Intel (x64) Sonara-2.1.9-macos-{arm64,x64}.{dmg,pkg,zip}
Windows 10 / 11 x64 Sonara-2.1.9-windows-x64-setup.exe, .msi, -portable.zip
Linux x86_64 / amd64 Sonara-2.1.9-linux-x86_64.AppImage, -linux-amd64.deb, -linux-x86_64.rpm
Web & Extension Chrome / Chromium (MV3) & Firefox web/app/ SPA + web/extension/ companion extension
Backend Server Go 1.27+ (linux/amd64, linux/arm64, Docker) backend/ (Listen Together + Presence + Collaborative Playlists)

4. Installation Instructions

Android (Phone, Android Auto, Android TV & Wear OS)

  1. Download Sonara-v2.1.9.apk (universal) or the matching ABI split (arm64-v8a for modern phones) from Releases.
  2. Open the APK and allow installation from your browser/file manager if prompted.
  3. Android TV: Install SonaraTV-v2.1.9.apk via Downloader, LocalSend, or adb install -r SonaraTV-v2.1.9.apk.
  4. Wear OS: Open Settings → Wear OS in the Sonara phone app to push the bundled watch app over Wi-Fi debugging, or run adb -s <watch-ip>:<port> install -r SonaraWear-v2.1.9.apk.

macOS (.dmg, .pkg, and .zip)

  1. Pick arm64 for Apple Silicon (M1/M2/M3/M4) or x64 for Intel Macs:
    • .dmg (Recommended): Open Sonara-2.1.9-macos-<arch>.dmg and drag Sonara to Applications.
    • .pkg (Installer): Open Sonara-2.1.9-macos-<arch>.pkg and follow the macOS Installer wizard to install /Applications/Sonara.app.
    • .zip (Portable): Extract Sonara-2.1.9-macos-<arch>.zip and move Sonara.app to /Applications.
  2. First Launch (Unsigned Build Note): Community builds are ad-hoc Mach-O signed (LC_CODE_SIGNATURE) and not Apple-notarized. If macOS Gatekeeper blocks the first launch, right-click Sonara.app → Open, or run:
    xattr -cr /Applications/Sonara.app

Windows

  • Installer (.exe / .msi): Run Sonara-2.1.9-windows-x64-setup.exe or Sonara-2.1.9-windows-x64.msi.
  • Portable (.zip): Extract Sonara-2.1.9-windows-x64-portable.zip anywhere and launch Sonara\Sonara.exe.

Linux

  • AppImage (Universal):
    chmod +x Sonara-2.1.9-linux-x86_64.AppImage
    ./Sonara-2.1.9-linux-x86_64.AppImage
  • Debian / Ubuntu (.deb): sudo apt install ./Sonara-2.1.9-linux-amd64.deb
  • Fedora / RHEL / openSUSE (.rpm): sudo dnf install ./Sonara-2.1.9-linux-x86_64.rpm

Web App & Companion Browser Extension

cd web
corepack pnpm install --frozen-lockfile
corepack pnpm --filter @bitchord/extension build   # Load web/extension/.output/chrome-mv3 as unpacked extension
corepack pnpm --filter @bitchord/app dev           # Launch Web player at http://localhost:5173

5. Updating Safely Without Losing Data

  • In-App OTA Updates: Android Phone, Android TV, and Desktop check Inventor365/Bitchord-OTA / GitHub Releases on launch. Android downloads updates with HTTP Range resume support and hands the verified APK directly to the system installer.
  • Permanent Release Signing Identity (v1.10.0+): Starting with v1.10.0, all Inventor365/Sonara releases are signed with one permanent RSA-4096 certificate (SHA-256: d6d9c697c070a5ca5f4e172a13b6263fe2f3a35fff5d110596509126320c3bb2) persisted in GitHub Actions Secrets (KEYSTORE_BASE64), so all future updates install seamlessly in place (adb install -r / in-app OTA) while preserving playlists, downloads, EQ presets, and sessions.
  • One-Time Migration Note: Earlier pre-v1.10.0 builds (v1.8.1, v1.9, v1.9.2) and upstream kushagrasinghx/BitChord builds used distinct signing keys (see docs/SIGNING.md). Export any local playlists (.m3u / .json) before performing the one-time clean install to v1.10.0.

6. Feature Highlights

  • Lossless & Bit-Perfect Playback: YouTube Music (256 kbps authenticated Premium AAC/Opus + NewPipe fallback), FLAC/ALAC/Dolby Atmos module sources, USB DAC exclusive mode on Android, and native desktop audio pipelines.
  • Automix & Loop Mix: Beat-grid, phrase, vocal, and harmonic key transitions powered by Beat This! (final0) ONNX + Signalsmith stretch. The artwork mixes too: covers and Spotify Canvas clips dissolve into the next song in the full and mini players, and the seek bar glows through the mix.
  • A Queue You Can Work With: Swipe a song away or to play next, Select for bulk actions, Save as playlist, and Undo after any removal. It opens at what's coming up.
  • Word-Synced Lyrics: 12 providers, syllable glow sweep, duet alignment, live translation, 18-script romanization, and local MP3 (USLT) / FLAC / M4A / WebM embedded tag support.
  • Animated Album Canvas: Apple Music editorial motion artwork and Spotify Canvas with smooth swipe crossfades.
  • Themes: Sonara, Vice (synthwave dusk), Doom (forged steel), Winter (a live aurora at night, glaciers by day) and Space, a black hole ray traced through curved spacetime, with its lensed disk turning, matter falling in, and real ESO, Hubble and Webb skies. Each theme brings its own type, colours, glass and app icon, and every effect has a switch, including the black hole behind the player (off by default, so the player stays clean).
  • Radio: Its own tab, next to Explore.
  • Your Listening Survives a Reinstall: Listening time, plays, top artists, Replay, settings and the last song come back from the phone's own Google backup after you uninstall and reinstall.
  • Make It Yours: Keep the screen on while the player is open, hide the status bar everywhere, plain album and playlist pages instead of artwork-tinted ones, total duration instead of time remaining, and a switch for USB DACs that turn their volume down on connect.
  • Scrobbling & Presence: Last.fm, ListenBrainz, and Discord Rich Presence across Android, Desktop, and Web.

7. Playlist Management

Sonara organizes playlists cleanly inside Library across Android, Desktop, and Web:

  • Collaborative Playlists: Playlists you created or converted for shared editing.
  • Shared with Me: Collaborative playlists you joined via invite link as an Editor or Viewer.
  • My Playlists & On Device: Your personal YouTube Music, local/offline, and imported Spotify playlists, with pinning, custom cover upload, drag-to-reorder, duplicate detection, inline library search, and portable .csv / .m3u / .json exchange.

8. Google Authentication & Guest Mode

  • Guest Mode Works Out of the Box: You can search, stream, manage local playlists, download offline tracks, and use Listen Together without signing into any account.
  • YouTube Music Account Sign-In: Optional browser/WebView/cookie sign-in unlocks personal YouTube Music library shelves, Liked Music sync, and 256 kbps Premium streams.
  • Verified Google OIDC for Collaborative Playlists: Collaborative features authenticate via Google OpenID Connect (Google Identity Services ID tokens on Web; OAuth 2.0 Authorization Code + PKCE S256 browser/loopback flow on Android & Desktop). Sonara never asks for or stores Google passwords, and never accepts unverified self-declared identities.

9. Collaborative Playlists & Contributor Attribution

See docs/COLLABORATIVE_PLAYLISTS.md for full protocol and API documentation:

  • Convert Any Personal Playlist ("Make Collaborative"): Open the menu (•••) on any YouTube Music, local, Desktop, or Spotify playlist and choose Make Collaborative. Your original personal playlist remains untouched while a live collaborative playlist is created with all existing songs attributed to you.
  • Shareable, Revocable Invitations: Generate bci_<token> links granting Editor or Viewer access with configurable expiration (24h, 7 days, Never) and optional max uses. Preview invites while logged out; revoke any link immediately.
  • Granular Permissions & "Stop Sharing": Restrict editors to removing only songs they added (editorCanRemove = "own"), toggle track reordering or invite privileges, transfer ownership, or choose Stop Sharing (Make Private) to revoke collaborator access while preserving your playlist and historical contributor attribution.

10. Contributor Attribution

Every track added to a collaborative playlist is stamped server-side from the authenticated user's verified Google profile:

  • Displays a circular contributor avatar (or initials badge) beside the artist credit ("Added by you" or "Added by <Display Name>").
  • Filter any collaborative playlist by contributor in one tap, and inspect the lightweight Recent Activity feed ("Saksham added Midnight City", role updates, joins).

11. Listen Together

Listen Together provides real-time synchronized playback rooms (party/ on backend/) with 6-character room codes, QR/link invites, host playback lock or open guest queue contributions, live latency-compensated clock sync, and swipe-to-reply room chat — completely independent of Collaborative Playlists so either feature works with or without the other.


12. Upstream Project & Attribution

Sonara is an actively maintained fork of kushagrasinghx/BitChord created by Kushagra Singh. Every integrated upstream commit and community pull request preserves original contributor credit — see CHANGELOG.md for PR-by-PR attribution.


13. Building from Source

git clone https://github.com/Inventor365/Sonara.git
cd Sonara

# 1. Run shared KMP, Desktop, Android Phone, and Android TV unit tests
./gradlew :shared:jvmTest :sharedUi:jvmTest :desktopUi:jvmTest :desktopApp:test :app:testDevDebugUnitTest :tv:testDevDebugUnitTest

# 2. Build Android debug APKs
./gradlew :app:assembleDevDebug :tv:assembleDebug :wearos:assembleDevDebug

# 3. Run or package Desktop app (Linux / macOS / Windows)
./gradlew :desktopApp:run
./gradlew :desktopApp:createDistributable

# 4. Build & test Web app + Extension
(cd web && corepack pnpm install --frozen-lockfile && corepack pnpm -r typecheck && corepack pnpm -r test && corepack pnpm --filter @bitchord/app build)

# 5. Build & test Go Backend
(cd backend && go vet ./... && go test -race ./... && go build -o bitchord-backend .)

14. Development Environment

  • JDK: Eclipse Temurin 21 (required for Gradle + jpackage; targets JVM 17 bytecode).
  • Android SDK / NDK: compileSdk 37, targetSdk 36, minSdk 26, CMake 3.22.1+, Android NDK.
  • Node / pnpm: Node.js 22+ with corepack enable (pnpm 12.x).
  • Go: Go 1.27+ (backend/).

Optional local.properties keys (never committed):

LISTEN_TOGETHER_SERVER=https://your-backend.example.com
COLLAB_SERVER=https://your-backend.example.com
COLLAB_GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
LASTFM_API_KEY=...
LASTFM_SECRET=...

15. Backend Configuration

backend/ is a single self-contained Go binary serving Listen Together (/ws, /invite/), Presence (/api/stats/), and Collaborative Playlists (/api/collab/*, /ws/collab, /collab/invite/):

cd backend
COLLAB_DATA_PATH=./data/collab.json \
COLLAB_GOOGLE_CLIENT_IDS="your-web-or-desktop-client-id.apps.googleusercontent.com" \
ALLOWED_ORIGINS="https://your-web-origin.example.com" \
PORT=8080 \
go run .

See docs/COLLABORATIVE_PLAYLISTS.md and backend/README.md for reverse-proxy (Caddyfile), TLS, and systemd deployment (bitchord-party.service).


16. Release and Signing Information

  • Android Signing & Upgrade Verification: Documented in docs/SIGNING.md and enforced by scripts/verify-android-upgrade.sh.
  • macOS DMG & PKG Packaging: Documented in docs/MACOS_PACKAGING.md and verified by scripts/macos/verify-macos-artifacts.py.
  • Cross-Platform Release Checklist: Documented in docs/RELEASE_PROCESS.md.

17. Known Limitations

  • macOS Notarization: Without paid Apple Developer ID credentials configured in CI secrets, macOS .dmg / .pkg / .zip builds use ad-hoc Mach-O code signatures and require a one-time right-click → Open (or xattr -cr /Applications/Sonara.app) on first launch.
  • Collaborative Playlists Server Requirement: Collaborative Playlists require a reachable Sonara backend instance (COLLAB_SERVER / Settings → Collaboration Server URL) and a Google OAuth 2.0 Client ID configured on both server and client.
  • Upstream APK Key Difference: Switching between kushagrasinghx/BitChord and Inventor365/Sonara on Android requires a one-time clean install due to distinct author signing certificates.

18. Troubleshooting

  • Android says "App not installed as package conflicts with an existing package": You have an APK signed with a different key installed (e.g. upstream kushagrasinghx/BitChord or a local debug build). Export any local playlists, uninstall the conflicting package once, and install the PlusPC release APK — future PlusPC updates will install in place cleanly.
  • macOS says "Sonara is damaged and can't be opened" or "unidentified developer": Run xattr -cr /Applications/Sonara.app in Terminal after dragging Sonara.app to /Applications.
  • Collaborative Sign-In says "Configure Collaboration Server URL / Google Client ID": Open Library → Collab Account (or Settings → Collaborative Playlists on Web) and enter your backend HTTPS URL and Google OAuth Client ID.
  • Linux AppImage does not launch on Ubuntu 24.04+: Install FUSE2 (sudo apt install libfuse2t64) or run with --appimage-extract-and-run, or install the native .deb package instead.

19. Credits and License

  • Sonara Engineering & Maintenance: Pranav × @Inventor365 — native Desktop restoration & packaging (macOS, Windows, Linux), Collaborative Playlists & Google OIDC architecture, deterministic signing/verification pipeline, and upstream PR curation.
  • Original Author & Upstream Creator: Kushagra Singh (@kushagrasinghx) — creator of kushagrasinghx/BitChord, Liquid Glass UI, Automix engine, and Android/TV/Wear/Web foundations.
  • Lyrics & Ecosystem Acknowledgements: binimum (am-lyrics) and all upstream open-source contributors credited in CHANGELOG.md.

Licensed under the GNU General Public License v3.0 (GPLv3) — see LICENSE.

About

Sonara is an open-source, cross-platform music client for Android, Windows, macOS and Linux, featuring a premium Apple Music-inspired UI, lossless audio, Automix, synced lyrics and collaborative playlists.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

47 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages