Skip to content

Repository files navigation

Monark Password Manager Logo

Monark Password Manager

Tauri React Rust License

Monark is a secure, local-first, cross-platform password manager engineered with a zero-knowledge architecture. By combining the safety and performance of Rust with a fast, modern React user interface, Monark delivers desktop-grade encryption and a seamless user experience across platforms.


🔒 Security & Cryptographic Architecture

Monark operates on a strict zero-knowledge security model. All cryptographic processes are performed locally within the secure Rust backend before any sensitive information is persisted or transmitted.

Cryptographic Standards

  • Key Derivation Function (KDF): Argon2id with memory-hard parameters (64MB memory, 3 iterations, 4-thread parallelism) to mitigate brute-force and GPU-accelerated side-channel attacks.
  • Symmetric Encryption: XChaCha20-Poly1305 (IETF variant) authenticated encryption using 256-bit keys and 192-bit random nonces.
  • Entropy Generation: Cryptographically Secure Pseudo-Random Number Generation (CSPRNG) utilizing the operating system's native entropy sources (OsRng).
  • Memory Protection: Automated zeroization of sensitive credentials (ZeroizeOnDrop) to protect against cold-boot attacks and memory forensic extraction.

🚀 Key Features

  • Offline-First & Local-First: Complete data ownership. Your vault is stored locally and encrypted at rest.
  • Cross-Platform Architecture: Built on Tauri v2 to support Windows, macOS, Linux, Android, and iOS natively from a single codebase.
  • Modern Frontend Stack: Powered by React, TypeScript, TanStack Router for type-safe routing, and Tailwind CSS v4 / DaisyUI for highly responsive styling.
  • Rigorous Verification: Robust type safety across the Rust-TypeScript boundary, combined with comprehensive test coverage.

🛠️ Technical Documentation

Detailed specifications and architectural guides are available in the docs directory:


💻 Getting Started

Prerequisites

Ensure you have the following installed on your system:

Installation & Development

  1. Clone the Repository:

    git clone https://github.com/xilistudios/monark.git
    cd monark
  2. Install Workspace Dependencies:

    bun install
  3. Run Development Environment:

    # Run frontend dev server along with Tauri window
    bun tauri dev

    Note for Linux users: If you experience rendering/driver issues, you may need to disable DMA-Buf:

    WEBKIT_DISABLE_DMABUF_RENDERER=1 bun tauri dev

Testing & Linting

Run the test suites and check formatting consistency:

# Run Vitest suite for frontend
bun test

# Run Rust unit/integration tests
bun run test:rust

# Lint codebase with Biome
bun run biome lint .

Production Build

To compile a production-ready installer for your native platform:

bun tauri build

🤝 Contributing

We welcome contributions to Monark. Please adhere to the following development guidelines:

  1. Ensure complete TypeScript type safety across all frontend models.
  2. Maintain strict cargo safety rules in the native wrapper.
  3. Add comprehensive test coverage in Vitest and Cargo test suites for all new features.
  4. Run bun run biome check --write to align with the workspace formatting standard.

📄 License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.

Copyright © 2025-2026 Xili Studios. All rights reserved.

About

Multiplatform password manager

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages