Repository navigation
Home
A local-first, privacy-respecting, extensible knowledge operating system for thinkers, builders, and teams.
H.A.N. (Hierarchical Adaptive Notebook) is a modern, local-first note-taking and knowledge management platform designed to bridge the gap between simple Markdown editors, visual diagramming tools, task managers, and architecture decision trackers.
Unlike proprietary SaaS tools that lock your thoughts into proprietary databases in the cloud, H.A.N. keeps 100% of your data as standard plain-text Markdown (.md) files on your local file system. You own your data forever.
H.A.N. is available both as a blazing-fast native macOS desktop application (powered by Tauri & Rust) and as a zero-install web application running directly in Chromium browsers via the modern File System Access API.
- Local-First & Future-Proof: All notes, metadata, tasks, decisions, and diagrams are stored in transparent, open formats (Markdown with YAML frontmatter and standard HTML comments) on your storage device.
- Dual-Engine Visual Power: Effortlessly mix deep textual documentation with visual diagrams (YADA architecture models, Excalidraw whiteboards, and Mermaid diagrams).
- Actionable Knowledge: Turn static notes into an active workflow engine with global task aggregation, interactive Gantt timelines, and Architecture Decision Records (ADRs).
-
Connected Thinking: Bidirectional wiki-links (
[[note]]), automatic backlinks, and an interactive Cytoscape knowledge graph let you discover connections organically. - Private & Local-First AI: Integrated AI assistant and Hybrid Search with local vector embeddings running in your browser/desktop using WebWorkers and ONNX. No sensitive notes sent to third-party vector databases.
- Built-in Time Machine: Native Git versioning lets you track every edit, view visual diffs, and restore any note to any point in time with one click.
- Zero-Knowledge P2P Sync: Synchronize across desktop and mobile devices directly over WebRTC with client-side AES-GCM 256 encryption. Zero accounts, zero cloud storage, zero vendor lock-in.
| Feature Domain | Capabilities |
|---|---|
| 📝 Editor | Live Preview & Raw CodeMirror 6 editor, Slash Commands (/), Notion-style tables, Callout alerts ([!NOTE], [!WARNING], [!TIP]), Code blocks with 100+ languages syntax highlighting, Resizable images, Emoji autocomplete (:smile:). |
| 📐 Diagrams & Sketches | Embedded YADA (architecture & system flowcharts), embedded Excalidraw (freehand whiteboard & sketching), Mermaid diagrams, portable PNGs with embedded editable tEXt vector metadata. |
| 📑 PDF & Research | Smart PDF Import with folder placement, AI-powered structured Markdown extraction, Two-column academic flow reconstruction (Rust/WASM), Side-by-side Split Reader with HiDPI/Retina rendering, One-click quote citations (> [!QUOTE]), Deep page linking (#page=X), Clean paginated PDF export. |
| ✅ Task Management | Standard Markdown checklists (- [ ]), rich metadata (Priority, Multi-Assignees, Start/End Dates, Progress %, Tags), Inline editor modal, Global Task list, Filters, interactive Gantt timeline view. |
| 📋 Decisions (ADR) | Architecture Decision tracking (- [D]), status tracking (Approved, Draft/Pending, Deferred), Participants, Approvers, Timeline & Grid view, Analytics & Metrics cards. |
| 🔗 Knowledge Graph | Wiki-links ([[note-name]]), automatic backlink aggregation, interactive Cytoscape knowledge graph / mindmap with force-directed physics layout (fcose). |
| 🤖 AI & Semantic RAG | On-device embedding generation via WebWorker (all-MiniLM-L6-v2), IndexedDB vector database, note-scoped and global chat sessions, attached note context, streaming responses with <think> reasoning extraction. |
| 🔍 Search | Quick modal (Cmd/Ctrl+K), Hybrid Search (Full-Text Search + Semantic Vector embeddings), Real-time note preview. |
| 🔄 P2P Encrypted Sync | Direct device-to-device WebRTC sync, Zero-Knowledge AES-GCM 256 E2EE, Ephemeral QR code camera pairing, 16 KiB packet chunking & flow control, Tombstone soft-deletion (no resurrection), IndexedDB mobile companion. |
| ⏳ Git Versioning | Integrated Git engine (Tauri native & isomorphic-git for web), auto-commit snapshots, visual line diffs, note-level rollback time machine, remote sync (GitHub / GitLab). |
| 🗂️ Vault Management | Multi-level folder tree, drag-and-drop file organization, tag management, fast vault switching. |
| 🎨 Customization | 6 built-in themes (Light, Dark, Nord, Dracula, Synthwave, Retro), adjustable typography scale, Multilingual UI (English & Turkish). |
Explore the complete documentation pages below:
- Getting Started: Installation, platform support, vault setup, and keyboard shortcuts.
- Editor & Markdown Guide: Full guide to Live Preview, slash commands, callouts, tables, and formatting.
- Vault & File Management: Folder structures, drag-and-drop, tagging, and storage internals.
- Visual Diagramming & Sketching: YADA architecture diagrams, Excalidraw sketches, Mermaid flowcharts, and portable PNGs.
- PDF Workflows & Research: PDF import, AI structured extraction, side-by-side split reader, one-click citations, and PDF export.
- Task Management & Gantt: Checklist syntax, task metadata, global task tracking, and Gantt charts.
- Decision Tracking (ADR): Documenting decisions, tracking approval status, timeline views, and metrics.
- Knowledge Graph & Mindmap: Wiki-links, backlinks, graph exploration, and node navigation.
- P2P Encrypted Sync & Mobile: Zero-backend WebRTC sync, AES-GCM encryption, QR pairing, chunking engine, and mobile companion guide.
- Git Versioning & Time Machine: Commit history, visual diffs, note rollback, and remote sync.
- AI Assistant & Local RAG: Configuring LLM providers, local vector embeddings, thinking processes, and chat sessions.
- Search & Navigation: Quick search, hybrid search (keyword + semantic), and note previewing.
- Settings & Customization: Themes, typography, languages, and custom configurations.
-
Architecture & Development: Rust crate (
han-core), WebAssembly, Tauri backend, React 19 architecture, and build guide.