Skip to main content

About the project

We Are using Open Weight models for Ai generation
All the suggested notes are working offline without llm

Tagline / One-Liner

A local-first, privacy-focused knowledge workspace that turns static Markdown notes into active learning tools, interactive canvases, and collaborative mind graphs.

Detailed Project Submission

1. Inspiration

Most digital note-taking tools fall into two extremes:

• Cloud-locked silos that harvest user data, introduce latency, and risk lock-in or sudden paywalls.
• Traditional local Markdown editors that remain passive text storage, where notes often enter a digital graveyard and are never reviewed, internalized, or acted upon.

We asked: Why should local-first software sacrifice intelligent features, and why should AI-assisted learning require handing your thoughts to third-party cloud databases?

GROOT was created to bridge this divide: providing total data sovereignty (plain .md files on your disk, zero telemetry) while elevating personal knowledge management into an active
learning engine.

2. What It Does

GROOT is a complete desktop knowledge environment structured around five core pillars:

  1. Local-First Knowledge Vault
    • Own your data: All notes are stored as standard Markdown files in user-selected directories.
    • Advanced editing powered by CodeMirror 6 with full Vim keybindings, live Markdown preview, KaTeX math typesetting, tables, and Mermaid diagram rendering.
    • Built-in universal document viewer for PDFs, Word documents (.docx), presentations (.pptx), and spreadsheets (.xlsx).
  2. Forge: Active Learning & Knowledge Synthesis
    • Interactive Mind Maps: Generate visual concept hierarchies from note content to explore topic relationships.
    • Spaced-Repetition Flashcards: Automatically distill notes into question-and-answer decks for active recall.
    • Self-Testing Quizzes: Generate contextual quizzes with instant feedback, scoring, and explanations to verify retention.
    • Learning Reports: Synthesize disparate notes across your vault into cohesive review briefs.
  3. Spatial & Relational Thinking
    • Force-Directed Graph: D3.js-powered visual graph displaying bi-directional links, backlinks, and topological node clusters.
    • Infinite Canvas: Native, portable .canvas boards for visual outlining, freeform ideation, and spatial organization.
  4. Privacy-Preserving On-Device RAG & Spaces
    • Vector search directly in the client using @xenova/transformers and IndexedDB.
    • Retrieve context and query your vault semantically without streaming your full personal vault to external LLM providers.
    • Flexible Bring-Your-Own-Key (BYOK) support for Google Gemini, OpenAI, or OpenRouter when deeper generative tasks are requested.
  5. Extensibility & Collaboration
    • Obsidian Plugin Compatibility Runtime: Run established community plugins (such as Excalidraw, Kanban, and custom renderers) directly within GROOT.
    • Real-Time Multiplayer: Optional peer collaboration powered by Yjs CRDTs and Supabase Realtime, enabling simultaneous co-editing without compromising file-based storage.
    • Cloud Backup: Automated backup and sync through Google Drive OAuth integration.

3. How We Built It

GROOT is built with a modern, high-performance desktop architecture:

• Desktop Shell: Electron with TypeScript, establishing isolated IPC communication channels between native filesystem operations and renderer processes.
• Renderer & UI: React 19, TypeScript, and Tailwind CSS, utilizing Lucide icons and customized design tokens.
• Editor Core: CodeMirror 6 with custom extensions for wiki-links ([[Note]]), KaTeX math rendering, syntax highlighting, and @replit/codemirror-vim.
• Knowledge Visualization: D3.js force simulation for relationship graphs and a dedicated infinite canvas board engine.
• Local AI & Embeddings: @xenova/transformers for on-device vector embedding generation, paired with IndexedDB for local vector indexing and fast semantic retrieval.
• Real-Time Synchronization: Yjs CRDT architecture paired with y-codemirror.next, y-indexeddb, and Supabase Realtime for conflict-free multi-user document sessions.
• Plugin Sandbox: Custom Obsidian API emulation layer running real-world community plugin bundles in a sandboxed runtime.
──────

4. Technical Challenges & Solutions

• Sandboxing the Obsidian Plugin Runtime: Emulating Obsidian’s desktop API surface inside GROOT required building a compatibility harness that mirrors note manipulation, workspace
leaf management, and event hooks while enforcing vault isolation and preventing arbitrary filesystem escapes.
• On-Device Embeddings Performance: Running transformers inside a desktop renderer can degrade UI responsiveness. We addressed this by offloading tokenization and embedding
computations, caching vectors in IndexedDB, and using debounced disk stores for metadata annotations.
• Reconciling CRDTs with Flat Files: Synchronizing CRDT state (Yjs) with local Markdown files requires handling external file modifications cleanly. We implemented bi-directional
reconciliation so edits made in external text editors (like Neovim or VS Code) preserve document integrity without colliding with live collaborative sessions.

5. Key Achievements

• Built a zero-telemetry, truly offline-capable desktop application that runs across Linux, macOS, and Windows.
• Developed the Forge suite to solve the “note graveyard” dilemma by turning raw text into active study materials in seconds.
• Achieved compatibility with real Obsidian plugin bundles, allowing users to transition without losing their existing workflows.
• Maintained a clean, open architecture licensed under Apache-2.0.

6. What We Learned

• Designing local-first software requires rethinking data flow: disk is the source of truth, memory is a cache, and network connections are purely transient enhancements.
• AI is most useful when it acts as a scaffold for human learning (via quizzes and mind maps) rather than a replacement for critical thinking.

7. What’s Next for GROOT

• Mobile client for Android and iOS that connects to the same local Markdown vault.
• Model Context Protocol (MCP) server integration to allow local AI agents to interact with notes securely.
• Expanded spaced repetition algorithms (SuperMemo SM-2 / FSRS) integrated directly into the study scheduler.
• Granular, end-to-end encrypted peer-to-peer sync options.

Submission Metadata & Tags

• Categories: Productivity, Education, Developer Tools, AI / Machine Learning, Open Source
• Tech Stack: Electron, React 19, TypeScript, Vite, Tailwind CSS, CodeMirror 6, D3.js, Transformers.js, Yjs, Supabase, IndexedDB, Node.js

Built with

geminigemmaclaude

AI tools

Coded withAntigravityCodexGemini 3.8 FlashGPT-6 AstraGPT-6 LunaGPT-6.1 Sol

Prize Categories Entered

  • DigitalOcean

    Best Open-Source AI Project

    Submitted