
# TexLite
A lightweight self-hosted alternative to Overleaf for _small, trusted_ research
teams. Use your existing LaTeX distribution and coding agents, with no heavyweight service stack.
[](https://github.com/SWUFE-DB-Group/TexLite/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/texlite)
[](https://hub.docker.com/r/zhongpu/texlite)
**Documentation:** English (this file) · [Operations](OPERATIONS.md) · [Design](DESIGN.md) · [简体中文](README.zh-CN.md)
**Website:** [TexLite GitHub Pages](https://swufe-db-group.github.io/TexLite/)
https://github.com/user-attachments/assets/c2b277ab-7cab-4f2b-8684-358fd9fefe8f
## Why TexLite
- **Own the writing environment.** Use the host's TeX installation and coding agents; keep sources, history, and compiled output in one local data directory.
- **Collaborate without a large stack.** The default deployment is one Node.js
process, SQLite, and local files—plus real-time editing and source-level
comments for a small trusted team.
## Quick start
Install Node.js 24 or newer, `latexmk`, and at least one TeX engine such as
`pdflatex`, `xelatex`, or `lualatex`. Git is needed only for the optional
Git/GitHub integration.
After installation, `texlite requirements` checks the relevant host software
and versions before initialization.
```bash
npm install --global texlite
texlite requirements
texlite init
texlite start
texlite status
```
Open