<15MB Local-first Interactive LaTeX Scratchpad in the Browser
Details
- External ID
- 49689856
- Source
- HN
- Company
- —
- Product
- <15MB Local-first Interactive LaTeX Scratchpad in the Browser
- Website domain
- telox.dev
- Launched
- Sept. 13, 2026
- Cohort
- —
- Upvotes
- 5
- Upvotes percentile
- 0.12998405103668262
- Tags
- —
- Fetched at
- Sept. 17, 2026, 5:02 p.m.
- Updated at
- Sept. 17, 2026, 5:02 p.m.
Description
I am working on a very modular typesetting engine called TeLoX, intended as a superset of the capabilities (of at least) XeTeX and pdfLaTeX, written in Rust. The main goals are modularity and speed (which we know sometimes fight each other unless we try to be principled about it). Today I wanted to demonstrate these diegetic interactive sliders that control values within in LaTeX from the browser (kinda like marimo).This isn't meant to be a complete editor like quicklatex and texlyre -- just a tiny playground that loads quickly enough and responds interactively to see how good I can get the typing experience to be. Package support is the weakest link right now so lots of reasonable LaTeX you type up will fail. Increasing coverage fights against fast load times, and so I'll add some 'code splitting' -- I can make the editor dynamically fetch cached blobs for the most common $k$ packages and see how much time that buys me. After I add support for Lua or some other simple expression language, seems like you could make some really beautiful receipts/calculators fairly easily.The other interesting thing you'll notice is that clicking and dragging on text selects the associated input text really accurately, down to the word. I have an art project that I was working on that was blocked by this exact issue -- being unable to correctly attribute a click back to the exact word that generated it (essentially an interactive storybook, WYSIWYG computational notebook with diegetic inputs). That's now unblocked. I wanted to make a choose-your-own adventure game that takes place _in_ a book on the web.This whole thing is quite difficult, but I think it's worth it. I know it's an ambitious notion to bring arbitrary support for arbitrary LaTeX to arbitrary devices, but it feels like it's leading somewhere interesting.Desktop gives the best experience for now, and even still it loads slower than I'd like at ~2.5 sec on cold boot. I should probably default mobile to view mode. A PWA version, bookmarklet support for typesetting the current page, etc, all possible, not started yet. I'm most interested in optimizing my in-memory representation first, and if that's not enough, I'd make a lexical dependency tracker for the TeX interpreter under the hood and deal with mutations/overwriting in a sensible way, possibly svelte style. Like I said, a lot of work. Sharing now before my semester kicks in and my free time is gone. "Baby steps," as they say.
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Education
- Function
- Workflow automation
- Audience
- Prosumer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- lightweight in-browser latex editor for researchers and students
- Manually corrected
- False
Could you build this?
No Building an original typesetting engine in Rust to rival pdfLaTeX and XeTeX requires deep specialized knowledge of TeX internals, macro expansion, and digital typography.
What it would actually take: Developing this requires implementing Knuth-Plass line-breaking, math layout algorithms, HarfBuzz-style font shaping, and a custom macro evaluation pipeline compiled to WebAssembly under 15MB. It necessitates parsing complex TeX macro syntax, managing virtual font metrics, and generating PDF/Canvas output directly. The project demands years of deep expertise in compiler theory, low-level typography specifications, and TeX's historical algorithmic quirks.
Discussion
2 comments analyzed.
Competitors
Other products that read as similar to this one — 109 launches clear the similarity bar, closest 8 shown.
Attention rank: #89 of 110 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 313 days after the earliest competitor.
- Latex.to · hn · 2026-08-03 · 6 upvotes · similarity 0.50
- TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM · hn · 2026-08-25 · 118 upvotes · similarity 0.49
- ModernTex · ph · 2026-09-15 · 2 upvotes · similarity 0.44
- I ported Manim to TypeScript (run 3b1B math animations in the browser) · hn · 2026-02-25 · 140 upvotes · similarity 0.43
- I made a 2D Lua game engine using Rust with code and asset live reload · hn · 2026-05-19 · 30 upvotes · similarity 0.41
- The Goal is simple, there should be an actual free editor · hn · 2026-07-31 · 20 upvotes · similarity 0.40
- Elecxzy · hn · 2026-02-21 · 22 upvotes · similarity 0.40
- KiCad in the Browser · hn · 2026-07-05 · 111 upvotes · similarity 0.40
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a workflow automation tool for Real estate yet.