TeXbrain is a new open-source LaTeX editor that performs all compilation processes directly within the user's browser. It utilizes a WebAssembly port of pdfTeX, named SwiftLaTeX, to convert .tex files into PDFs without sending data to a remote server. This client-side approach ensures that files remain on the user's machine throughout the editing and compilation workflow.
The editor includes a range of features designed for a comprehensive LaTeX experience. It offers full Git integration, allowing users to clone repositories, create branches, commit changes, and push/pull from GitHub directly within the browser. TeXbrain also supports local file system access via the File System Access API, enabling direct reading and writing to project folders on disk in compatible browsers like Chrome and Edge. Packages from CTAN are loaded on demand and cached locally for subsequent offline use.
The developer created TeXbrain to address common frustrations with existing LaTeX tools, such as paywalls for essential features like Git synchronization in online solutions and setup complexities with local installations. By operating entirely in the browser without accounts or server dependencies, TeXbrain provides a free, accessible, and self-contained environment for LaTeX document creation.
The application's architecture is entirely client-side, meaning the editor, compiler, and Git client all run within the browser. This design eliminates the need for a backend server to process user files. The editor itself is built on CodeMirror 6, offering features like syntax highlighting, autocomplete for over 70 LaTeX commands, and dark/light themes. PDF previews are rendered using pdf.js, providing multi-page, zoomable, and text-selectable views.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
TeXbrain is a new open-source LaTeX editor that compiles .tex files to PDF directly in the browser using a WebAssembly port of pdfTeX. This tool aims to provide a free, serverless LaTeX editing experience with features like Git integration and local file system access, addressing common pain points with existing LaTeX solutions.