Skip to content
Proyectos

Acerca de

Built for developers, researchers, and writers tired of juggling notes, code, whiteboards, and terminals.

Productividad y automatización

Cómo se miden estas cifras

What you can do

  • 100% Local-First Markdown — Notes live as standard .md files on your filesystem with instant disk sync and rich cover headers.
  • Native Rust Core (crates/lumina_core) — Multithreaded Rayon disk scanning, sub-millisecond fuzzy search, and knowledge graph construction compiled directly into the Tauri binary.
  • Integrated ConPTY / PTY Terminal (Ctrl + J) — Real native pseudoterminal powered by portable-pty in Rust. Run Git Bash, PowerShell, CMD, Zsh, vim, ssh, python, and interactive CLIs with full Tab completion, Ctrl+C, and resizing right inside your workspace.
  • Multi-Pane Split Views — Drag tabs to split horizontally or vertically (Ctrl + \ / Ctrl + Alt + \) with persistent pane layouts.

Crecimiento de estrellas medido

in 24h
0
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Lumina

Local-first Markdown, Infinite Canvas, AI Copilot, and a Real Terminal.
A native desktop thinking environment built with Tauri 2.0, Rust, and React 19: plain-text .md & .canvas files, 18 studio themes, and zero cloud lock-in. Free and open source.

Latest release CI status macOS, Windows and Linux Built with Tauri 2.0 and Rust MIT license

Download for macOS   Download for Windows   Download for Linux

Website · Download · Features · Shortcuts · Build · Contributing · Donate

https://github.com/user-attachments/assets/401b0c3b-976c-4578-bc70-2fd9216b0747

[!NOTE] Lumina is actively developed and open source under MIT. If you hit a bug or want to help build a feature, please open an issue or read CONTRIBUTING.md to submit a pull request.

Why Lumina

Lumina is built for developers, researchers, and writers who are tired of bouncing between Obsidian, VS Code, a whiteboard app, and an external terminal.

  • Your notes are just files. Everything lives on your disk as 100% plain-text .md and .canvas files. Sync with Git, iCloud, Syncthing, or anything you like — zero lock-in, full privacy.
  • Native Rust speed. Powered by a native Tauri 2.0 + Rust backend directly linked with crates/lumina_core for multithreaded Rayon vault indexing, sub-millisecond fuzzy search, and a real ConPTY/PTY terminal engine.
  • Focused Islands & Classic UI. Pair a crisp React 19 + CodeMirror 6 editor with 18 curated studio themes, per-workspace profiles, multi-pane splits, and an offline-capable AI copilot.

Highlights

  • 100% Local-First Markdown — Notes live as standard .md files on your filesystem with instant disk sync and rich cover headers.
  • Native Rust Core (crates/lumina_core) — Multithreaded Rayon disk scanning, sub-millisecond fuzzy search, and knowledge graph construction compiled directly into the Tauri binary.
  • Integrated ConPTY / PTY Terminal (Ctrl + J) — Real native pseudoterminal powered by portable-pty in Rust. Run Git Bash, PowerShell, CMD, Zsh, vim, ssh, python, and interactive CLIs with full Tab completion, Ctrl+C, and resizing right inside your workspace.
  • Multi-Pane Split Views — Drag tabs to split horizontally or vertically (Ctrl + \ / Ctrl + Alt + \) with persistent pane layouts.
  • AI Copilot with Safety Controls — Works offline with Ollama or with cloud providers (DeepSeek, OpenAI, Claude) across 3 focused modes (Planning & Strategy, Execution & Action, Research & Analysis), plus voice transcription, inline Approve / Reject diff cards, and multi-file Undo.
  • Spatial Infinite Canvas (.canvas) — Freeform 2D whiteboard with shapes, magnetic ports, and orthogonal routing.
  • 2D & 3D Knowledge Graph — Interactive force-directed 2D Canvas and 3D WebGL graph views with cluster physics and persistent node positions.
  • Global Spotlight (Ctrl + Space) & Workspace Switcher (Ctrl + Alt + W) — Instant note search, command palette, and per-workspace theme/accent/AI-mode profiles.
  • Zen Mode (Ctrl + .) — Hides chrome and toolbars while preserving running terminal sessions, with layered Escape handling.
  • 18 Curated Studio Themes & Theme-Accurate Exports — Switch between 14 dark and 4 light themes with live UI previews, and export notes to self-contained HTML, Markdown, Plain Text, print-ready PDF (with auto-generated TOC), Word (.doc), or ZIP archives.
  • Direct Google Drive Push — Push a Single note, Bulk folder mirror, or compressed ZIP workspace backup directly to Google Drive.

Download

Download for macOS   Download for Windows   Download for Linux

Download the installer for your platform from the Latest GitHub Release:

Platform Installer Notes
macOS (Apple Silicon & Intel) Lumina_2.4.0_universal.dmg Drag Lumina.app to Applications. Because builds are not yet Apple-notarized, run xattr -cr /Applications/Lumina.app once in Terminal if Gatekeeper blocks opening.
Windows (x64) Lumina_2.4.0_x64-setup.exe If Windows SmartScreen appears on first launch, click More info → Run anyway. (.msi also available on Releases.)
Linux (Portable) Lumina_2.4.0_amd64.AppImage Make executable via chmod +x Lumina_*_amd64.AppImage and run.
Linux (Debian / Ubuntu) Lumina_2.4.0_amd64.deb Install via sudo apt install ./Lumina_*_amd64.deb

Every release and its SHA256SUMS.txt checksums are published on GitHub Releases.


Essential Shortcuts

Shortcut Action
Ctrl + Space Global Spotlight (Search notes & open command palette)
Ctrl + P Quick note & command search palette
Ctrl + Alt + W Switch workspace
Ctrl + N Create new note
Ctrl + J Toggle integrated ConPTY / PTY terminal
Ctrl + . Toggle Zen Mode
Ctrl + B Toggle Left Sidebar
Ctrl + \ Split editor right
Ctrl + Alt + \ Split editor down
Ctrl + K Inline AI edit / prompt inside editor
F2 / Ctrl + R Rename active note or folder
Ctrl + W Close active tab
Double-click Tab Rename note from tab bar

Build from Source

Prerequisites

  • Node.js 20+ (LTS) and npm
  • Rust toolchain (rustc 1.90+ and cargo)
  • Tauri 2.0 OS prerequisites:
    • Windows: Microsoft Edge WebView2 + Visual Studio C++ Build Tools
    • macOS: Xcode Command Line Tools
    • Linux: WebKitGTK (libwebkit2gtk-4.1-dev) and standard build essentials
# 1. Clone the repository
git clone https://github.com/Saboor-Hamedi/lumina.git
cd lumina

# 2. Install frontend dependencies
npm install

# 3. Start full Tauri 2.0 desktop development mode (Vite HMR + Rust backend)
npm run dev

# Or run only the Vite frontend renderer during UI work
npm run dev:renderer

Packaging Installers

npm run build:win    # Windows (.exe / MSI installer)
npm run build:mac    # macOS (Universal .dmg)
npm run build:linux  # Linux (AppImage / .deb)

Migrated from Electron to Tauri 2.0

Lumina moved off Electron + N-API onto Tauri 2.0 to keep the app lean, native, and responsive:

  • OS Native WebView — Renders via WebView2 on Windows and WebKit on macOS/Linux instead of bundling Chromium and Node.js.
  • Direct Rust Linking — crates/lumina_core compiles straight into src-tauri with zero Node.js runtime or N-API bridge overhead.
  • Non-Blocking Async & Raw Binary IPC — Tauri commands offload disk scans, fuzzy search, exports, and ConPTY I/O via spawn_blocking, while images, PDFs, and ZIP archives stream as raw binary tauri::ipc::Response buffers instead of JSON byte arrays.
  • Lean Boot & Paper-and-Ink UI — Uses a curated Lucide icon registry, curated highlight.js/lib/core languages, zero-blur "Precision Paper & Ink" tokens, and 6 DRY UI primitives (src/renderer/src/ui/).

Architecture

lumina/
├── crates/lumina_core/        # Native Rust core (Rayon scanner, fuzzy search, graph builder)
├── src-tauri/                 # Tauri 2.0 Rust backend
│   ├── tauri.conf.json        # Window, bundle, and CSP configuration
│   └── src/
│       ├── commands.rs        # Async Tauri IPC commands, ConPTY engine, Google OAuth
│       ├── export.rs          # Async export, Markdown bundle, and ZIP builders
│       └── lib.rs             # App setup & command registration
└── src/renderer/src/          # React 19 UI
    ├── assets/tokens.css      # Paper & Ink design tokens and motion/elevation variables
    ├── ui/                    # 6 DRY UI primitives (Button, Popover/Menu, Dialog, Field/SearchInput, Tooltip, PulseLoader)
    ├── core/                  # Tauri IPC bridge, Zustand stores, CodeMirror 6 extensions, shortcuts
    └── features/              # Feature modules (Editor, AI + Safety, Terminal, Canvas, Graph, Explorer, Layout)

Testing

Lumina requires passing TypeScript checks, Vitest unit/integration tests, Rust core tests, and end-to-end verification before merging any PR:

npm run test:all    # Run typecheck, Rust core tests, and Vitest suite
npm run typecheck   # TypeScript verification
npm run test:run    # Vitest unit & integration suite
npm run test:rust   # Cargo core unit tests

Contributing

We welcome contributors across every part of the stack! Whether you enjoy crafting pixel-accurate UI, tuning CodeMirror extensions, hardening Rust IPC, or writing thorough tests, there is a clear role for you:

Role Focus Areas
UI & Design Systems Islands & Classic shell polish, theme tokens (tokens.css), src/renderer/src/ui/ primitives, accessibility, and Windows/macOS/Linux parity
Editor, Canvas & Graph CodeMirror 6 extensions, Markdown ergonomics, infinite .canvas whiteboard, and 2D/3D Knowledge Graph
AI Copilot & Voice Tool calling, diff safety controls, local Ollama & cloud providers, and voice transcription workflows
Rust Core & Tauri crates/lumina_core indexing/search, src-tauri async IPC commands, ConPTY/PTY terminal, and native packaging
QA & Testing Vitest unit/integration tests, Rust core tests, and end-to-end (E2E) workflow verification

Before Opening a Pull Request

  1. UI must align with Lumina's design language — Reuse existing CSS tokens (tokens.css) and primitives (src/renderer/src/ui/), and verify both Islands (Modern) and Classic layouts across Dark and Light themes.
  2. Run unit tests — npm run test:all (TypeScript typecheck + Rust lumina_core tests + Vitest suite) must pass with zero failures, and new behavior should include unit tests.
  3. Run E2E verification — Launch the app (npm run dev), exercise your feature end-to-end (keyboard shortcuts, theme switching, edge cases, and persistence), and document your E2E verification steps in the PR description.

Read the full guide in CONTRIBUTING.md.


Documentation

Design specs and architecture notes live in brain/:


License

Released under the MIT License.

Star History


Support Lumina

Lumina is free, open source, and local-first with zero subscriptions or cloud lock-in. If Lumina helps your daily workflow, consider supporting ongoing updates, new features, and maintenance:

Donate via PayPal   Buy Me a Coffee   Donate via Saweria (QRIS / ID Banks)

Explorar proyectos relacionados

Cargando…