Kawarimi is the VS Code companion for a browser-to-editor workflow that applies AI-generated code through a simple Find → Replace flow—without API keys or manual copy-paste.
Required: Install the Kawarimi Chrome extension from GitHub Releases.
Usage
- Open the target file in VS Code and keep it active.
- Wait until the AI finishes generating the code.
- Click Find on the original code block.
- Click Replace on the new code block.
Kawarimi updates and automatically saves the active VS Code file.
Choose Flex or Exact before clicking Find; the selected mode is locked to the target code.
- Flex — ignores whitespace differences; best for ordinary code edits
- Exact — preserves spaces, tabs, indentation, and blank-line count
- All — replaces every match
- 1st — replaces only the first match
- Done — marks the latest successful replacement
- Ctrl+Z / Cmd+Z — undoes the change
Requirements
- Kawarimi Chrome extension installed and enabled
- VS Code running
- Target file open and active
- Same port configured in Chrome and VS Code
Default port: 10240
Settings
kawarimi.serverPort
Default: 10240
Links
License
MIT