Skip to main content

TeXlyre

The Free, Open-source, & Local-First LaTeX & Typst Collaborative Web Editor

In-Browser LaTeX & Typst Compilation

Compile LaTeX and Typst documents directly in your browser. No server required — SwiftLaTeX, BusyTeX, and Typst.ts WASM builds run entirely on the client, with support for pdfTeX, XeTeX, and LuaTeX.

LaTeX Browser Compilationtexlyre.github.io/texlyre/#yjs:...LaTeX Editor\documentclass{article}\usepackage{amsmath}\begin{document}\title{My Document}\author{User}\maketitle\section{Introduction}This is a sample document.\begin{equation}E = mc^2F = ma\end{equation}\end{document}PDF PreviewMy DocumentUser1 IntroductionThis is a sample document.E = mc2F = ma(1)No InstallationWorks in any browserReal-timeInstant previewWebAssemblyNative performanceCross-PlatformAny device, any OSFast CompileOptimized engine

Real-time Collaboration

TeXlyre enables real-time collaboration with live cursors, peer-to-peer connections, and conflict-free document synchronization using Yjs CRDTs

Collaborative Editingtexlyre.github.io/texlyre/#yjs:...CommentsBBob Smith2 min agoGreat point about quantum mechanics!Could we add more details here?CCarol Jones1 min agoI agree! I'm working on the equations now.AAlice Chenjust nowI've added more context about applications.What do you think?BBob SmithresolvedFixed the typo in line 33 active, 1 resolved+ Add CommentCollaborative DocumentAlice is editing this paragraph about quantum mechanics and its applications in modernBob added this section on collaborative features and real-time synchronization...Carol is working on the mathematical equations in this area...\begin{equation}0 e−x² dx = √π/2 e−x² dx = √π/2−∞ e−x² dx = √π/2−∞ e−x² dx = √π\end{equation}The conclusion discusses the implications of these findings...ChatBob: Should we add refs?Carol: Good idea!Alice is typing...Alice: Added more context!Type a message...SendAliceBobCarolReal-time SyncAuto Conflict ResolutionComments & ChatLive CursorsSecure Sharing

Local-First Privacy

Your data stays in your browser with TeXlyre's local-first architecture. Work offline, sync when online, and maintain complete control over your documents

Local-First PrivacyLocal-First Privacy The server helps peers find each other — document data syncs directly and stays local. 1. Discover peer2. Establish channel3. Sync directlyLOCALUser A DeviceDocument stored locallyLOCALUser B DeviceDocument stored locallyConnection ServerCoordinates onlyFINDPINGADDRdoceditConnection setup via serverDirect P2P connection active🔒 Encrypted direct syncServer cannot readE2E EncryptedUnreadable in transitLocal StorageData stays on deviceZero KnowledgeServer can't read dataOffline ReadyWorks without internetOpen SourceTransparent code