CopyCode Local Sync
Turn AI chat code into real project folders in VS Code or Cursor.
Pair this extension with the CopyCode Chrome extension to pull code from ChatGPT, Claude, Bolt, Lovable, and more — then sync it straight to your machine.
How it works
- Install CopyCode in Chrome and CopyCode Local Sync in VS Code or Cursor
- Open an AI chat and click Analyze in the CopyCode popup
- Click Sync to Local or Load in Cursor — your project appears as real files
No copy paste. No manual folder setup. The local server starts automatically when you open your editor.
Features
- One click sync from the browser extension
- Local import server on
http://127.0.0.1:3847
- Projects on disk saved to
~/Desktop/codecopy-projects/ (configurable)
- Open in Cursor or VS Code after import
- Update existing projects when you sync again
- CopyCode Projects sidebar in the Explorer view
Requirements
- CopyCode Chrome extension
- VS Code or Cursor
You do not need to install Node.js or run any terminal commands. The server starts automatically.
Quick start
- Install this extension from the Marketplace
- Install the CopyCode Chrome extension
- Open Cursor or VS Code (server starts in the background)
- In Chrome, open ChatGPT, Claude, Bolt, or Lovable
- Click the CopyCode icon → Analyze → Sync to Local
Your project opens ready to edit.
Settings
| Setting |
Default |
Description |
copycode.serverPort |
3847 |
Port for the local import server |
copycode.autoStartServer |
true |
Start the server when the editor opens |
copycode.importDirectory |
(empty) |
Where projects are saved (~/Desktop/codecopy-projects if empty) |
copycode.openAfterImport |
true |
Open the project after import |
copycode.preferredEditor |
auto |
auto, cursor, or code |
Commands
Open the Command Palette and search CopyCode:
- CopyCode: Toggle Local Server — start or stop the server
- CopyCode: Open Last Project Folder — reopen your last import
- CopyCode: Reveal Last Project in Explorer — show the folder in the sidebar
Privacy
CopyCode runs a local only server on 127.0.0.1. Your code stays on your machine. Nothing is sent to CopyCode servers. The browser extension talks only to this local server.
Troubleshooting
If sync fails, open the Command Palette and run CopyCode: Toggle Local Server to restart the server. Check the status bar for CopyCode :3847.
ZIP export works with only the Chrome extension. Local sync requires both extensions.