Cheatrs is a small Rust/Tauri-based desktop cheatsheet viewer with a Leptos/WASM UI. It provides a toggleable window, fuzzy search, and dynamically loaded JSON cheatsheets.
Cheatrs get it's name from a combination of Cheat and the common abbreviation RS for Rust – which cheatrs is written in.
- Toggleable cheatsheet window (
Super+/). - Hides on
Escor when losing focus. - System tray with Toggle, Reload, Open Cheatsheets Folder, Quit.
- Loads cheatsheets from JSON files in predefined directories.
- Fuzzy search within filtered sheet(s).
- Light/dark mode via system theme.
- Allows for both per process and general cheatsheets.
{
"id": "unique-id",
"name": "Sheet name",
"description": "Optional",
"hint": "Optional",
"processes": [
"Optional.exe",
],
"sections": [ /* Section */ ]
}{
"title": "Section title",
"items": [ /* Item */ ]
}{
"keys": ["Ctrl+C"],
"desc": "Copy",
"tags": ["editing"],
"hint": "Optional"
}Cheatrs loads all *.json files (non-recursive) from:
-
Project directory First ancestor containing
cheatsheets/:<project>/cheatsheets -
Bundled resources directory Included during packaging:
<app-resources>/cheatsheets -
Per-user directory
-
Windows:
%APPDATA%\cheatrs\cheatsheets -
macOS:
~/Library/Application Support/cheatrs/cheatsheets -
Linux:
~/.local/share/cheatrs/cheatsheets
-
Directories are scanned in the above order. Invalid JSON files are skipped.
Use tray → Reload to pick up changes.
- Window toggles with global shortcut; hides instead of closing.
- Blur (window loses focus) hides window.
- Type-to-search focuses the search field.
- Tray
Reloadreloads the UI.
leptos(csr)serde,serde-wasm-bindgenwasm-bindgen,web-sys,js-sysconsole_error_panic_hook
tauri(tray-icon, image-png)tauri-plugin-global-shortcuttauri-plugin-openerserde,serde_jsonwindows(Windows only)
Regenerating icons
cargo tauri icon src-tauri/icons/icon.pngDevelopment:
cargo tauri devFrontend-only preview:
trunk servePackaging:
cargo tauri build