Skip to content

KOSync Bridge

Jimmy Pautz edited this page Nov 20, 2026 · 1 revision

KOSync & Sink Bridge

nimbus.koplugin includes a built-in bidirectional KOSync v1 + Sink Cloudflare Worker bridge (nimbus_kosync.lua). This lets KOReader sync reading progress with devices and apps that only speak KOSync—such as CrossPoint e-readers, Readest, or stock KOReader Sync (https://sync.koreader.rocks)—while keeping Nimbus Cloud as your primary library, highlights, and stats store.


When to Use the Bridge

Use the KOSync Bridge if you read on:

  • A CrossPoint e-reader or Sink Cloudflare Worker setup.
  • Readest (which supports KOSync servers).
  • A second KOReader device or app that isn't running nimbus.koplugin.

Setup in KOReader

  1. Open Nimbus → Settings → KOSync / Sink Bridge.
  2. Enable KOSync Bridge (kosync_enabled).
  3. Configure your server details:
    • Server URL (kosync_server): Defaults to https://sync.koreader.rocks, or enter your self-hosted KOSync / Sink Cloudflare Worker URL.
    • Username (kosync_username): Your KOSync / Sink username.
    • Password / Userkey (kosync_userkey): Stored as the MD5 hash of your password, matching the KOSync v1 protocol (x-auth-user / x-auth-key).
  4. Tap Test Connection to verify authentication against /users/auth.

Checksum Methods (filename vs. binary)

KOSync identifies books by a document key. Nimbus supports both standard methods and automatically checks the alternate key as a fallback:

Setting (kosync_checksum_method) Primary Key Fallback Key Best For
filename (default) MD5 of the filename (e.g. Dune.epub) partial_md5 CrossPoint, Sink, and setups where filenames match across devices
binary partial_md5 of the file contents Filename MD5 Stock KOReader KOSync when filenames differ across devices

How Conflict Resolution Works

  • Pulling on Open: Nimbus checks both Nimbus Cloud device shards and the configured KOSync server.
  • Pushing on Close / Suspend: Nimbus pushes your latest progress to your Nimbus Cloud device shard and mirrors the update to your KOSync server.
  • Because Nimbus uses updated_at timestamps and percentage comparisons, whichever source is newer wins cleanly.

Clone this wiki locally