texleaf

texleaf

Self-hosted Collaborative LaTeX Editor

texleaf is a collaborative LaTeX editor I created after getting annoyed by Overleaf's compilation timeouts while writing my final year thesis. It grew into a self-hosted, open-source alternative that lets you write and compile LaTeX right in the browser, together with a team. At its core is a real-time collaborative editor with shared cursors, so everyone sees every keystroke without refreshing or running into conflicts, paired with a live PDF preview and SyncTeX that jumps between the source and the rendered page. Each project picks its own compiler (pdflatex, xelatex or lualatex) with biber handling the bibliography, and there is a menu bar with autocomplete, an outline, search and a file tree. Around the editor I added the things that make it usable every day: sharing by email or link with owner, editor and viewer roles, a per project chat, an AI assistant for LaTeX, a template gallery, tags with archive and trash, and an admin dashboard. Accounts are covered end to end with email verification, password reset, Google and GitHub sign in and two factor authentication, and the whole interface speaks English, French and Arabic with full right to left support. On the backend it runs on FastAPI, MongoDB and WebSockets with TeX Live doing the compilation, the frontend is React, TypeScript and Tailwind CSS, and the entire stack is packaged to self host with a single Docker Compose command. It is the most complete product I have shipped solo, and I am genuinely proud of how it came together.

texleaf screenshot 1

01 / 12

OTHER WORK

01 / 26

SEE ALL

Need a successful project?

LET'S WORK TOGETHER

Okba ALLAOUA

As always, I build and secure digital solutions, from web applications to cloud infrastructure, for individuals and businesses in need.

  • GitHub icon
  • ResearchGate icon
  • Stack Overflow icon
  • LinkedIn icon

NEWSLETTER