aldine.

Aldine / Self-hosting Overleaf compared

Self-hosting Overleaf: what Community Edition includes, and an alternative

Overleaf is open source (AGPL-3.0) and you can run it on your own server. The open-source self-hosted build is Community Edition. It gives you the LaTeX editor and full project history; commenting, real-time track changes, git integration, single sign-on and sandboxed compiles are in Server Pro, which Overleaf licenses separately. (Server Pro vs. Community Edition, as of October 2026)

Written by the Aldine project, so read it with that in mind. Statements about other products are taken from the linked pages of that product's own documentation. Checked on 12 October 2026.

Community Edition compared with Server Pro

Overleaf publishes the comparison itself. In its table, both editions have the LaTeX editor, full project history, direct access to all user projects, and self-hosting. These rows are marked as Server Pro only: (Server Pro vs. Community Edition, as of October 2026)

User management through the admin panel is marked "Limited" for Community Edition. Support for Community Edition comes from the community through GitHub issues; Server Pro includes support from Overleaf. (Server Pro vs. Community Edition, as of October 2026)

Who Community Edition is for. Overleaf states that Community Edition "is intended for use in environments where all users are trusted" and "is not appropriate for scenarios where isolation of users is required". Without sandboxed compiles, a LaTeX compile has read and write access to the container it runs in. (Overleaf repository README, as of October 2026)

What running Community Edition takes

Overleaf calls the Overleaf Toolkit "the recommended way to deploy and manage" Community Edition and Server Pro. (Overleaf docs: using the Toolkit, as of October 2026) The quick start is one clone and two commands run inside it: (Toolkit quick start guide, as of October 2026)

git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit
bin/init
bin/up

bin/init writes three files into config/: overleaf.rc, variables.env and version. You create the first admin account at http://localhost/launchpad. (Toolkit quick start guide, as of October 2026)

If your users are trusted colleagues and you need the editor and history, this is a reasonable setup.

Community Edition, Server Pro and Aldine side by side

Aldine is a separate open-source project: a self-hosted collaborative LaTeX editor in two containers. The Overleaf columns are taken from the linked Overleaf pages, checked on 12 October 2026. The Aldine column is from its README.

AldineOverleaf Community EditionOverleaf Server Pro
Licence and priceAGPL-3.0, free. No paid plan and no hosted service todayAGPL-3.0 (source); free to use (source)Separately licensed; quote from Overleaf sales, with support from Overleaf (source)
Deployment2 containers (app and compiler) with one docker compose up -d; flat files, no database requiredOverleaf Toolkit; containers sharelatex, mongo, redis (source)Same Toolkit (source)
Real-time editingYes (Yjs CRDT), unlimited collaboratorsYes (source)Yes (source)
CommentsYes: anchored, threaded review commentsNo (source)Yes (source)
Track changesNo keystroke-level tracking. Review comments with suggested edits that the author accepts in one clickNo (source)Yes, real-time track changes (source)
GitEvery project is a git repository; branches and merge in the UINo git integration (source)Git integration since 4.0.1 (source). Overleaf's git documentation states "The Overleaf Git system does not support branching" (source)
Remote syncPush and pull to GitHub, GitLab, Gitea and Forgejo; pull or merge requests from the editorOverleaf documents GitHub synchronization as "a premium feature for Overleaf Cloud users" (source); it is not in the on-premises comparisonSame as Community Edition (source); with git integration, a clone can be pushed to any remote by hand
Single sign-onOpenID Connect, Google, GitHub, ORCID; email and passwordNo (source)SAML 2 and LDAP (source)
Compile isolationAlways on: compiler container without network egress, all capabilities dropped, restricted shell-escapeNo sandboxed compiles (source)Sandboxed compiles (source)
ZoteroMy Library or a group library, whole or one collection, with .bib refreshOverleaf lists Zotero among the third-party integrations of its cloud platform (source); it is not in the on-premises comparisonSame as Community Edition (source)
Templates4 built in, plus your own from any git repositoryNo private template management (source)Private template management system (source)
MaturityYoung: v0.x, first release July 2026Overleaf dates from 2011 (source)Overleaf dates from 2011 (source)

"Not in the on-premises comparison" means Overleaf's Server Pro vs. Community Edition page does not mention the feature. We found no Overleaf page that states it for either on-premises edition (as of October 2026).

Single sign-on

On a self-hosted Overleaf, single sign-on is part of Server Pro, through SAML 2 or LDAP; the Server Pro configuration section has a page for each. (Overleaf docs: Server Pro only configuration, as of October 2026) On overleaf.com, group SSO is SAML-based and available to administrators of certain group subscriptions. (Overleaf docs: Group SSO FAQs, as of October 2026)

Aldine takes a different route. With AUTH_ENABLED=1 it offers sign-in with Google, GitHub and ORCID, with your own OpenID Connect provider (Keycloak, Authentik, Authelia, Pocket ID), or with email and password. ALDINE_SSO_ONLY=1 switches passwords off, and OIDC_ALLOWED_GROUPS limits sign-in to members of named groups. The recipes are in docs/OIDC.md. Aldine's documentation describes OpenID Connect and these OAuth providers, not SAML or LDAP, so if your institution only offers SAML or LDAP, Server Pro is the documented fit.

Where Community Edition or Server Pro is the better choice

Where Aldine fits

Aldine is for groups that want the features in the Server Pro column that matter to them (review, git, sign-in with their identity provider, isolated compiles) in a free install that is small enough to understand: two containers, flat files, and projects stored as plain git repositories. Postgres is optional. The trade-offs are those of a young project: releases are still v0.x, review works through comments with suggested edits and not through tracked keystrokes, and the supported setup is a single app node that you run yourself. See limits to know before you rely on it.

The install steps are on self-hosting Aldine with Docker Compose, and git with Overleaf and a git-native alternative goes deeper on version control.

Try the live demo View source on GitHub

No account, no install. The demo is a shared sandbox and resets every night.

Moving a project across

You do not have to migrate everything to try it. In Overleaf, choose File, then Download, then "Download as source (.zip)". (Overleaf docs: downloading a project, as of October 2026) Drop the ZIP on the Aldine home screen: the root file is detected and the first typeset runs automatically. Aldine can also export a project as a ZIP, so you can move it back.

Common questions

Is Overleaf open source?

Yes. Overleaf's repository describes it as "an open-source online real-time collaborative LaTeX editor", released under the GNU Affero General Public License, version 3. The self-hosted build from that repository is Community Edition; Server Pro is the officially supported version with more features. (Overleaf repository README, as of October 2026)

Does Overleaf Community Edition include git integration and track changes?

No. Overleaf's comparison table marks git integration, real-time track changes and commenting as Server Pro features that are not in Community Edition. (Server Pro vs. Community Edition, as of October 2026)

Does Overleaf Community Edition support single sign-on?

No. "Single sign-on (SSO) via SAML 2 and LDAP" is listed for Server Pro only. (Server Pro vs. Community Edition, as of October 2026)

What does Overleaf Community Edition need to run?

Bash and Docker for the Overleaf Toolkit, plus MongoDB and Redis, which Docker Compose pulls automatically. Overleaf gives a minimum of 2 cores and 3 GB of memory for around 5 concurrent users. (software requirements, as of October 2026) (hardware requirements, as of October 2026)

Can I move a project from Overleaf to Aldine?

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.