Notebooks and the note tree

Guide

This page covers creating, opening and saving a burl notebook, and arranging the notes inside it. It is for anyone using the desktop app (burl-ui).

A notebook is one .burl file. Inside it, notes form a tree, and every note is both a folder (it can hold child notes) and a document (it has a body).

The parts of the window

Open, create and save

Press F10 (or click the footer's menu button) and pick New database..., Open database..., Save or Save as... (the menu says "database" where this guide says notebook). The keys are Ctrl/Cmd+N, Ctrl/Cmd+O and Ctrl/Cmd+S; see keyboard shortcuts.

Make, rename and move notes

Select a row in the tree on the left, then:

Do this Key
New sibling note Enter
New child note Shift+Enter
Rename F2
Delete Delete or Backspace
Nest under the note above / move out Tab / Shift+Tab
Reorder among siblings Alt+Up / Alt+Down

The same actions (New sibling, New child, Rename, Delete) are in the right-click menu on a row. To move a note anywhere else, press and hold on its row for about a third of a second, then drag it. Dropping outside the tree moves nothing.

Arrow keys walk the tree; Alt+Left goes back through the notes you reached by following links.

Show note ids

Every note has a number, its note id. An assistant working through burl-mcp names a note by it, and Find (Ctrl/Cmd+G) opens a note when you type its number. To see each note's number at the right end of its row, choose Show > and then Show note ids from the menu (F10), or press Ctrl/Cmd+J; that row then reads Hide note ids. A title too long for the row is cut short before the number. burl remembers the choice the next time it starts.

The same Show > menu has Show frame view, a small readout at the top right of the note of how hard burl is working to draw the window. It shows frames a second, how long a typical frame and a slow one take, pauses over 250 ms, and a strip of the last 120 frames. It starts off at every launch.

Undo

Ctrl/Cmd+Z undoes the last delete, create, rename, move or archive. Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y redoes it. The footer says "nothing to undo" when there is nothing to undo.

Archive a note

Right-click a row and choose Archive. burl asks first, because the note moves under a single Archive section at the top of the tree and becomes read-only, along with every note under it. Drag a note out of the Archive to restore it and everything under it. You cannot drag a note into the Archive or under an archived note; archive it instead. Searches skip archived notes unless you turn on the archived toggle (see search).

Stable ids and history

Right-click a note, choose Copy reference > as link, and paste: you get burl://note/<id>, where <id> is a 32-character stable id. Rename that note and move it under another parent, and the link still opens it, because the id never changes. Every line of a note has an id too, and a copy of the notebook keeps all of them, which is how an imported copy lines up with yours. Ids also appear in [[Title::<id>]] links and ![[Title::<line id>|label]] embeds (see links), in burl-backend export output, and as the NOTE argument of burl-backend guidance.

Every save that changes the notebook records a checkpoint, an earlier state of the whole notebook, and burl thins checkpoints as they age: it keeps every one from the last hour, then one per 10 minutes, and fewer still after two days. This matters when you import an old copy: a copy that split off before your oldest kept checkpoint is refused (see bring changes back). burl also takes a snapshot just before a note is deleted or a copy is imported, and archiving a note drops its older versions. burl keeps these earlier states for its own merges; the app has no command that goes back to one.

The merkle merge, as a working model shows how a merge works. How burl stores a notebook gives burl's exact bytes, the numbers and the thinning schedule.

Note format and icon

Right-click a row and choose Format: to pick plain, markdown, todotxt (the menu's name for todo.txt), richtext, code or recipe. See writing for what each does.

Choose Icon... (or Ctrl/Cmd+I) to give the note a marker symbol: ., *, +, -, !, ?, # or @.

Read-only notebooks

A read-only chip in the footer means the selected note is archived, the file was written by a newer burl, or another program holds the notebook. In the last case the footer counts "waiting N s" and the notebook becomes writable in place when the other program lets go. If another program (such as an assistant, see AI assistants) changes the notebook while it is open, the footer says "changed by another program - reloaded".

A notebook written by a newer burl than the one you run opens, and you can read it. Saving is not allowed: burl-ui shows the read-only chip, and burl-mcp and burl-backend refuse each command that writes, naming the schema they do not recognize. A burl router that is older than the notebook will not serve it, and an older burl cannot merge a copy made by a newer one, or the other way round. Nothing in the file is lost. Upgrade every burl that opens the notebook together; the first newer burl to open an older notebook converts it for good, and no older burl reads it back as before. Burl 1.80.0 is where the notebook format moved to v38.

Open a notebook from a link

burl-ui accepts a burl:// link as its argument. burl://open/PATH opens that file, or raises the window that already has it. burl://note/ID goes to that note, in the running burl that holds it or in a recent notebook that does. Clicking such a link works on macOS, and on Linux once burl is registered: the curl installer does that, and with Nix you run burl-register-desktop once (see the README). See settings and command line for the command line.

Questions this page answers