Work on Overleaf projects from your terminal while your coauthors keep using the Overleaf web editor. Works on the free plan and on self-hosted Community Edition, with no git token.
Your editor, your scripts and your agents on one side; your coauthors in the browser on the other.
They keep editing, commenting and compiling in the Overleaf web editor. You pull, edit locally and push to the same project.
Checked on a free overleaf.com account. Works on self-hosted Community Edition with olcli config set-url. No git token needed.
olcli auth --browser works with SSO, Google, ORCID and two-factor logins and keeps only the session cookie. Or paste the cookie at a hidden prompt.
Diff against the live project before you push, so a coauthor's newer edit shows up first. --exit-code turns it into a CI gate.
olcli diff --latexdiff --pdf builds the struck-through and underlined PDF advisors and journals ask for, compiled on Overleaf.
List, add, reply to and resolve comments. Accept or reject tracked changes in projects whose owner has an Overleaf premium plan.
Claude Code, Codex and Cursor can read and edit your projects. Every tool that writes shows what it will do and waits for your confirmation.
git clone overleaf::<url> uses Overleaf as a standard git remote. Clone, commit and push with the commands you already know.
Compile on Overleaf's servers, download the PDF or outputs such as .bbl for arXiv. No local TeX installation needed.
Sign in through a browser window, or paste the session cookie at a hidden prompt.
olcli auth --browser
olcli auth --cookie
olcli auth status
Set the URL of your Community Edition instance once.
olcli config set-url https://latex.example.org
olcli config set-cookie-name overleaf.sid
olcli auth --browser
Edit locally, check what changed on Overleaf, sync and compile.
olcli pull "PhD Thesis" thesis
vim thesis/chapters/results.tex
olcli diff
olcli sync
olcli pdf -o draft.pdf
Mark your local revision up inside the document and compile it on Overleaf.
olcli diff --latexdiff --pdf
Use Overleaf as a native git remote, without a git token.
git clone overleaf::https://www.overleaf.com/project/abc123
cd abc123
vim main.tex
git commit -am "edits"
git push
Download compiled artifacts and package for upload.
olcli output bbl -o main.bbl
olcli zip -o arxiv-submission.zip
One-liner to archive every project as a zip.
olcli list --json | jq -r '.[].name' \
| xargs -I{} olcli zip "{}" -o "{}.zip"
Free, open source, MIT licensed. Install in 10 seconds.