Your thoughts deserve the same protection as your passwords. A beautifully minimal, end-to-end secure journal built with Rust — where privacy, performance, and design meet.
Secure Journal App is a private journaling tool built in Rust that keeps your notes safe and encrypted. Every entry is protected with Argon2 password hashing and rpassword-based encryption, ensuring that your data stays truly yours — even offline.
This isn’t just a journal — it’s a fortress for your thoughts.
- 🧠 Encrypted Entries — Uses
rpasswordto handle passwords securely without exposing them in terminal input. - 🧩 Strong Password Hashing — Implements
argon2to hash and verify master passwords. - ⚡ Async & Fast — Powered by
tokiofor asynchronous, non-blocking operations. - 🎨 Colorized CLI Experience — Beautiful terminal output with
colorizedfor clear and intuitive interaction. - 💾 Next-Gen Database — Uses
SurrealDBfor flexible and secure data storage. - 🧰 Robust Error Handling — Managed with
anyhowfor clear, user-friendly error messages. - 📦 Serialization Made Simple — Data structures powered by
serdefor seamless serialization and deserialization.
| Layer | Technology | Purpose |
|---|---|---|
| 🗄️ Database | SurrealDB | Secure, flexible data persistence |
| 🔒 Encryption | rpassword + argon2 | Protects journal access and data integrity |
| ⚙️ Runtime | Tokio | Async operations & performance |
| 🧰 Error Handling | anyhow | Simplified and consistent error reporting |
| 🧱 Serialization | Serde | Efficient and safe data handling |
| 🎨 UI | Colorized | Clean and vivid command-line experience |
Make sure you have Rust (latest stable) installed.
rustup updategit clone https://github.com/yourusername/secure-journal.git
cd secure-journalcargo build --release
cargo runThe app will prompt you to set a secure password. Your password is hashed with Argon2, and entries are encrypted using rpassword mechanisms.
secure-journal/
│
├── src/
├── main.rs
├── db.rs
│--auth
| |--delete.rs
| |--entires.rs
| |--login.rs
| |--mod.rs
| |--signup.rs
| |--validate.rs
|--common
| |--error.rs
| |--mod.rs
| |--utils.rs
|
|--helpers
| |--export.rs
| |--import.rs
| |--mod.rs
|
|--models
| |--mod.rs
| |--models.rs
|
/
/
/
|
├── Cargo.toml
└── README.md
- Encrypted cloud sync option
- Integrating Axum
- Adding a UI framework like Yew/Dioxus
Fast. Safe. Fearless.
This project is licensed under the MIT License — see the LICENSE file for details.