Keeper Desktop is a a secure, cross-platform desktop app for using hardware wallets with the Bitcoin Keeper mobile app.
- Rust: Make sure you have Rust installed. If not, visit https://www.rust-lang.org/tools/install for installation instructions.
- Node.js and npm: Please ensure you have Node.js and npm installed. You can download them from https://nodejs.org/.
-
Clone the repository:
git clone https://github.com/bithyve/keeper-desktop.git cd keeper-desktop
-
Install dependencies:
npm install
-
Run the development build:
npm run tauri dev
To create a production build:
npm run tauri build
To see log output while running the app:
RUST_LOG=info npm run tauri dev
set RUST_LOG=info && npm run tauri dev
$env:RUST_LOG="info"; npm run tauri dev
You can adjust the log level by changing info
to debug
, warn
, or error
as needed.
Log messages will appear in the terminal where you run the command.
We use several tools to maintain code quality and consistency:
-
Linting:
- For JavaScript/TypeScript: ESLint
- For Rust: Clippy Run linting checks with:
npm run lint # For JS/TS npm run tauri:lint # For Rust
-
Formatting:
- For JavaScript/TypeScript: Prettier
- For Rust: rustfmt Check formatting with:
npm run format:check # For JS/TS npm run tauri:format:check # For Rust
Apply formatting with:
npm run format # For JS/TS npm run tauri:format # For Rust
-
Continuous Integration (CI): We use GitHub Actions for CI. The workflow runs on pull requests to
main
,dev
, andrelease
branches. It includes:- JavaScript/TypeScript linting and formatting checks
- Rust linting and formatting checks
You can find the CI configuration in
.github/workflows/ci.yml
.
Before submitting a pull request, please ensure that your code passes all linting and formatting checks.
This project is licensed under the MIT License.