A lightweight IDE built with Rust + Tauri (v2).
| Path | What lives here |
|---|---|
client/ |
Frontend UI served inside the Tauri webview (vanilla JS/CSS — zero build step for now) |
features/ |
IDE features as small, independent Rust crates (editor core, file explorer, terminal, …) |
src-tauri/ |
Tauri app shell: window management, IPC commands, native integration |
dependencies/ |
Manifest of external dependencies and tooling notes |
docs/ |
Architecture notes, decisions, roadmap |
tests/ |
Cross-crate / E2E test harnesses (unit tests live inside each feature crate) |
Prerequisites:
-
Rust (stable) — the workspace uses edition 2021
-
Tauri system libraries, e.g. on Debian/Ubuntu:
sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file \ libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev libgtk-3-dev
Run it (plain cargo, the static frontend gets embedded automatically):
cargo run -p mcodeOptional, for hot-reload dev and bundling:
cargo install tauri-cli --version "^2"
cargo tauri dev # dev window with reload
cargo tauri build # installers / bundlesThe desktop launcher points at a binary inside this repo, so after code changes rebuild and re-point it with one command:
sh scripts/update-desktop-app.shThis builds target/release/mcode (or a debug build with
MCODE_PROFILE=debug sh scripts/update-desktop-app.sh) and updates
~/.local/share/applications/mcode.desktop. Quit and relaunch MCode after.
sh tests/run_smoke.sh # runs `cargo test --workspace` and client checksCargo.lock is committed (application repo).