Skip to content

Cloud Providers

Jimmy Pautz edited this page Dec 2, 2026 · 4 revisions

Cloud Providers

Nimbus supports four cloud storage backends with full feature parity across KOReader, Calibre, and the Web App. Your books and reading data go directly between your device and your cloud storage.

Note

Privacy & Logins: Your OAuth tokens and WebDAV credentials are stored on your device (KOReader settings/nimbus/, Calibre's local plugin config, or browser localStorage in the Web App) and are never written to your cloud sync folder. Google Drive and Dropbox use a small relay (backup.ultimatejimmy.workers.dev) only to sign you in and renew that sign-in. For Google Drive it stores nothing. For Dropbox it holds your tokens for up to five minutes at sign-in until Nimbus collects them, then deletes them. Your books and reading data never pass through it. OneDrive and WebDAV do not use it.


Provider Comparison

Feature Google Drive Microsoft OneDrive Dropbox WebDAV
Auth Flow OAuth Device Code OAuth Device Code OAuth Device Code URL + Username + Password
Access Scope drive.file (minimal) App/Graph files App/Dropbox API v2 Configured WebDAV path
Token Refresh Automatic Automatic Automatic N/A (Basic/Digest credentials)
Web PWA Direct Access Yes Yes Yes Needs CORS headers or CORS Proxy
backup.koplugin Auto-Import Yes Yes Yes Yes

Google Drive

  • Authorization: Uses the OAuth 2.0 Device Code flow. On KOReader, a QR code and short user code are shown on screen; on Calibre and Web, the verification URL opens in your browser and copies the code automatically.
  • Privacy (drive.file scope): Nimbus only requests the drive.file OAuth scope. This means Nimbus can only see and access the /Nimbus folder and files it creates or opens—it cannot read unrelated files in your Google Drive.

Microsoft OneDrive

  • Authorization: Uses Microsoft Graph OAuth 2.0 Device Code flow.
  • Notes: Works with personal Microsoft accounts. Ensure the same remote root folder name (default Nimbus) is configured across all your devices.

Dropbox

  • Authorization: Uses Dropbox API v2 OAuth flow with offline refresh tokens.
  • Notes: Ensure your remote root folder matches across devices (default Nimbus).

WebDAV (Nextcloud, Synology, Koofr, etc.)

WebDAV lets you use your own NAS or third-party WebDAV provider without OAuth.

Required Fields

  • WebDAV URL: Full base URL to your WebDAV endpoint (e.g., https://cloud.example.com/remote.php/dav/files/username/).
  • Username: Your WebDAV username.
  • Password / App Password: Recommended to use an app-specific password if your server supports 2FA.

Web App (PWA) & CORS Proxy

Important

Web browsers enforce CORS (Cross-Origin Resource Sharing) on fetch() requests. Many WebDAV servers (such as Synology DSM or default Nextcloud setups) do not send permissive Access-Control-Allow-Origin headers by default.

If the Web App fails to connect to your WebDAV server:

  1. Enable CORS headers on your WebDAV server / reverse proxy for https://ultimatejimmy.github.io, or
  2. Enter a CORS Proxy URL in the Web App's WebDAV connection modal.

(KOReader and Calibre make native HTTP requests and are not affected by browser CORS restrictions.)


Remote Root Folder

By default, every client stores Nimbus data under /Nimbus (or Nimbus relative to your WebDAV base URL).

  • You can customize remote_root in any client's settings (for example, Nimbus-Emma or Nimbus/Emma to keep separate family, work, and personal libraries on the same cloud drive).
  • In Calibre, you can add multiple accounts that reuse the same cloud login while pointing to different remote root folders. See Calibre Custom Columns for details.
  • Rule of thumb: Every client that should sync together must use the exact same remote_root string.

Clone this wiki locally