Typbase: WYSIWYG local-first knowledge base

I have made yet another editor app for Typst!

Typbase is a local-first knowledge base where everything is stored as a Typst document.

The editor compiles as you type and replaces blocks with the rendered output inline. Clicking a block will get you back to its source. Split and read views are also there if you like them.

The engine also closes broken math, strings, brackets, and comments before compiling, reports each repair, and localizes errors that would otherwise fail the whole page. This keeps the inline view from going blank between keystrokes.

Typbase adds daily notes, categories, backlinks and a graph, full-text search, and optional AT Protocol sync and site publishing. All data stays local by default through OPFS in the browser or the filesystem in supported platforms.

App plugins are also in Typst! Calendar, diagrams, and drawing render widgets, panes, and windows from Typst sources, and can read workspace data through the apps query system.

You can export to HTML, PDF, SVG, or a Typst project with the library, plugin sources, and (optionally) fonts, so the page still compiles outside the app.

https://github.com/lemueldls/typbase

Happy to answer questions.