LeafRelayReliable two-way sync between Overleaf and a local project in Visual Studio Code. LeafRelay is a VS Code extension for Overleaf and LaTeX users who edit the same project with a local IDE, terminal, scripts, or AI coding tools. It keeps the local folder and Overleaf synchronized while making conflicts visible instead of silently choosing a winner.
Why LeafRelay?Overleaf Workshop pioneered the VS Code workflow, but older local-replica behavior was centered on editor-driven changes. That becomes fragile when the local folder is changed by another editor, a terminal, a script, or an AI tool: updates may wait for an editor save, reconnects may download far more than necessary, duplicate local replicas may compete, and simultaneous edits can overwrite one side without a clear decision. LeafRelay is built around those failure modes:
LeafRelay keeps the original Overleaf Workshop virtual-project and collaboration features while prioritizing dependable local-folder synchronization for daily work. InstallInstall LeafRelay from the VS Code Marketplace. VS Code will receive future releases through its normal extension update mechanism. Start syncing
For project details, login options, self-hosted Overleaf, and troubleshooting, see the user documentation. Development
Pull requests run the VS Code activation check and a ShareLaTeX container integration test before packaging. Releases are prepared by Release Please and published automatically from the generated release pull request. Project backgroundLeafRelay started from Overleaf Workshop and is now maintained as an independent project under the AGPL-3.0-only. The focus is reliable Overleaf-to-local synchronization, while the project continues to evolve toward reusable sync components beyond VS Code. Links |