Add a live LaTeX editor with PDF preview to a documentation or writing web app.
Build a collaborative academic writing tool without hosting your own LaTeX server.
Give users autocomplete and error checking while writing LaTeX in the browser.
Compile LaTeX documents to PDF entirely client side without installing TeX Live.
| corca-ai/wasmtex | 0xkinno/astraea | 0xkinno/halcyon | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | hard | hard |
| Complexity | 4/5 | 4/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires manually wiring up Monaco and PDF.js web workers, which is not optional.
WasmTex is a LaTeX editor that runs entirely in a web browser. If you have ever used Overleaf or a similar online LaTeX tool, this project lets you build something similar into your own website or app. It combines a code editor (Monaco, the same editor that powers VS Code) with a PDF viewer, and it compiles LaTeX documents to PDF using engines that run as WebAssembly, meaning the compiling happens on the visitor's machine or on a Node server instead of needing a separate LaTeX installation. The project automatically figures out which LaTeX engine a document needs. Simple documents use pdfLaTeX, while documents that need special fonts, non-Latin scripts, or advanced scripting features are detected and routed to XeLaTeX or LuaLaTeX automatically. The required TeX Live packages are streamed in from a public content delivery network as needed, so there is no need to host or bundle a huge LaTeX package library yourself. WasmTex is not published on the npm package registry. Instead, developers install it directly from GitHub, and it ships with a prebuilt library folder so no build step is required after installing. It depends on two other libraries, Monaco editor and PDF.js, which must be installed separately alongside it. Beyond the basic editor, the project includes a full language server for LaTeX: it offers autocomplete, hover explanations, jump to definition, error checking, and several other code editing conveniences familiar from modern programming tools, adapted for writing LaTeX documents. The project is aimed at developers who want to embed a document editing and previewing experience into their own product, rather than end users looking for a ready made writing app. The core SDK code is released under the MIT license, which allows free use including in commercial and closed source products. The WASM engines and TeX Live packages that come bundled with it carry their own separate licenses, so anyone distributing those parts should check the included license documentation.
A browser based LaTeX editor toolkit with live PDF preview, built to be embedded into other web apps.
Mainly TypeScript. The stack also includes TypeScript, WebAssembly, Monaco Editor.
The core SDK is MIT licensed, so it can be used freely including in commercial or closed source products, but the bundled LaTeX engines and packages have their own separate license terms.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.