SyncPilot lets Gemini write multi-file code straight to your disk with one click
Developers using Google Gemini no longer need to manually create folders, generate files, or paste code into VS Code. This open-source Chrome extension automates the process by writing AI-generated code directly to your local disk—without requiring any background services or daemons. After a single authorization, every code block from Gemini can be saved instantly, even across multiple files.
The extension’s architecture eliminates traditional backend dependencies entirely. It relies on Chrome’s native File System Access API, ensuring all operations—directory creation, file overwrites, and batch writes—run within the browser sandbox. Users authorize a project folder once, granting persistent read-write permissions that persist across sessions. A content script continuously monitors Gemini’s output, stripping unwanted markers like // filepath: and injected UI text to deliver clean, production-ready code.
Once authorized, the workflow is seamless: prompt Gemini for code, then click the "Direct Transfer" button (or a batch capsule for multi-file outputs) to save everything in milliseconds. The extension also logs the last 30 sync operations, letting users revisit or debug past saves. As a Chromium-based solution, it integrates natively with Chrome and Edge, avoiding compatibility issues found in Node.js or Python daemon alternatives.
The project remains lightweight and actively maintained. Developers can contribute via GitHub or report issues as the tool evolves. It’s ideal for frontend, full-stack, or scripting workflows where Gemini’s multi-file outputs need to land directly in active projects.
All Replies (0)
Want a live back-and-forth? Join the global AI chat room — login to talk.
No replies yet — be the first!
