selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

overleaf logo

Self-host overleaf

v0.1.3

Collaborative real-time LaTeX editor for your own server

ReleaseOpen CoreAGPL-3.0
Updated4 months ago
LanguageJavaScript
Setup difficultyModerate
ThemeDark mode
Stars
18 342
CPU
2 cores
RAM
3GB
Requires
MongoDB
Docker
sharelatex/sharelatex
Install with Docker
A LaTeX project open for editing in Overleaf Community Edition

What is overleaf?

Overleaf is an open-source, web-based editor for LaTeX documents where several people write in the same project at the same time and see the compiled PDF beside the source. The self-hosted Community Edition ships as the sharelatex/sharelatex Docker image and is normally driven by the Overleaf Toolkit, a small repository of scripts that wrap docker compose: you clone it, run bin/init, bin/up and bin/doctor, and MongoDB plus Redis containers are pulled up alongside the app. An NGINX proxy with TLS certificates can be initialised with bin/init --tls for HTTPS access. The community version assumes every user is trusted, because LaTeX compiles run with the container's own privileges — the isolated Sandbox Compiles are not available there. The commercially supported Server Pro edition of the same software adds single sign-on with LDAP or SAML, administration controls, tracked changes and sandboxed compiling. The code is AGPL-3.0 and released in version series such as 6.x, with a Community Edition image built for each release.

overleaf alternatives

Should you self-host overleaf?

overleaf scores 73/100 on selfhost.directory (how scoring works) and ranks #5 of 83 in Notes & Editors. It has 18 342 GitHub stars, +118 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is Trilium Notes (85/100, 38 956 stars). It scores higher overall, so compare the two before you pick. See overleaf vs Trilium Notes side by side.

Features

  • Air-gapped installation
  • HTTPS via bundled NGINX proxyEnabled with bin/init --tls and NGINX_ENABLED.
  • LaTeX compilation with PDF preview
  • Maintenance page
  • Multiple editor tabs
  • Project link sharing
  • Project-wide searchIntroduced in 6.1.0.
  • Real-time collaborative editing
  • Sandboxed LaTeX compilesCommunity Edition only; available in Server Pro.
  • Single sign-on (LDAP / SAML)Server Pro only, not part of the Community Edition.
  • Tracked changesServer Pro only.
  • User accounts and admin role

overleaf README

How to install overleaf

Install overleaf with Docker

Use make build-base and make build-community from server-ce/ to build these images.

The repository's own Dockerfiles build sharelatex/sharelatex-base and sharelatex/sharelatex (community).

How to configure overleaf

  • OVERLEAF_NAV_TITLETitle text shown in the navigation bar
  • OVERLEAF_HEADER_IMAGE_URLURL of the header logo image shown in the interface
  • OVERLEAF_PROXY_LEARNControls whether the Documentation link is shown

    values: true | false

  • NGINX_WORKER_PROCESSES4Number of nginx worker processes inside the Overleaf server container
  • NGINX_WORKER_CONNECTIONS768Maximum concurrent connections nginx accepts per worker

overleaf releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Notes & Editors

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…