Open-source Overleaf alternative · Self-hosted ·
AGPL
Write LaTeX together.
Fast, versioned, yours.
Aldine is an open-source, self-hosted Overleaf
alternative: a collaborative LaTeX editor with live
co-editing, real git branches and Zotero built in. Two
containers, nothing to babysit.
Typeset in ~2s
On Writing LaTeX Together
You · your co-authors ·
the advisor who hates installing TeX
Abstract
Aldine is a slim, open-source platform for collaborative
LaTeX: multi-cursor editing where every keystroke
arrives live, projects that are real git repositories
with branches you can merge from the UI, review comments
with one-click suggested edits, and a Zotero panel that
cites from your own library. Compiles run in a sandboxed
TeX Live container (no network egress, restricted
shell-escape), and warm recompiles land in about two
seconds. Deployment is two containers and one SQLite file;
the license is AGPL, so whoever hosts it after you gets
the same source you did.
1
Claude as a collaborator
Claude, connected over MCP, tightens the abstract, adds a
section, typesets, and shows the PDF. Every edit lands as
a commit you can review or revert.
Writes into the live document
Edits arrive in the open editor as an attributed
collaborator, with a violet presence chip, and your
cursor stays where it was.
Typesets and shows the PDF
Claude runs the compile, reads the errors back
with file and line, and shows the PDF in the chat
on claude.ai, Claude Desktop and Cowork (a signed
link elsewhere). It is the same run your preview
adopts.
Every edit a reviewable commit
Each change is a git commit authored
“Claude”, marked in History; when the
session ends, one prompt opens the diff and can
revert it all.
Optional, off by default (ALDINE_MCP=1). The
endpoint is plain MCP: claude.ai, Claude Desktop, Cowork,
Claude Code and any other MCP client get the tools; the
PDF renders inline where the host supports MCP Apps.
Setup guide
·
Try it on the demo instance
Common questions
Is there an open-source alternative to Overleaf I can host myself?
Yes. Aldine is an open-source (AGPL-3.0) collaborative LaTeX editor that you run on your own server as two Docker containers. Overleaf also publishes its own Community Edition; self-hosting Overleaf (Community Edition, Server Pro) compared with Aldine has the details.
Does it work with git and GitHub or GitLab?
Every Aldine project is a real git repository with branches you create and merge from the UI. You can push and pull to GitHub, GitLab, Gitea or Forgejo and open a pull or merge request from the editor, and a co-author can clone the repository and keep using VS Code. See git with Overleaf and a git-native alternative.
Is it free, and how many collaborators can a project have?
Aldine is free to self-host under AGPL-3.0, and the number of collaborators is not limited. There is no paid plan and no hosted service today. The self-hosting guide lists what it needs to run.
Can I import my Overleaf projects?
Yes. Download the project from Overleaf as a ZIP and drop it on the Aldine home screen. The root file is detected and the first typeset runs automatically.
Does it have track changes?
Not at keystroke level. Aldine has review comments with suggested edits: select text, leave a threaded comment and optionally attach a replacement that the author accepts with one click.
Does it support single sign-on?
Yes. With AUTH_ENABLED=1, people sign in with Google, GitHub, ORCID or your own OpenID Connect provider (Keycloak, Authentik, Authelia, Pocket ID), or with email and password. ALDINE_SSO_ONLY=1 disables passwords. Setup is in the OIDC guide.
Can Claude edit and compile my LaTeX project?
Yes, through Aldine's built-in MCP server: Claude reads and edits the files, typesets, reads the errors back, shows the PDF and commits each change to git for you to review or revert. The LaTeX MCP server guide shows how to connect claude.ai, Claude Desktop or Claude Code.