You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI interactive REPL: Launch librecrate with no arguments for a persistent shell — enter vault and password once, then run commands without re-typing credentials. Supports readline (history, line editing, ctrl-c/ctrl-d).
CLI one-shot mode: All commands available as one-shot invocations (librecrate <cmd> <vault_dir> -p <password>) for scripting and automation.
CLI commands: init, import, list, open, delete, search, backup, restore — full document lifecycle from the terminal.
Desktop GUI (Iced): Native desktop application with vault creation, unlock, document library, multi-file import, collections, tags, backup/restore, and password change.
Shared vault operations module: vault_ops in core provides VaultSnapshot, export_vault_dir, merge_vault_dir, and restore_backup_to_dir — shared business logic for CLI, GUI, and Android.
Cross-platform backup compatibility: Backups created on Android can be restored on desktop (CLI/GUI) and vice versa.
Multi-file import (GUI): Import multiple documents at once via file picker.
Collections & Tags (GUI): Organize documents into collections and assign tags from the desktop GUI.
Backup password verification: CLI backup command verifies the password (derives master key) before encrypting, preventing silent corruption.
Architecture
vault_ops module (core/src/vault_ops.rs): Shared business logic for backup export, merge, and full restore — used by both CLI and GUI.
Session struct (cli/src/session.rs): Caches vault dir, password, and pre-derived master key for the REPL lifetime, avoiding ~1s Argon2id re-derivation per command.