insy
v0.0.2
Published
AI-powered visual code editing for any frontend framework
Maintainers
Readme
insy
CLI for Insy - AI-powered visual code editing
The command-line interface for starting the Insy server.
Installation
# Global installation
npm install -g insy
# Or use npx (no install required)
npx insyUsage
Start Server
# Start with defaults
insy
# Or with options
insy start --port 8888 --host 0.0.0.0 --project /path/to/projectCommands
insy start (default)
Start the Insy server.
Options:
-p, --port <port>- Port to listen on (default: 7777)-h, --host <host>- Host to bind to (default: localhost)--project <path>- Project root directory (default: current directory)
Quick Start
Start the server:
npx insyAdd the script tag to your HTML:
<script src="http://localhost:7777/client.js"></script>Or use the CDN:
<script src="https://unpkg.com/@insy/client@latest/dist/client.js"></script>Use Insy in your browser:
- Press
Alt+Qto activate element selection - Click any element
- Describe your change in natural language
- Press
Requirements
- Node.js >= 18.0.0
- OpenCode CLI (for AI features)
Related Packages
- @insy/client - Browser client
- @insy/server - Local server
- @insy/vite - Vite plugin
- @insy/next - Next.js plugin
License
MIT
