# texlyre

> Self-hosted open-source web editor for LaTeX and Typst with real-time co-editing, offline-first design, and in-browser compilation.

- **Category:** Document Management
- **Licence:** AGPL-3.0
- **Latest version:** v0.13.0
- **Open source:** oss
- **Languages:** Typescript, JavaScript, Perl
- **Platforms:** Docker Compose, NPM
- **Tags:** Real Time, Offline, Link Sharing, WebRTC, PDF, Local First, Research, Svg, Yjs, Wasm, Latex, Document Editor, Collaborative Editor, Typescript, Open Source, React, Self Hosted, Self Hosting, Diagramming, Typst, Offline capable, Bibtex, Pdflatex, Xetex, Web Editor, Typesetting, Latex Editor, Typst Editor, Academic Writing

## Description

TeXlyre is a local-first collaborative web editor for LaTeX and Typst documents. It enables real-time multi-user editing with live cursors using Yjs CRDTs and WebRTC peer-to-peer connections, works offline with IndexedDB storage, and compiles LaTeX (pdfTeX, XeTeX, LuaTeX via SwiftLaTeX and BusyTeX WASM engines) and Typst (via typst.ts) entirely in the browser. Features include SyncTeX source-PDF mapping, inline comments and tracked changes, embedded Draw.io and TikZ diagram editors, Zotero/OpenAlex reference management, FilePizza peer-to-peer file sharing, LSP support for grammar/spell checking, and Git repository backup integration. It can be self-hosted via npm/yarn/pnpm/bun or Docker Compose using the texlyre-infrastructure repository which includes signaling servers (Y-WebRTC, PeerJS), FilePizza server, TeX Live download servers, and optional Chelys recipes for external LSP servers (LTeX LS Plus, Harper LS, TexLab, Tinymist, JabRef LSP) and typesetters (SILE, ConTeXt, PreTeXt, TeX Live, Asciidoctor, Quarto, LilyPond, Slidev, Sphinx). The project is licensed under AGPL-3.0 and funded by NLnet.

## Links

- [Homepage](https://github.com/TeXlyre/texlyre)
- [Website](https://texlyre.github.io/texlyre/)
- [Docker](ghcr.io/texlyre/texlyre-frontend)
- [GitHub](https://github.com/texlyre/texlyre)
- [Documentation](https://texlyre.org/docs/intro)
- [Codeberg](https://codeberg.org/texlyre)
- [GitLab](https://gitlab.com/TeXlyre)
- [Hugging Face](https://huggingface.co/texlyre)
- [Crowdin](https://crowdin.com/project/texlyre)
- [Matrix Chat](https://matrix.to/#/#texlyre:matrix.org)
- [Reddit Community](https://reddit.com/r/TeXlyre)
- [Lemmy Community](https://lemmy.world/c/TeXlyre)

---
Source: https://selfhost.directory/project/texlyre