-
Notifications
You must be signed in to change notification settings - Fork 0
01. Installation
Nicolás Baier Quezada edited this page Jun 5, 2026
·
3 revisions
DIRD+ is distributed as a desktop application (Linux, Windows, macOS) packaged with Tauri v2. The embedded local webview runs the frontend — there is no HTTP server and no web deployment.
- Rust toolchain — via rustup
-
Node.js 20+ and pnpm —
npm i -g pnpm -
WebKitGTK + build tools (Linux):
- Arch:
sudo pacman -S webkit2gtk-4.1 libayatana-appindicator librsvg patchelf base-devel cmake - Debian/Ubuntu:
sudo apt install libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf build-essential cmake
- Arch:
cmakeand a C/C++ toolchain are required: the app embeds llama.cpp (via thellama-cpp-2Rust crate), which is compiled from source.
git clone https://github.com/Debaq/Dird.git
cd Dird
pnpm installpnpm tauri:dev # launch the desktop app with hot-module reloadThe first Rust build takes ~2–3 minutes (it compiles SQLCipher/OpenSSL and llama.cpp). Subsequent launches are near-instant.
pnpm tauri:build # frontend + Rust, release mode- The binary lands in
./src-tauri/target/release/app. -
No AppImage/deb/rpm are produced by default —
bundle.active = falseinsrc-tauri/tauri.conf.json. Set it totrueto produce distribution packages (on modern Arch, build withNO_STRIP=trueto avoid thestrip+.relr.dynbug).
pnpm test # Vitest (frontend, 52 tests)
cargo test --manifest-path src-tauri/Cargo.toml # Rust unit tests (crypto, db)
npx tsc --noEmit # TypeScript typecheckOn first launch the app shows a security wizard that sets up two passwords (application login + export passphrase) and creates the encrypted SQLite database. See 11. Security & Privacy.
There are no environment variables and no backend to configure — DIRD+ is 100% local.