explaingit

aburousan/hilbert-editor

Analysis updated 2026-05-18

93JavaScriptAudience · researcherComplexity · 2/5Setup · easy

TLDR

An offline desktop editor for Typst scientific documents with live PDF preview, visual math tools, and runnable Python and Julia code blocks.

Mindmap

mindmap
  root((Hilbert))
    What it does
      Typst scientific editor
      Live PDF preview
      Runs offline
    Tech stack
      Electron
      Monaco
      Typst
    Use cases
      Write physics papers
      Run Python and Julia inline
      Build plots visually
    Audience
      Researchers
      Students
    Privacy
      Local server only
      Optional cloud sync

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Write physics or math papers in Typst with a live-rendering PDF preview instead of Overleaf.

USE CASE 2

Run Python, Julia, or Wolfram code inline and drop the results straight into a document as figures or equations.

USE CASE 3

Build plots, matrices, or diagrams visually instead of writing Typst layout code by hand.

What is it built with?

JavaScriptElectronTypstMonacoPythonJulia

How does it compare?

aburousan/hilbert-editorcocktailpeanut/image-to-promptbradtraversy/customerbase
Stars939392
LanguageJavaScriptJavaScriptJavaScript
Last pushed2020-09-03
MaintenanceDormant
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audienceresearchervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Distributed as a downloadable desktop app with auto-updates, running from source is also documented.

The README does not state license terms.

In plain English

Hilbert is a desktop application for writing scientific documents in Typst, a typesetting language often used as an alternative to LaTeX. It is an unofficial, independently built project and is not affiliated with the official Typst team. The app puts a code editor on one side of the screen and a live PDF preview on the other, and the PDF updates as you type. The editor is built on Monaco, the same code editor used in VS Code, and adds hover documentation and autocomplete specific to Typst. Instead of memorizing syntax, common elements like equations, matrices, tables, theorem boxes, citations, and plots can be inserted through visual tools and then edited as plain Typst text. There are dedicated builders for two dimensional and three dimensional plots, hand drawn diagrams, commutative diagrams, Feynman diagrams, matrices, and flowcharts that get converted into working code. The app can also run Python, Julia, or Wolfram code directly inside a document. Code blocks in a notebook style run as one continuous session so variables carry over between blocks, and results can be inserted back into the document as text, a figure, or a typeset equation. Citations can be added just by pasting in a DOI or an arXiv identifier, and Hilbert looks up the paper and saves it automatically. Everything runs locally on the user's own computer through a small local server, and no data leaves the machine unless the user turns on optional cloud syncing through Google Drive or WebDAV. The app works offline, updates itself automatically once installed, and is described as lightweight, with the backend using around 12 megabytes of memory while idle. Hilbert also behaves like a general code editor for working with a full folder of files, similar to VS Code, supporting opening any folder as a workspace, splitting a document into multiple included chapter files, and searching across an entire project at once.

Copy-paste prompts

Prompt 1
Explain how Hilbert keeps a Python or Julia session alive across multiple code blocks in the same document.
Prompt 2
Show me how the live PDF preview stays in sync with the editor as I type.
Prompt 3
Walk me through how citations get looked up and saved when I paste in a DOI or arXiv id.
Prompt 4
Explain how multi-file Typst projects with included chapters are compiled in this app.

Frequently asked questions

What is hilbert-editor?

An offline desktop editor for Typst scientific documents with live PDF preview, visual math tools, and runnable Python and Julia code blocks.

What language is hilbert-editor written in?

Mainly JavaScript. The stack also includes JavaScript, Electron, Typst.

What license does hilbert-editor use?

The README does not state license terms.

How hard is hilbert-editor to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is hilbert-editor for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.