A simple UI for LaTeX projects with Git support. Clone repos, edit, compile, and push.
Project description
GitLaTeX IDE
A simple web-based IDE for LaTeX projects with Git support. Create workspaces, clone repos, edit in a Monaco-powered editor, compile to PDF, and push changes—without Overleaf or the command line.
Installation
Install from PyPI:
pip install gitlatex
Requirements: Python 3.8+, and (for full use) Git and a LaTeX distribution with pdflatex (e.g. TeX Live, MiKTeX).
Quick start
gitlatex
Your browser will open at http://localhost:5000. Create a workspace or clone a repo, then open it to edit, compile, and use Git (status, diff, commit, push) from the toolbar.
Options:
| Option | Description |
|---|---|
--port, -p |
Port (default: 5000) |
--host |
Bind host (default: 127.0.0.1) |
--no-browser |
Do not open the browser on start |
--repos |
Directory for workspaces (default: ./repos in current working directory) |
Example: gitlatex --port 3000 --repos /path/to/my/repos
Features
- Workspaces – Create local folders or clone from a Git URL (e.g. GitHub).
- File tree – Create, rename, move, delete, and upload files and folders.
- Editor – Monaco editor, multiple tabs, resizable panels.
- Compile – Build with
pdflatex, view PDF in-app, see errors in the console. - Git – Status, diff, commit, and push from the Git dropdown in the toolbar.
- Settings – Light/dark theme; optional remote Compiler API (URL + API key) to compile via a web service instead of local
pdflatex.
Workflow
- Run
gitlatexand open the app in your browser. - Add a project – Create a new workspace or clone from a Git URL.
- Open – Click a repo to open the editor.
- Edit – Use the file tree and editor; click Compile to build.
- Git – Use the Git menu for Status, Diff, Commit, Push.
Projects are stored in the repos directory (or the path you set with --repos).
Troubleshooting
- Compile fails – Install a LaTeX distribution and ensure
pdflatexis on your PATH. - Port in use – Use another port:
gitlatex --port 3000. - Windows: "The process cannot access the file... gitlatex.exe" – Another instance is running. Close it, then run
gitlatexagain.
Development
Run from source (no PyPI install): clone the repository, then from its root:
pip install -e .
gitlatex
Or run the package without installing:
pip install flask gitpython
python -m gitlatex
License
ISC
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitlatex-1.0.1.tar.gz.
File metadata
- Download URL: gitlatex-1.0.1.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3cb6c6678227322821637cd62ca57e4bf135e49d1c4ccda245dcde33771ca50
|
|
| MD5 |
8f72e1bfd0a4b10e2496ad5f43f12846
|
|
| BLAKE2b-256 |
07a92354b940b9579cda72a10a31c1bb785eed39386e4519f5f369f9e904af7b
|
File details
Details for the file gitlatex-1.0.1-py3-none-any.whl.
File metadata
- Download URL: gitlatex-1.0.1-py3-none-any.whl
- Upload date:
- Size: 39.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7b8be7b023401491d4bd809c2b06ded9c8b1e90ee6b63f3317c5924aa9130d
|
|
| MD5 |
97664de84f5e63b54d5d2754cc553b16
|
|
| BLAKE2b-256 |
8aed5a303ba880248c8085833312092688f9c0015e04fa205b6db94fc2f78c66
|