A RocketMQ-Rust desktop dashboard built with Tauri, React, and Rust.
- Native desktop packaging with a web UI
- Rust backend and React frontend
- Local embedded authentication with SQLite
- Argon2 password hashing
- Forced bootstrap password change on first login
- In-memory session management with session restore while the backend process remains alive
On first startup the application bootstraps a local administrator account:
- Username:
admin - Initial password:
ROCKETMQ_DASHBOARD_INIT_PASSWORD, if provided- otherwise
admin123
After the first successful login, the user must change the password before entering the dashboard.
Authentication data is stored in:
- Windows:
%APPDATA%\com.rocketmq-rust.dashboard\dashboard.db - macOS:
~/Library/Application Support/com.rocketmq-rust.dashboard/dashboard.db - Linux:
~/.config/rocketmq-rust-dashboard/dashboard.db
For more detail, see doc/AUTH_CONFIG.md.
- Rust toolchain
- Node.js and npm
- Tauri platform prerequisites for your OS
npm installnpm run tauri devIf you prefer Cargo:
cargo install tauri-cli
cargo tauri devnpm run build
npm run tauri buildIf you prefer Cargo for packaging:
cargo install tauri-cli
cargo tauri buildNotes:
npm run buildonly builds the frontend assets.npm run tauri buildorcargo tauri buildproduces the desktop package.cargo buildinsidesrc-taurionly builds the Rust backend and does not generate the installer bundle.
Backend:
cd src-tauri
cargo testFrontend:
npm run buildTo reset the local administrator account:
- Stop the application.
- Delete
dashboard.dbfrom the application config directory. - Restart the application.
- Sign in again with the bootstrap password source.
Licensed under either of:
- Apache License, Version 2.0
- MIT license