TexStylus
Start writing free
Self-hosted · Data stays yours

Write papers together, not over email.

A self-hosted collaborative LaTeX editor for research teams. Real-time co-editing, isolated Docker compilation, and full data control.

Free on the hosted workspace. Self-host for full control.

Open source on GitHubMIT licensed

texstylus.com / sparse-attention
Collaboration

Stop emailing .tex files.

Write synchronously with your co-authors. See their cursors, resolve conflicts instantly, and never manage incremental file versions by hand again.

  • Real-time multiplayer editing
  • Live cursors on every open document
PDF Import

Already have a PDF? Start there.

Drop in a paper and get an editable LaTeX project — title, author block, section structure and tables reconstructed as source, not screenshotted.

The reconstructed source compiles as-is, so you can start editing from the first draft.

AI

Ask the paper, not the chatbot.

Select text, ask questions, improve writing, and work with LaTeX — document-aware assistance without leaving the workspace.

History

Every change has a history.

Automatically track every edit, addition, and deletion. Revert to any previous state without manually saving incremental files.

  • One-click revert to any prior state
  • Full audit trail of every contribution
Compilation

Compile without sharing an environment.

Run heavy compilations in isolated Docker containers. Your long-running thesis compile won't slow down your quick edits on another paper.

  • Isolated — Each compile runs in its own sandbox.
  • Reproducible — Dockerized environments across machines.
  • Dedicated — No shared CPU bottlenecks during crunch time.
Live chat

Talk about the paper, in the paper.

No more switching to Slack or email to discuss a figure placement. Resolve notation, review changes, and make decisions without leaving the editor.

  • Real-time threads with live typing indicators
  • Share files and images right in the conversation
  • Unread counters for replies you won't miss
Project Import

Bring the template you already use.

Already have a LaTeX project somewhere? Paste any public link — a GitHub or GitLab repository, a source ZIP, or a raw .tex file — and TexStylus turns it into an editable project.

Repositories, archives, and raw source files — any public link works.

Self-hosted

Run your whole department on your own hardware.

Deploy once, then hand out accounts to a whole course or research group. Documents, history and compilation all stay on infrastructure you operate.

No per-seat fees · No vendor lock-in · Runs fully on your network

Your data stays yours

Documents, uploads and complete revision history live in infrastructure you operate — never on someone else's servers.

PostgreSQLObject storage

Compiles cannot reach out

Every build runs in a sandbox with no network, a read-only filesystem, dropped capabilities and CPU/memory caps.

No network accessRead-only filesystem

Backups you can restore

One command captures the database, objects and config with SHA-256 checksums and 7-day retention — and a matching script restores it.

SHA-2567-day retention
Deployment engine//Zero-config

Production-shaped from the first command.

The stack ships as one Docker Compose file: managed migrations, TLS, health checks, backups and per-user quotas are already wired in.

terminal — docker-compose.yml
$docker composeup-d
detached
migrations applied on deploy
compose step
TLS certificate ready
Let's Encrypt
health checks on every service
auto-restart
$./backup.sh
database · objects · config — checksummed
SHA-256
Your infrastructure
Clientsexternal traffic

Collaborators

editor · PDF · cursors

Multi-tenant
Edgereverse proxy · autotls

Traefik:80 / :443

TLS · routing · websockets

autotls
Applicationinternal network mesh

Web

next.js

API

fastify

Realtime

wss · sync

Datastateful volumes

PostgreSQL

documents · versions

durable

Redis

cache · queues

in-memory

Object storage

files · media

s3-compat
Computeisolated · no network

AI gateway

byok · provider

BYOK

Compile

docker → pdf

Isolated

Sandbox

no network

Sandboxed
Isolated compute (firewalled)Persistent storage & state
Single host · Docker Compose
Deploy anywhere — a $10 VPS, a university campus cluster, or air-gapped bare metal.

One host. A whole cohort. No per-seat fees.

Owner-to-viewer roles, per-user compile quotas and fair queuing keep a shared server responsive when a whole course builds at once.

What you'd otherwise have to build

One-command deploy

The whole stack in a single docker compose file.

Automated migrations

A dedicated step applies schema changes on deploy.

Health checks & restarts

Every service is probed and restarted on failure.

TLS & security headers

Automatic certificates; HSTS and CSP on by default.

Per-user quotas

Compile rate limits, hourly and daily quotas, fair queuing.

Role-based access

Owner, admin, editor, commenter and viewer roles.

Append-only audit log

A tamper-resistant record of security-relevant actions.

Metrics & tracing

Metrics and traces, ready to export anywhere.

S3-compatible storage — bring your own bucket, or use the one that ships with it — and bring-your-own AI providers are built in.

Ready to write together?

Hosted or self-hosted. Your choice.

Questions, feedback, or something not working?

We're here to help. Reach out and we'll get back to you quickly.

Contact us