Knife runs local file workflows from Windows Explorer without opening a heavyweight application. Knife Hub discovers, configures, tests, and diagnoses tools; knife-cli validates and runs each plugin in its isolated environment.
Project site · Source and issues
These captures use Knife Hub's browser preview. Native-only actions are clearly identified and no personal files are shown.
| Tool catalog | Run history |
|---|---|
![]() |
![]() |
| Diagnostics | Settings |
![]() |
![]() |
- Windows 10/11 is the primary operating platform.
hub/is the main desktop app: Tauri 2, React 19, and Tailwind CSS 4.crates/knife-cli/contains the Rust runner used by the Hub and Explorer context menu.plugins/contains 13 plugins and 21 catalog tools covered by contract validation.native-hub/is an experimental Native SDK 0.9.0 shell. It does not replace the Tauri backend yet.- Use Corepack with the packageManager field in package.json. Knife does not depend on Bun APIs or a Bun runtime.
- The user-facing Hub, plugin GUIs, catalog copy, prompts, progress messages, and errors are English-only.
- Node.js 22.12 or newer.
- pnpm 12.0 or newer, preferably through Corepack.
- Stable Rust with the Windows MSVC target.
- Visual Studio 2022 Build Tools or Community with C++ and the Windows SDK.
- Python for plugins that create a dedicated virtual environment.
- WebView2 Runtime for the desktop apps.
From the repository root:
corepack enable
pnpm install --frozen-lockfile
pnpm run hub:devDo not use npm install or generate another lockfile. pnpm-lock.yaml is the reproducible source for both JavaScript packages in the workspace.
Python requirements are also pinned. Each plugin owns its .venv; Knife reruns setup_command when the command or requirements.txt content changes, so a legacy marker cannot keep a stale environment active.
# Browser preview
pnpm run hub:dev
# Frontend checks
pnpm run hub:typecheck
pnpm run hub:build
# Tauri desktop app
pnpm --dir hub run tauri dev
pnpm --dir hub run tauri buildBrowser mode previews actions that require Tauri. Windows registration, real plugin execution, native notifications, and the progress overlay require the Tauri app.
.vscode/tasks.json provides shortcuts for install, development, build, Tauri, packaging, checks, verification, tests, linting, plugin runs, plugin GUIs, and Native SDK operations.
pnpm run doctor:quick
pnpm run doctor:frontend
pnpm run doctorpnpm run doctor loads vcvars64.bat when available and validates plugin contracts, the Echo Metadata canary, Rust formatting and Clippy, CLI tests, the Hub build, and workspace tests.
Dependency gates:
pnpm outdated --recursive --format json
pnpm audit --audit-level high
cargo update --dry-run --verbosepnpm run native:setup
pnpm run native:doctor
pnpm run native:check
pnpm run native:build
pnpm run native:packageThe Windows production package is written to native-hub/zig-out/package/knife-hub-0.1.0-windows-ReleaseFast/ and uses the GUI subsystem. See native-hub/README.md for setup and current limits.



