Skip to content
opencode edited this page Oct 3, 2026 · 1 revision

Setup

Source: README.md:63-102 and package.json (scripts) in the main repo.

Install (end users)

Download Nexora from GitHub Releases (latest): https://github.com/sshdw/Nexora/releases/latest. The recommended installer is the NSIS Nexora_*_x64-setup.exe; the MSI Nexora_*_x64_en-US.msi is also published.

Prerequisites (developers)

  • Latest stable Rust (toolchain pinned by src-tauri/rust-toolchain.toml; rustup resolves it automatically)
  • Node.js and npm
  • Tauri v2 system dependencies for your platform (official prerequisites)

Run in development

npm install
npm run tauri dev

The Vite dev server binds to port 1420 (strictPort); the port must be free before starting or npm run tauri dev fails.

Production build

npm run tauri build

Verify before finishing

Task Command
Rust formatting cargo fmt --all -- --check (inside src-tauri/)
Rust lint cargo clippy --all-targets --all-features -- -D warnings (inside src-tauri/)
Backend unit tests cargo test (inside src-tauri/; single test: cargo test <name>)
Frontend typecheck npx tsc (repo root; noEmit is set, no dedicated script)
Frontend lint npx eslint . (flat config ignores dist, src-tauri)

Verify order: cargo fmt --check → cargo clippy → cargo test → npx tsc.

Notes:

  • There is intentionally no JavaScript test runner. Automated coverage lives entirely in the Rust backend (100+ #[test]s against in-memory SQLite using the same migrations as production).
  • Single npm package — no workspace tooling despite the folder being named nx.

Clone this wiki locally