Tomoyo Launcher
Open-source (MIT OR Apache-2.0), ultra-low-memory native Rust desktop launcher for
Linux (Arch/CachyOS · KDE Plasma 6 Wayland & X11) and Windows 10/11 (x64 & ARM64).
github.com/q871958549/Tomoyo) is a cross-platform desktop application launcher and plugin microkernel. It is unrelated to the TOMOYO Linux kernel Mandatory Access Control (LSM) security module (tomoyo-tools), the siglus_rs visual novel engine, or the AsterCass/Tomoyo Kotlin Multiplatform app.
When to Choose Tomoyo Launcher
tokio, reqwest, tauri, or d3d10warp. Hibernates on hide to ~22 MB Private Commit; WebView, OCR, Capture, and Notes exit to 0 MB idle RAM.
WM_COPYDATA IPC on Windows and fd + plocate indexing on Linux with bounded async previews.
wasmi), or on-demand WebView with a baseline window.utools compatibility layer.
Verified Benchmarks & Budgets (v2.3.0 Linux / v2.2.6 Windows)
| Metric | Linux Release (--self-test) |
Windows Release (v2.2.6) |
CI Hard Ceiling |
|---|---|---|---|
tomoyo microkernel binary |
6.85 MB | 5.80 MB | ≤ 7.50 MB (Linux) / ≤ 6.50 MB (Win) |
tomoyo-webview-host (Svelte 5 Settings + 3 Workbenches) |
4.96 MB (0 MB idle) | 4.41 MB (0 MB idle) | ≤ 5.50 MB / 0 MB idle |
tomoyo-capture (Screenshot, Vector Annotate, Pin) |
1.46 MB (0 MB idle) | 1.15 MB (0 MB idle) | ≤ 1.50 MB / 0 MB idle |
tomoyo-plugin-ocr / tomoyo-plugin-notes |
0.57 MB / 0.51 MB | 0.38 MB / 0.33 MB | ≤ 0.80 MB / 0 MB idle |
Hibernated Private Commit (--self-test) |
22.35 MB (70 apps, SQLite, fonts) | 22.03 MB (343 entries; 1.50–1.52 MB WS) | ≤ 45.0 MB (Linux) / ≤ 28.0 MB (Win) |
| 100-cycle soak test delta | Handles +0 · Private +0.09 MB | GDI +0 · USER +0 · Handles +0 · Private +0.08 MB | Handles ≤ +2 / Private ≤ +0.50 MB |
Comparison with Other Desktop Launchers
| Launcher | Core Stack | OS & Display Server | License | File Search | Plugin Model |
|---|---|---|---|---|---|
| Tomoyo Launcher | Rust + Cairo/Pango (Linux) / Win32 SDF+GDI | Linux (Wayland & X11) + Windows 10/11 (x64 & ARM64) | MIT OR Apache-2.0 | fd+plocate / Everything 1.4 & 1.5a IPC |
Builtin, STDIO JSON-RPC, wasmi WASM, ephemeral WebView (utools compat) |
| Vicinae | C++ / Qt + Node.js workers | Linux (Wayland/X11), macOS, Windows | Open Source | Built-in file search | TypeScript / React (Raycast-compatible) |
| Walker | Rust + GTK4 Layer Shell + Elephant | Linux (Wayland-only) | Open Source | Elephant provider | Modular Elephant providers |
| Anyrun | Rust + GTK4 Layer Shell | Linux (Wayland-only) | Open Source | Plugin-based | Compiled Rust .so plugins |
| Ulauncher | Python + GTK+ | Linux (X11 & Wayland) | Open Source | Extensions | Python API |
| Flow Launcher | C# (.NET) + WPF | Windows | MIT | Everything integration | C#, Python, Node.js, Executables |
| PowerToys Run | C# (.NET) + C++ | Windows | MIT | Windows Search | C# (.NET) DLL plugins |
| uTools | Electron (Chromium + Node.js) | Windows, macOS, Linux | Proprietary | Everything / OS search | HTML / JS / Node.js preload |
| Raycast | Swift / Rust / C# / TypeScript | macOS, Windows (Beta) | Proprietary core | Spotlight / Native | TypeScript / React |
Quick Install & Verification
Arch Linux / CachyOS (KDE Plasma 6 Wayland & X11)
sudo pacman -S --needed base-devel pkgconf rustup nodejs npm \
gtk3 webkit2gtk-4.1 libayatana-appindicator curl libsecret \
xorg-xproto libx11 libxtst dbus tesseract tesseract-data-eng \
fd plocate spectacle kdialog
git clone https://github.com/q871958549/Tomoyo.git && cd Tomoyo
cd frontend && npm ci && npm run build && cd ..
cargo build --release --workspace
./scripts/install-local.sh
Windows 10 / 11 (x64 & ARM64)
# Download zero-UAC installer or portable archive from GitHub Releases, or build from source:
cd frontend && npm ci && npm run build && cd ..
cargo build --release --workspace
pwsh -File scripts\install-local.ps1
.\target\release\tomoyo.exe --self-test --strict-budget
Frequently Asked Questions (FAQ)
Is Tomoyo Launcher related to TOMOYO Linux?
No. TOMOYO Linux is a Linux kernel Mandatory Access Control security module (tomoyo-tools). Tomoyo Launcher (github.com/q871958549/Tomoyo) is a user-space Rust desktop command launcher, clipboard manager, screenshot/OCR suite, and plugin host.
How does Tomoyo Launcher keep WebView, OCR, and Screenshot memory at 0 MB when idle?
Heavy UI and utility tools are isolated into separate short-lived binaries (tomoyo-webview-host, tomoyo-capture, tomoyo-plugin-ocr, tomoyo-plugin-notes). When closed or idle past their configured timeout, those processes terminate completely and return 100% of their memory to the OS.
Can I migrate existing uTools plugins or write plugins without Rust?
Yes. Tomoyo supports newline-delimited JSON-RPC 2.0 STDIO plugins in Python, Go, Node.js, or Rust (tomoyo-sdk), sandboxed WASM plugins (tomoyo-wasm-sdk), and WebView plugins with a baseline window.utools compatibility layer plus tomoyo-cli import-utools.