Quick Start
The fastest way to try Auditaur is the dogfood app in examples\dogfood.
To add Auditaur to an existing app instead, start with Add Auditaur to a Tauri App. If you are replacing tauri-plugin-log, use Migrate from tauri-plugin-log.
cd examples\dogfoodnpm installnpm run build:apinpm run tauri devClick the buttons to emit a console log, throw a frontend error, call successful and failing Tauri commands, and emit/listen to events.
While the app is running, copy databasePath from the latest discovery file:
| Platform | Discovery directory |
|---|---|
| Windows | %LOCALAPPDATA%\auditaur\apps |
| macOS | ~/Library/Application Support/auditaur/apps |
| Linux | ~/.local/share/auditaur/apps |
Then inspect the session:
cargo run -p auditaur-cli -- apps --jsoncargo run -p auditaur-cli -- logs --jsoncargo run -p auditaur-cli -- errors --jsoncargo run -p auditaur-cli -- traces --jsoncargo run -p auditaur-cli -- ipc --jsoncargo run -p auditaur-cli -- events --jsonYou can also pass a database path explicitly:
cargo run -p auditaur-cli -- sessions --db "<databasePath>" --jsoncargo run -p auditaur-cli -- logs --db "<databasePath>" --jsoncargo run -p auditaur-cli -- errors --db "<databasePath>" --jsoncargo run -p auditaur-cli -- traces --db "<databasePath>" --jsonUse cargo run -p auditaur-cli -- mcp to expose the same database-backed tools to an MCP client.