devtools
Ship hooks from your IDE.
clidownload .tgz →
Install the hosted tarball — not yet on the npm registry.
hosted tarball
1npm i -g https://patcha.fi/downloads/patcha-cli-latest.tgzvs code extension
Hook library tree, mini patch canvas, simulate & deploy commands.
download .vsix →visual studio marketplace — coming soonhook designer — vs code webviewstatic illustration
Preview of the Hook Designer that opens inside VS Code. This image is a static illustration — the in-editor panel is fully interactive (pick a hook, tune parameters, run a real backtest).
Same flow runs in the browser at /designer.
vs code extension — install & use
- 1Download
patcha-vscode-latest.vsix(button above). - 2Open VS Code → Extensions panel →
Install from VSIX…→ select the file. - 3Open the Command Palette (
Ctrl/Cmd+Shift+P). - 4Run
Patcha: Open Hook Designer— an interactive panel opens (pick → tune → run backtest, in-editor). - 5Use the sidebar Hook Library (6 builtin hooks) +
Patcha: Simulate Selected Hookto backtest, andPatcha: Deploy(opens a terminal, uses patcha-cli).
cli — install & use
- 1Download
patcha-cli-latest.tgz(button above) or install directly from the hosted URL. - 2Install globally — local:
npm i -g ./patcha-cli-latest.tgz, or remote:npm i -g https://patcha.fi/downloads/patcha-cli-latest.tgz. (Not yet on the npm registry.) - 3Scaffold a project:
patcha init my-hook. - 4Backtest:
patcha simulate my-hook/hook.toml. - 5Deploy:
patcha deploy my-hook/hook.toml.
Source on GitHub.