Cure Kode VS Code ExtensionDevelop and deploy JavaScript/CSS scripts for Webflow sites directly from VS Code. Features
Getting Started
Commands
Activity BarThe extension adds a "Cure Kode" icon to the activity bar with three views:
Project Structure
ConfigurationProject Config (
|
| Setting | Default | Description |
|---|---|---|
cureKode.apiUrl |
https://app.cure.no |
API URL |
cureKode.autoSyncOnSave |
true |
Auto-push on save |
cureKode.showStatusBar |
true |
Show status bar item |
cureKode.defaultEnvironment |
staging |
Default deploy environment |
Workflow
Basic Development
- Edit scripts in your
.cure-kode-scripts/folder - Save files - they auto-sync to remote
- Test on your staging domain
- Deploy to production when ready
Deployment Flow
Local Edit → Save (auto-sync) → Deploy to Staging → Test → Promote to Production
CLI Companion
For advanced features, use the CLI alongside VS Code:
npm i -g @curenorway/kode-cli
kode status # Show sync status with staleness indicators
kode doctor # Diagnose configuration issues
kode deploy --dry-run # Preview deployment without executing
kode diff <script> # Compare local vs remote versions
kode sync # Bidirectional sync with conflict detection
Status Bar
The status bar shows:
- Sync icon (enabled/disabled)
- Current environment (stag/prod)
Click to toggle auto-sync.
Requirements
- Cure Kode API key (get from app.cure.no/tools/kode)
- VS Code 1.85.0 or later
Security
API Key Management
- API keys stored in
.cure-kode/config.json(auto-gitignored) - Keys are SHA256 hashed on the server
- Keys are site-scoped with granular permissions
Permissions
| Permission | Enabled Commands |
|---|---|
read |
Pull scripts, view deployments |
write |
Push scripts, create new scripts |
deploy |
Deploy to staging/production |
delete |
Delete scripts |
Best Practices
- Never commit
.cure-kode/config.jsonto version control - Use read-only keys for browse-only workflows
- Generate separate keys for each developer
Known Issues
- Version history view not yet implemented
- Page assignment UI coming in future update
Release Notes
1.0.3
- Updated documentation for v1.1 CLI compatibility
- New project structure with
.cure-kode-scripts/directory - Added CLI companion section with new commands
1.0.0
Initial release:
- Scripts, Pages, Deployments tree views
- Pull/Push/Deploy commands
- Auto-sync on save
- HTML preview
- Status bar integration