Live feedback
Save a .tex file and the preview quietly refreshes itself. No manual builds, no page reload.
Introducing Lampo · Source preview available
A tiny command-line tool for an instant, always-open LaTeX preview in your browser. Edit the source, watch it update, and export the finished PDF when you're done.
Built with coding agents in mind. The preview works today from source, with the first public binary release coming after testing.
The idea
Live previews are ordinary in web development. Lampo brings that same effortless feedback loop to LaTeX, without a heavyweight editor or special workflow.
Save a .tex file and the preview quietly refreshes itself. No manual builds, no page reload.
Run lampo in your project directory to start a tiny localhost server and open your browser.
Choose a filename and download a crisp PDF straight from the preview toolbar.
Point any editor or coding agent at the same LaTeX files. Lampo just watches and renders.
Workflow
Watch LaTeX source, included chapters, bibliographies and figures.
Debounce saves, compile with latexmk, and stream updates over local HTTP.
Keep the last good PDF in view, even when an edit breaks the build.
Zoom, select text, follow links and export a named PDF.
Foundation in place
Go CLI
One native binary includes the HTTP server, filesystem watcher and browser UI.
npm distribution
Tag-driven native releases and an npm shim are ready for first publication.
Release pipeline
GitHub Actions for binaries, GitHub Releases, and npm publication from version tags.
Docs site
Astro and ZueDocs, with project notes hosted at lampo.ashray.xyz.
Lampo is being tested before its first release. Try the source build and follow along on GitHub.