If you study, research, or write code every day, your desktop probably looks like mine used to:

  1. Obsidian or Notion open for Markdown notes and backlinks.
  2. VS Code or a terminal window open to run scripts, vim, or Git commands.
  3. Excalidraw open for spatial diagrams.
  4. A browser tab open to copy-paste context back and forth with an AI assistant.

Alt-tabbing between four heavy apps breaks flow and running multiple Electron apps at once eats gigabytes of RAM just to edit plain text.

So I built Lumina: a 100% local-first, open-source (MIT) desktop workspace powered by Tauri 2.0 + Rust and React 19 + CodeMirror 6 that brings Markdown notes, an infinite canvas, a vault-aware AI copilot, and a real pseudoterminal into a single fast app.

GitHub Repo: Lumina

This lumina agent, you can work with the as like codex or other agents

What Makes Lumina Different from Obsidian & Notion?

Lumina keeps your notes as 100% plain-text .md and .canvas files directly on your disk—zero proprietary databases, zero cloud lock-in—while adding native developer workflows out of the box:

1. Detached Split-Screen 3D WebGL + 2D Canvas Knowledge Graphs

Most note apps give you a single global graph view.

Lumina desktop workspace showing a Markdown note editor, note properties inspector, and integrated bash terminal

In Lumina, graph panes are completely detached—you can open a 3D WebGL cluster graph on the left and a 2D Canvas radial graph on the right side-by-side, with independent cameras, physics simulations, and filters.

(Drag and drop your split-screen 3D + 2D Knowledge Graph screenshot here)

2. A Real Integrated ConPTY / PTY Terminal (Ctrl + J)

Instead of a fake command runner, Lumina embeds a real native pseudoterminal powered by portable-pty in Rust (crates/lumina_core). You can run Git Bash, PowerShell, CMD, Zsh, vim, ssh, python, and interactive CLIs with full Tab completion, Ctrl+C, and split panes right underneath your notes.

3. Vault-Aware AI Copilot with Safety Diffs

Lumina AI works 100% offline with Ollama or with cloud providers (DeepSeek, OpenAI, Claude). You can @-mention notes, audit broken wikilinks, or let the agent draft and refactor files across three modes (Planning & Strategy, Execution & Action, Research & Analysis).

Every file edit proposed by the AI renders an inline Approve / Reject diff card with multi-file Undo—so the agent never silently overwrites your vault.

4. Spatial Infinite Canvas (.canvas) & 50-Theme Exports

Sketch architecture diagrams on a freeform 2D whiteboard with magnetic ports and orthogonal routing, or export notes across 50 curated themes to self-contained HTML, print-ready PDF (with auto-generated TOC), Markdown, .doc, or ZIP archives.

Why I Migrated from Electron to Tauri 2.0 + Rust

Lumina originally started on Electron + N-API, but migrating to Tauri 2.0 transformed both startup speed and memory footprint:

  • Native OS WebView: Renders via WebView2 on Windows and WebKit on macOS/Linux instead of bundling Chromium and Node.js.
  • Direct Rust Core (crates/lumina_core): Multithreaded Rayon disk scanning, sub-millisecond fuzzy search, and graph construction compile straight into the Tauri binary with zero IPC bridge overhead.
  • Non-Blocking Async & Raw Binary IPC: Heavy disk scans, exports, and ConPTY I/O run off the main thread via spawn_blocking, while images, PDFs, and ZIP archives stream as raw binary tauri::ipc::Response buffers instead of JSON byte arrays.
  • Tested End-to-End: Backed by 1,242 Vitest tests and 16 Rust core tests (npm run test:all).

Try It Out or Build from Source

Prebuilt binaries for Windows, macOS, and Linux are available on GitHub Releases, or you can run it locally from source:

git clone [https://github.com/Saboor-Hamedi/lumina.git](https://github.com/Saboor-Hamedi/lumina.git) cd lumina npm install npm run dev