Skip to content
NidvuePublic

About

Dual-way realtime Jottacloud desktop client — Rust engine, Qt UI, mountable VFS, plugin system. AGPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

141 Commits

Folders and files

Nidvue Drive

Two-way, real-time sync and a mountable filesystem for Jottacloud — one Rust engine, one cache, one conflict model, a Qt desktop app, and a plugin system. Linux only in this release (macOS and Windows support is dropped for now).

Nidvue Drive is an unofficial desktop client for Jottacloud. It is not affiliated with, endorsed by, or supported by Jottacloud AS. Jottacloud is a trademark of its owner. Licensed AGPL-3.0-only.

┌──────────────────────────────────────────────────────────────┐
│  Nidvue Drive                                                │
│  ● sync   Archive/Projects  ⇅  Jottacloud:/Archive/Projects   │
│  ● mount  /home/you/Jottacloud   (cache 3.4 / 20 GB)          │
│  ↑ 12.4 MB/s   ↓ 8.1 MB/s   queue 7   conflicts 1   healthy   │
└──────────────────────────────────────────────────────────────┘

What it does

  • Sync mode — pick a local folder and a Jottacloud folder; changes flow both ways continuously. Local changes are pushed immediately (filesystem events); remote changes are found by a budgeted, adaptive poll, because Jottacloud has no server-side notifications. The UI says "checking for remote changes…" instead of pretending to hold a socket.
  • Mount mode — the whole mountpoint appears as a local path, served on demand from a size-limited, content-addressed cache. Warm reads never touch the network.
  • Conflicts are never silent. If both sides changed one file, both are kept: the newest stays at the original path and the other becomes name (conflict Nidvue 2026-11-14 101500).ext, listed in the Conflict Center with a preview and one-click resolve.
  • Tray icon — a status-notifier tray icon shows sync health at a glance (green/amber/grey/red), offers pause, sync now, mount and settings, and opens a compact popup with the live numbers. Closing the main window hides it; the tray is the way back. On a desktop without a status-notifier host the app works exactly the same without the tray.
  • Plugins — sandboxed WebAssembly, capability-scoped, with two working examples. Native plugins are allowed behind an explicit trusted flag and must be AGPL-3.0 (see docs/licensing.md).

Status

v0.3.0 — third pre-release, Linux only. The engine, cache, sync planner, journal, FUSE3 mount, WASM plugin host, CLI, SDK and Qt UI are implemented and tested. v0.3.0 lands the XDG autostart entry ("start at login", from the CLI and from Settings), reads ui.language and ships a German catalog (the window is translated from its first frame, and ui.theme is honoured for the first time), measures the UI frame budget in the gate (cargo xtask ui-frames: p99 0.26 ms against 16 ms), and removes the macOS and Windows surfaces: their mount adapters, packaging recipes, CI legs and keyring backends are gone rather than shipped as stubs, and are recoverable from tag v0.2.1.

The FUSE mount is exercised against a real mount in CI. What is not done is listed honestly in docs/deviations.md — with numbers, not adjectives.

Quickstart

# 1. Build (Rust 1.95+, and Qt 6 for the UI)
cargo build --release

# 2. Log in with a Personal Login Token
#    Jottacloud → Settings → Security → "Generate a personal login token"
cargo run -p nidvue-cli -- login --token-stdin

# 3. Check the connection
cargo run -p nidvue-cli -- doctor

# 4. Mount (headless; no UI needed). The cache cap is configuration:
cargo run -p nidvue-cli -- config set cache.max_size_bytes 21474836480
cargo run -p nidvue-cli -- mount ~/Jottacloud

# 5. Or sync a folder, skipping what you do not want mirrored
cargo run -p nidvue-cli -- sync add docs ~/Documents /Archive/Documents \
    --exclude '**/node_modules' --exclude '*.tmp'
cargo run -p nidvue-cli -- sync run docs

# 6. The desktop app
cargo xtask ui && ./apps/nidvue-ui/build/nidvue-ui

nidvue-cli status --json is machine-readable for scripts and dashboards, and nidvue-cli config list prints every setting with its current value. Every value is reachable as a dotted path — nidvue-cli config get sync.workers, nidvue-cli config set sync.pairs.docs.exclude '["**/.git"]' — so a script never has to edit config.toml by hand. See docs/configuration.md.

Metrics are opt-in and off by default:

nidvue-cli config set log.prometheus_bind 127.0.0.1:9464   # curl :9464/metrics
nidvue-cli config set log.otel_endpoint http://127.0.0.1:4318
nidvue-cli config list                                     # every key

Credentials live in the OS keyring when the platform has one and fall back to an encrypted file when it does not; nidvue-cli doctor says which, and why.

Build and test

cargo xtask ci      # fmt, clippy -D warnings, tests, docs, deny, SPDX, secrets, DCO, Qt UI
cargo xtask test    # the workspace suite
cargo xtask bench   # performance budgets
cargo xtask ui      # Qt/QML app

cargo xtask ci is the gate every commit must leave green.

Documentation

Document What is in it
ARCHITECTURE.md crate graph, data flow, state machines, the big calls
docs/adr/ one decision record per irreversible choice
docs/jotta-api.md the Jottacloud API surface this client uses
docs/licensing.md every dependency and SDK, its licence, how it is linked
docs/deviations.md what is not done, and why, with numbers
docs/plugin-guide.md writing a plugin, and the licence rule
docs/performance.md the budgets and the measured results
docs/configuration.md every configuration key, its default and its meaning
docs/packaging.md AppImage/deb, the login entry and the mount helper
docs/vfs-semantics.md exactly what the mount guarantees

Repository layout

crates/nidvue-core     domain types, paths, hashes, config, errors, secrets
crates/nidvue-jotta    auth, JFS XML, Allocate API, rate limiting
crates/nidvue-cache    blob store, SQLite index, eviction, readahead
crates/nidvue-vfs      virtual filesystem, read/write pipeline
crates/nidvue-sync     journal, scanner, reconciler, scheduler
crates/nidvue-mount    FUSE3 adapter (Linux)
crates/nidvue-plugin   WASM host, manifest, capabilities
crates/nidvue-telemetry Prometheus scrape endpoint, OTLP/HTTP exporter
crates/nidvue-sdk      stable Rust API, events, JSON schema
crates/nidvue-ffi      C ABI consumed by the Qt app
crates/nidvue-cli      headless control
apps/nidvue-ui         Qt 6 + QML desktop app
plugins/               two AGPL-3.0 plugins
benches/               the performance budgets
xtask/                 build automation (`cargo xtask`)

Licence, trademark, contributions

  • Code: AGPL-3.0-only (LICENSE). Network use of a modified version requires offering the source; this project has no server component.
  • The Nidvue name and logo are not granted by the licence — forks must be renamed (TRADEMARK.md).
  • Contributions use DCO sign-off (git commit -s), no CLA.
  • Security issues: private disclosure only (SECURITY.md). Never paste tokens into an issue.

About

Dual-way realtime Jottacloud desktop client — Rust engine, Qt UI, mountable VFS, plugin system. AGPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages