A fast, minimal Windows desktop app for writing and running JavaScript. Tauri 2 + Rust + vanilla JS + CodeMirror 6, executed with your installed Node.js.
A small, open alternative to scratch-pad runners like RunJS — but with a real local file/folder workspace instead of a single buffer.
- CodeMirror 6 editor — JS syntax highlighting, autocomplete, bracket
matching, search, word wrap (
Alt+Z), multi-tab with unsaved indicators - Aether look — navy surfaces, synthwave syntax colours and an electric-violet accent; frameless window (native decorations off) filling the whole viewport, with a custom title bar carrying minimize / maximize / close dots on the right, plus breadcrumbs and a status bar
- Themes — Aether dark by default, plus a light theme toggled from the title bar; the choice is remembered between launches
- Workspace file tree — open any folder, create/rename/delete files and folders (including inside subfolders), collapse/expand directories
- Instant run —
Ctrl+Enterexecutes the current file with Node.js; stdout/stderr stream live into the output panel - Format on save — Prettier formats
.jsfiles as you save (toggleFmtin the status bar);Alt+Shift+Fformats on demand — a file with a syntax error is saved unformatted instead of failing - Process control — Stop button kills the running process; 10s timeout guards against infinite loops
- Persistence — workspace, open tabs, active file, and window size/position are restored on launch
- Portable — single ~3.5 MB exe; config lives next to the binary when a
config/folder is present, otherwise in%APPDATA%\JSBench
JSBench is deliberately general — it runs any JavaScript you point it at. A few things it is handy for:
- DSA practice — one folder per topic (
arrays/,strings/,graphs/), work through problems file by file, and getconsole.logoutput instantly withCtrl+Enter - Snippets and scratch pads — check a function without spinning up a project
- Learning and teaching — a clean, distraction-free window for small demos
- Quick data munging — paste some JSON, transform it, look at the result
It is not a DSA-specific tool: there is no problem bank, judge, test runner or algorithm visualiser. It is a small editor that runs code; how you organise the folder is up to you.
Requires Node.js 18+, Rust (MSVC toolchain), and VS Build Tools.
npm install
npm run tauri devnpm run tauri buildOutputs:
src-tauri/target/release/bundle/nsis/JSBench_<ver>_x64-setup.exe— installersrc-tauri/target/release/jsbench.exe— standalone binary for portable use
Place jsbench.exe in a folder with an empty config/ subfolder:
JSBench/
├── jsbench.exe
└── config/ ← app config is stored here
Without config/, config falls back to %APPDATA%\JSBench.
Detected from PATH. Override with the JSBENCH_NODE_PATH environment variable.
Ctrl+Enter— Run current fileCtrl+S— SaveCtrl+B— Toggle the sidebarCtrl+J— Clear the output panelCtrl+=/Ctrl++— Increase font sizeCtrl+-— Decrease font sizeCtrl+0— Reset font sizeAlt+Z— Toggle word wrapAlt+Shift+F— Format document
docs/SPEC.md— design spec and non-goalsCONTRIBUTING.md— how to contribute
MIT — see LICENSE.
