Build. Fail. Remember.
Kivra is a desktop-first developer memory app. It registers local projects, captures command runs, stores logs and detected errors, and keeps resolution notes searchable.
For a product overview, visit the Kivra organization profile.
Install dependencies:
pnpm installRun the real desktop app:
pnpm desktop:tauri:devUse this mode when testing project folder selection, project scanning, file reading, and command execution. Those features need the native desktop layer.
Run the browser UI preview:
pnpm devThis mode is only for checking the React interface. Native actions are disabled in the browser preview.
Create apps/desktop/.env from apps/desktop/.env.example:
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=When Supabase is configured, GitHub OAuth and cloud sync are enabled. Without those values, Kivra continues to work as a local-only desktop app.
For desktop OAuth, add this redirect URL in Supabase Auth settings:
http://127.0.0.1:3000/auth/callback
pnpm build
cargo check --manifest-path apps/desktop/native/Cargo.tomlKivra captures logs from registered local projects through zsh shell integration. Install or refresh the integration with:
pnpm trace:install-shellOpen a new terminal or IDE terminal after installing it. Then run any command from a cwd inside a registered project:
flutter run
pnpm build
python -m pytest
mvn testCaptured stdout/stderr events are written to:
~/.kivra/captured-runsThe captured-run file contract is owned by packages/protocol. Shell capture,
JetBrains capture, and the desktop reader should follow the same protocol
version and JSON file layout.
Check the current capture status with:
pnpm trace:diagnose /path/to/projectKivra also includes a JetBrains IDE plugin for Run/Debug configurations. It
writes the same captured-run files under ~/.kivra/captured-runs, so the
desktop app can display IDE-run logs without the command being launched from a
terminal. The plugin stays in plugins/jetbrains because it is an IDE extension,
not a standalone Kivra app.
Build the local plugin ZIP:
pnpm jetbrains:buildInstall the ZIP from plugins/jetbrains/build/distributions in a JetBrains IDE.
The plugin only captures projects already registered in Kivra.
Kivra is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
See the LICENSE file and licensing notes for details.