Personal Digital Archive Vault π
Your data belongs to you. Zero-knowledge encryption, terminal-first design, no compromises.
Lembaran is a zero-knowledge encrypted note vault that gives you complete control over your data. Built for developers who value privacy, it encrypts everything locally using industry-standard AES-GCM 256-bit encryption with Argon2id key derivation β meaning nobody can read your notes, not even the developers.
- Local-First: All data stays on your device. No cloud sync, no telemetry, no tracking.
- Zero-Knowledge: Encryption happens before data touches storage. We never see your data.
- Terminal-First: Premium CLI/TUI experience for power users who live in the terminal.
- Open Source: MIT licensed, auditable, and extensible.
| Feature | Lembaran | Typical Note Apps |
|---|---|---|
| Encryption | AES-GCM 256 + Argon2id | Proprietary or none |
| Data Location | Your device only | Cloud servers |
| Knowledge Model | Zero-knowledge | Full access |
| Terminal Support | β Native TUI | β Rarely |
| Open Source | β MIT | β Usually closed |
| Offline | β Fully functional | β Often limited |
# Fastest method (recommended)
curl -sS https://lembaran.id/install.sh | bash
# Via Bun
bun install -g @lembaranz/cli
# Via npm
npm install -g @lembaranz/cli# Launch interactive TUI
lembaran launch
# Create your first note
lembaran write
# Manage project environments (.env files)
lembaran config- AES-GCM 256-bit encryption β Industry standard, hardware-accelerated
- Argon2id key derivation β Memory-hard, GPU/ASIC resistant
- Auto-lock β Locks after 60 seconds of inactivity
- Panic key β Emergency wipe with a special password
- Integrity hashing β Tamper detection on every note
- Recovery mnemonic β 12-word BIP39-style backup phrase
lembaran launch # Interactive TUI dashboard
lembaran write # Create or edit notes
lembaran config # Manage .env project profiles
lembaran import # Import markdown files or restore backups
lembaran search # Search through encrypted notes
lembaran export # Export encrypted backup
lembaran browse # Browse notes by tags
lembaran monitor # Monitor vault status
lembaran security # Security settings
lembaran settings # Application settings- Landing page with documentation (lembaran.id)
- Full note management with rich text editor
- Multi-language support (English, Indonesian)
- Note: Web is for documentation & showcase. Vault operations run in CLI/TUI.
| Layer | Technology |
|---|---|
| Runtime | Bun 1.3+ / Node.js 20+ |
| Language | TypeScript 5.x |
| Encryption | @noble/ciphers (AES-GCM) + @noble/hashes (Argon2id) |
| CLI Framework | Ink (React for Terminal) |
| Web Framework | Next.js 16, React 19, Tailwind CSS v4 |
| State | Zustand |
| Rich Text | TipTap |
| On-device AI | WebLLM (optional) |
lembaran/ (Monorepo)
βββ packages/
β βββ core/ # @lembaranz/core β Encryption engine & storage
β βββ cli/ # @lembaranz/cli β Terminal interface (TUI)
β βββ web/ # Landing page & documentation (private)
βββ docs/ # Technical documentation
βββ .github/workflows/ # CI/CD (lint, build, release, security scans)
User Password βββ
βββ Argon2id βββΊ Password Key βββ
βΌ
Random βββΊ Master Key (AES-256) βββΊ Wrap βββΊ Storage
β²
Note Content βββββββββββββββββββββββ (encrypt with Master Key)
- Master Key: Randomly generated, never stored in plaintext
- Wrapped Key: Master Key encrypted with Password Key, stored for unlock
- Recovery: Separate mnemonic path with its own wrapped key
- Per-field Encryption: Each note field encrypted independently
We welcome contributions from developers worldwide!
# 1. Fork and clone
git clone https://github.com/YOUR_USERNAME/lembaran.git
cd lembaran
# 2. Install dependencies
bun install
# 3. Run tests
bun test
# 4. Lint & build
bun run lint && bun run build- Use English for code comments and documentation
- Follow Conventional Commits:
feat:,fix:,docs:,chore: - Ensure tests pass:
bun test && bun run lint - Update documentation for new features
- Use Changesets for version management
Distributed under the MIT License.
- Issues: Report bugs or request features
- Discussions: Q&A and general discussion
- Email: agen.salva@gmail.com
Found a security vulnerability? Please do not open a public issue. Email us directly at agen.salva@gmail.com with details.
See SECURITY.md for our security policy.
Version: 3.5.0 | Status: Production Ready
Made with β€οΈ for data sovereignty
