Skip to content
Rymembra Docs GitHub

Technical documentation

How Rymembra works, read from its code: what each part does, how it does it, and why it is built that way. It describes version 3.3.0 — the workspace in the repository — and every entry names the source files it comes from.

The code is written with Italian identifiers and comments; the glossary translates the words that recur. The ? on each card of the Settings opens the entry for that feature. What travels over the network, request by request, is listed in PRIVACY.md.

  1. Overview

    The rules the whole codebase follows, the crates and what each may depend on, the threads of a running process, the error model, and a glossary of the Italian identifiers.

    6 entries

  2. Data on disk

    The data folder, the SQLite library and its schema, how it migrates and looks after itself, where settings live, and the .ryprofile archive.

    6 entries

  3. The library

    How files become rows: the scan and its plan, track identity, tags, albums, watched folders, network shares, folders in the cloud and the apps behind them, the Folders tree, removal, covers, search and playlists.

    12 entries

  4. Metadata and lyrics

    Finding missing metadata online without touching your files, how corrections layer over tags, and where lyrics come from and how they are timed.

    4 entries

  5. The audio engine

    rymembra-play: one engine, three roles, lock-free rings, sample-exact track changes, loudness levelling, a 10-band EQ, the spectrum, and the background analysis it powers.

    8 entries

  6. Playing music

    How the desktop app drives the engine: the player state and its threads, the queue, what counts as a listen, what plays when the queue ends, streams, the sleep timer and the Windows media controls.

    8 entries

  7. Catalogs and imports

    Where music comes from besides your disk: the free catalogs and their licenses, Explore, imports from links, the Spotify archive and playlist files, the download queue, and the import from version 1.0.

    5 entries

  8. Network

    One blocking HTTP client for every service, per-service pacing with a circuit breaker, seekable HTTP streams, and the OAuth pieces that do not depend on the provider. The LAN transport of «Listen together» is a separate crate, rymembra-insieme: see Listen together.

    4 entries

  9. Listen together

    Several Rymembra on the same local network play the same music in sync, close enough for loudspeakers in one room. One PC hosts, the others follow; every PC decodes for itself, the connections are encrypted, and two PCs trust each other only after their users compared the same four-digit code.

    3 entries

  10. Your devices over the internet

    A PC shows a QR code, the phone scans it, and from then on the two find each other on their own — at home and away: each shows the other's music in its own library, plays it — on mobile data too — and can download it. There is no Rymembra server: the transport is iroh (QUIC between two ed25519 keys), direct when it can be, through a relay when it cannot.

    1 entries

  11. Online services

    Everything optional that talks to a remote service: Drive backup, device sync, scrobbling, language models for the Studio, and the update check.

    5 entries

  12. Skins

    rymembra-skin: a skin is typed data, never CSS. The document and its registries, the only CSS author, motion and its safety rules, the layout tree, themes and accents, packages, and the migration from format 1.

    8 entries

  13. Skin Studio

    The built-in skin editor: why it edits text, how it validates while you type, how it previews the real pages on a sample library, and how the chat changes a skin.

    3 entries

  14. The window (frontend)

    React 19 + TypeScript in WebView2: how state flows from Rust into components, how pages and kept-alive views are rendered, lists without pages, the keyboard, zoom, translations, the guided tour and dialogs.

    8 entries

  15. The desktop shell

    rymembra-desktop, the Tauri 2 app: the startup order, the IPC surface, closing to the tray, the security boundaries between the page and the core, and the log.

    5 entries

  16. Building, testing, releasing

    The commands, the test suites, the repository checks in strumenti/, the CI and release pipeline, update signing, and how this documentation is written and checked.

    6 entries