An AI-assisted fork of Overleaf Community Edition for writing, editing, and maintaining LaTeX projects with Codex directly inside the editor.
This fork keeps the familiar Overleaf editing experience and adds a modern Codex workspace: chat with your project, apply changes automatically, review structured diffs, bring in selected editor or PDF context, and manage source control without leaving the document.
This project is based on Overleaf Community Edition. For the original project, official installation flow, and upstream documentation, see the Overleaf repository, Overleaf Toolkit, and official docs.
LaTeX projects are rarely just text. They include figures, references, build errors, document history, source control, reviewer comments, and many small editing decisions. This fork brings Codex into that workflow as a project-aware assistant rather than a separate chat window.
Use it to ask for focused edits, explain parts of a paper, clean up LaTeX, inspect files, make changes across a project, and keep the PDF moving while you stay in the Overleaf editor.
Open the Codex rail beside your source and PDF preview. Start a session, ask for an edit or explanation, then keep working with follow-ups in the same context.
- Project-aware chat for LaTeX documents.
- Session navigator for previous Codex work.
- Follow-up messages during or after a run.
- Slash commands for Codex status and session control.
@file references in the composer.
Turn selected text into prompt context without copying and pasting manually. Selections from the source editor or PDF preview can be attached with file and location information, so Codex knows what part of the project you mean.
Codex edits are auto-applied to the Overleaf project, then shown as structured, session-specific diffs. The Changes panel is read-only by design: it is for reviewing what changed, not juggling patch state.
- Themed diff hunks instead of raw patch text.
- Session-scoped change summaries.
- Automatic PDF recompilation after edits.
- Clickable file links in Codex responses.
The activity stream is designed for humans, not raw event logs. Long runs fold intermediate steps behind a concise completion summary while keeping the user prompt and final answer visible.
- Markdown and code block rendering.
- Syntax highlighting and compact code styling.
- Distinct final answers.
- Dark-mode aware Codex UI.
- Back-to-bottom control for long sessions.
Project Git is a standalone rail panel, independent from Codex. Initialize a repo, import from a remote, inspect changes, commit, pull, and push from inside Overleaf.
This fork is aimed at trusted local development and private team deployments. Codex is designed with practical guardrails for project editing, while keeping the deployment story simple for local and private environments. For production-style use, read the deployment and security notes before exposing the service to others.
For platform-specific Docker setup, use the deployment guide:
For feature-specific implementation and operating notes:
The deployment guide covers Docker builds, platform-specific compose overlays, credential setup, and troubleshooting.
This repository does not replace the upstream Overleaf documentation. Use these for the original Community Edition project, upgrade notes, and general Overleaf operations:
Overleaf Community Edition is intended for environments where all users are trusted. This fork inherits that assumption. Do not expose shared Codex host credentials or an unreviewed local deployment to untrusted users.
For shared use, require HTTPS, restrict access, keep Codex credentials private, and follow the guidance in Docker Deployment Guide.
This repository follows the upstream Overleaf license. The code is released under the GNU Affero General Public License, version 3. See LICENSE.
Original copyright: Overleaf, 2014-2025.