TeXbrain - LaTeX editor with in-browser pdfTeX via WASM

Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM

TeXbrain is a free, open-source LaTeX editor that runs entirely in your browser, compiling .tex files to PDF locally using a WebAssembly port of pdfTeX. No accounts, installs, or servers—just open a tab and write. It features live PDF preview, real-time collaboration, full git integration, local file system access, and on-demand package loading from CTAN. Built with SvelteKit, CodeMirror 6, and isomorphic-git, it works offline and prioritizes privacy with no telemetry. Ideal for students, researchers, and writers who want a seamless, self-contained LaTeX experience.

I built this because I was tired of paying for features that should be free. I wanted something that just works. Open a browser, write LaTeX, get a PDF. So I built it.

More from this day

2026-08-25