Skip to content

LeafLock Documentation

Secure, encrypted notes with zero-knowledge architecture. Built for developers, by developers.

LeafLock is a secure notes application with end-to-end encryption, featuring a Go backend with Fiber framework and a React TypeScript frontend. The application uses PostgreSQL for data storage, Redis for session management, and implements zero-knowledge architecture where the server never sees plaintext data.

  • End-to-End Encryption: All note content is encrypted client-side using XChaCha20-Poly1305
  • Zero-Knowledge Architecture: Server never sees plaintext data
  • Modern Tech Stack: Go backend, React frontend, PostgreSQL database
  • Production Ready: Docker support, monitoring, and backup capabilities

Getting Started

Developer guides and setup instructions for getting LeafLock running locally or in production.

Administration

Complete guides for system administrators managing LeafLock instances and users.

Compliance & Legal

Privacy policies, GDPR compliance documentation, and legal information.

  • Backend: Go 1.23+ with Fiber v2, PostgreSQL (pgx driver), Redis, JWT authentication
  • Frontend: React 18, TypeScript, Vite 5, Zustand (state management), TipTap (editor)
  • Encryption: XChaCha20-Poly1305 (client-side), Argon2id (password hashing)
  • Infrastructure: Docker/Podman, PostgreSQL 15, Redis 7