Skip to content

Repository files navigation

LeVaia - Lightweight Code Editor

A minimal, fast code editor built with Tauri v2, React, and Monaco Editor.

Download

Get the latest release from the Releases page.

macOS Installation

After downloading the .dmg file, you may see a warning that "LeVaia is damaged and can't be opened." This happens because the app is not code-signed with an Apple Developer certificate.

To fix this, run the following command in Terminal:

xattr -cr /Applications/LeVaia.app

Then open the app normally.

Features

  • File Explorer - Recursive directory tree with expand/collapse
  • Monaco Editor - Syntax highlighting, code formatting (no LSP/diagnostics)
  • Integrated Terminal - xterm.js with PTY support (bash/zsh on Mac/Linux, PowerShell on Windows)
  • Tab Management - Multiple file tabs with dirty indicators
  • Quick Open - Fuzzy file search (Ctrl+P)
  • Dark Theme - VS Code-inspired dark aesthetic

Prerequisites

  1. Node.js 18+ - https://nodejs.org/
  2. Rust - https://rustup.rs/
  3. Platform-specific dependencies:
    • macOS: Xcode Command Line Tools (xcode-select --install)
    • Linux: sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
    • Windows: Microsoft Visual Studio C++ Build Tools

Setup

# Install dependencies
npm install

# Development mode
npm run tauri dev

# Build for production
npm run tauri build

Keyboard Shortcuts

Shortcut Action
Ctrl+S Save file
Ctrl+W Close tab
Ctrl+Tab Next tab
Ctrl+P Quick file open
Ctrl+B Toggle sidebar
Ctrl+` Toggle terminal
Ctrl+Shift+E Focus file explorer
Ctrl+F Find
Ctrl+H Replace
Shift+Alt+F Format document

Project Structure

src/                    # React frontend
  components/           # UI components
    FileExplorer/       # File tree
    Editor/             # Monaco editor + tabs
    Terminal/           # xterm.js terminal
    MenuBar/            # Menu and window controls
    QuickOpen/          # File search modal
  hooks/                # Custom React hooks
  stores/               # Zustand state management
  lib/                  # Utility functions

src-tauri/              # Rust backend
  src/
    main.rs             # Entry point
    lib.rs              # Plugin registration
    commands/           # Tauri commands
      filesystem.rs     # File operations
      pty.rs            # Terminal PTY management

Tech Stack

License

MIT

About

Lightweight code editor built with Tauri v2, React, and Monaco Editor

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages