A lightweight, fast desktop code editor built with Tauri, React, and Monaco — designed to feel like a native app while running on web tech.
- Monaco Editor — the same editor engine that powers VS Code, with the Default Dark+ theme and full syntax highlighting
- Integrated terminal — real PTY-backed shell (zsh/bash), multiple tabs, Cmd+Click to open URLs
- Multi-project tabs — open several folders at once, switch between them instantly
- File tree — browse, create, rename, and delete files and folders; live refresh
- Docx support — open and edit
.docxWord documents directly - Welcome pane — quick-access run commands for common project types (npm, Python, Go, Rust, Docker, etc.)
- Persistent state — open projects and active files are remembered across restarts
| Layer | Technology |
|---|---|
| Shell / packaging | Tauri 2 (Rust) |
| Frontend | React 19 + TypeScript + Vite |
| Editor | Monaco Editor |
| Terminal | xterm.js v6 + FitAddon + WebLinksAddon |
| PTY backend | portable_pty Rust crate |
npm install
npm run tauri devThe dev server starts on localhost:1420 and Tauri opens a native window automatically.
npm run tauri buildThe .app bundle lands in src-tauri/target/release/bundle/macos/.
To install it:
cp -R src-tauri/target/release/bundle/macos/code-editor.app /Applications/code-editor/
├── src/ # React frontend
│ ├── App.css # Global theme (Cursor-style dark palette)
│ ├── components/
│ │ ├── Workspace.tsx # Root layout — toolbar, project tabs, panels
│ │ ├── EditorPane.tsx # Monaco editor wrapper
│ │ ├── TerminalPane.tsx# xterm.js terminal
│ │ ├── WelcomePane.tsx # Landing screen with run commands
│ │ └── DocxEditor.tsx # Word document editor
│ └── lib/
│ └── pty.ts # Tauri IPC wrappers for PTY commands
└── src-tauri/
├── src/
│ ├── main.rs # Tauri app entry point
│ └── pty.rs # PTY spawn / write / resize / kill commands
└── icons/ # App icons (all sizes + .icns + .ico)
The editor uses a custom Cursor-inspired dark palette:
| Token | Value | Use |
|---|---|---|
--bg-0 |
#141414 |
Sidebar, terminal background |
--bg-3 |
#1e1e1e |
Editor body |
--accent |
#007acc |
VS Code blue — active tabs, focus borders |
--accent-2 |
#4ec9b0 |
Teal — file tree directories |
Monaco syntax colors follow the VS Code Default Dark+ spec (no purple tint).
MIT