How to get notes out of burl, hand a copy of a notebook to another machine, and bring changes back. For people using the desktop app; the command-line equivalents are noted where they exist.
Export
Menu F10 offers three exports (SQL, Markdown, and a copy without attachments) and Publish HTML..., each into a file or folder you choose. The window stays usable while it runs and the footer shows "exporting...".
- Export SQL... writes the whole notebook as an SQL script.
- Export Markdown... writes every note as its own file in its own format:
.mdfor markdown,.txtfor plain and todo.txt, a code note's own extension. The tree becomes folders: a note with children or attachments is a folder holding its own file, with its attachments beside it. A[[link]]becomes a relative markdown link. - Without attachments... writes a smaller
.burlthat keeps each attachment's name and size but not its contents. The original is untouched. - Publish HTML... writes a static site (
index.htmlplus a page per note), drawn as burl draws your notes. The chooser asks for relative or absolute links. Command line:burl-backend publish-html.
Attachments missing from such a copy show as "absent" in the ATTACHMENTS section. burl-backend rehydrate fetches them back from a host that has them; there is no menu entry for that.
Hand a copy to another machine
To open your notebook on a second computer, choose menu F10 > Serve, which opens the "Serve, pull or send" panel. Start shares a frozen copy of the open notebook. The panel shows an address, a fingerprint and a six-digit code that changes every 30 seconds. The other computer needs the address and the current code.
- By default only this computer can connect. Tick "Allow connections from other devices on this network (LAN)" to let others connect. Serving that way also announces the notebook's name on the network, as the next section describes.
- Tick "Let other devices send changes back" to allow upload; otherwise the host is read-only.
- A browser that opens the address gets a sign-in page asking for the code. After signing in it can download the notebook, hand it to its own burl with Import into my burl (burl asks before merging anything), or upload a copy back. Upload is refused unless sending changes back is ticked. Another burl can send a notebook back from its own Serve panel, as Send to a host describes.
The fingerprint the panel shows belongs to this computer's serve key. burl creates the key the first time you serve and reuses it every time after. A computer that pulls from yours remembers the fingerprint, and refuses a later pull if it changes. The transfer is not encrypted, and anyone who sees the code can fetch the notebook. The command line equivalent is burl-backend serve. At a terminal it prints each new code as it changes. Run anywhere else, such as from a systemd unit, it prints no codes, because anyone who can read that output could use them. Run burl-backend code to see the current code, or add --print-code to print them anyway.
What serving on the network announces
While burl serves with the LAN box ticked, it announces itself with mDNS, the way printers are found on a network. Other burls then show it in their "On this network" list, described below. Anyone on the same local network can see:
- the notebook's file name and this computer's name, such as "notes on nixos";
- the address and port it serves on;
- the fingerprint of this computer's serve key.
The notes themselves and the code are never announced. Routers do not forward the announcement, and burl answers a question for it only from a computer on your local network: a computer that reaches yours across a router or over a VPN gets no answer. Two setups count as local anyway. A virtual network that behaves like a LAN, such as ZeroTier, is local to burl, and a router set to relay mDNS between networks passes on questions from every network it relays.
When you click Stop, burl tells the network it has stopped, and other burls with the list open drop your notebook from it about a second later. Opening another notebook or quitting burl stops serving the same way. If burl stops without telling the network, for instance because it crashed, other lists mark it not answering within about 40 seconds instead.
If your computer's address changes while burl serves, as when a laptop joins another Wi-Fi network or a dock, burl announces the new address within about 5 seconds, and other lists show your notebook at it. While your computer has no network, burl announces nothing, and starts again when the network returns.
If the LAN box is unticked, or you never serve, burl announces nothing. No setting serves on the network without announcing. On a shared or public network, leave the LAN box unticked: the transfer is not encrypted, and ticking it also tells everyone on the network the notebook's name.
Pull from a host
In the same panel, type the host's address and code and click Pull, then Fetch. The copy is downloaded and the import preview opens. Instead of typing the address, you can pick the host from the list under the code field.
The "On this network" list

On this network lists the burls announcing on your network. It also lists each host you have pulled from before, if the host answers when burl tries it. A row such as "notes on nixos (ab12)" gives the notebook's file name, the computer's name, and the first four characters of its serve key's fingerprint. The line under it is the address and port. The list asks the network over and over while it is open, and each round of asking is called a look.
The tags at the right say where a row came from, and whether it still answers:
- LAN: it was heard announcing on this network.
- recent host: you have pulled from it before. burl contacts each of these directly at its address, so it finds them even over a VPN, which announcements do not cross. Unless it is also heard on the LAN, its name is the one it had at your last pull, and the line under it says when, such as "name from last pull, 2 days ago". If you typed its address, the address is its name. A recent host that stops serving stays listed and turns not answering.
- not answering: it did not answer the last two looks. This tag replaces the others.
The other rows are also tagged unverified, except the one you are pulling from or sending to, which shows pulling or sending. A row is unverified because any computer on the network can announce any name. In the picture, the two "notes on nixos" rows have different fingerprints, ab12 and c7E0, so they are two different computers. A row tells you only that a burl claims that name. The code is still what lets you pull, so read it off the other computer's screen or get it from the person whose notebook it is.
Click a row and burl fills in its address and moves the cursor to the code field. Type the code, then click Pull and Fetch as usual. While a fetch runs, rows ignore clicks. burl hides any row that carries this computer's own serve key, so your own server is not listed.
A look lasts 3 seconds. The first starts when the panel opens, and another starts 15 seconds after each one ends. Look again starts one now, and is grayed out while one is running. While the panel is open, burl listens on UDP port 5353 for announcements and connects to each recent host to see whether it is still there. When the panel closes, it stops listening and starts no new connections.
When a look finds nothing, the list shows one of three reasons:
- "This machine cannot ask the network." This computer cannot send the question onto the local network, which is expected when a VPN such as WiFiman carries its traffic. Type the address instead.
- "Inbound mDNS is filtered on this machine." Answers cannot reach this computer, usually because a firewall drops UDP port 5353. Allow that port, or type the address.
- "Nothing is serving on this network." The question went out, and no burl answered within 3 seconds.
Under each reason, the list says how many recent hosts it tried and that none answered, or, if you have never pulled, that there are none to try yet.
burl keeps the hosts you have pulled from in a file called recent_hosts, in burl's settings folder (see Settings and the command line). It is updated each time a pull finishes. Delete the file to forget them.
Send to a host
To send the open notebook to a computer that is serving, use the same panel. Type the host's address and code, or pick the host from the list, and click Send. burl first asks the host what history the two notebooks share. Nothing is sent to a host that shares none. The panel then shows the host's fingerprint and what will be sent, and the button reads Send now. While the copy uploads, the panel counts what has gone, and Start and Pull wait.
The host merges what arrives straight away. Changes that do not conflict land in its notebook. A line changed on both sides keeps the host's text and waits in the host's conflicts list, and the panel says how many are waiting. A fork is the usual thing to send home this way.
The host must be serving with "Let other devices send changes back" ticked; otherwise it refuses, and the panel says what to tick on that computer. If nothing answers at the address, nothing is sent, and the panel names the route that needs no network: copy the file to that computer and use Import from a copy... there. Command line: burl-backend send.
Serve several notebooks from one place: the router
Serve shares the notebook that is open. To keep several notebooks available to your phone and other computers all the time, without a window open on each, attach them to the router: one background service that serves every attached notebook on one port (7374), each at its own address, /n/ and the notebook's name, and each with its own six-digit code. The code for one notebook opens no other. The command line is burl-backend router; the router window and, on a Mac, the second app burl router manage it without typing.
Open port 7374 in the firewall of the computer that runs the router, or a phone on your network gets "No answer" and nothing is sent. Plain serve uses port 7373, so a firewall rule that lets serve through does not cover the router. On NixOS, add the port to /etc/nixos/configuration.nix and rebuild:
networking.firewall.allowedTCPPorts = [ 7374 ];
Other firewalls need the same rule for TCP port 7374.
The router window is burl-router. It comes in the Linux tarball and in the Nix package, beside burl-ui. It lists the attached notebooks and their state, and its header says where the service listens, who can reach it and for how long it has been up.
On Linux the window is in your applications menu as burl router, with burl's icon: install.sh and burl-register-desktop add it beside burl's own entry, and install.sh --uninstall takes it out. With Nix, nix run 'git+https://git.sr.ht/~ninjapanzer/burl#install-router' adds only the router's entry, pointing at a link Nix keeps and does not collect; run it again after an upgrade. A new entry that appears after nix profile upgrade may not show in your desktop's panel or applications menu until you log out and back in, or restart the panel (on Budgie, budgie-panel --replace). The entry only opens the window: it does not start the service at login. For that, run the service as a systemd user unit (homeManagerModules.burl-router sets one up).
- Attach a notebook... asks for the notebook's file and the name it goes by in the address. Type or paste the path, or press Choose... to browse for it: the list shows folders and notebook files, and picking a file fills in the path and the name. The name follows the file's name until you edit it. If the service says no, its sentence stays in the form.
- Detach... asks first, for the row you selected. Its address stops answering at once, and the router forgets the notebook and its code. The file is not changed, and the keys of phones already paired stay in it, so attach it again, here or on another router, and those phones sign in without a code.
- Receiving is on the page you open from a notebook's row with Pairings..., beside its code. It is a box, "Let other devices send changes back", and it is off until you tick it: with it off, a phone can fetch the notebook but not send changes to it. Each notebook has its own box, and the router saves the choice and serves the notebook again with it. Command line:
burl-backend router receive NAME on|off, which edits the saved list when no router is running. Changes that cannot merge are not decided here. They wait in the notebook until you open it in burl, and the page says how many are waiting. A phone can always ask for a fork of a note, to add a notebook, with no box for it. - Held forks..., on the same page, lists the forks that notebook holds for phones, newest first, each with Forget. It is the Held forks window of burl-ui, for a notebook the router serves. Forgetting asks first, because it cannot be undone.
- Copy address puts the selected notebook's address on the clipboard: by the machine's name when the service listens on every interface, by
127.0.0.1when it does not. - Start the service now appears when nothing answers. It starts
burl-backend routerand says when that did not work. - Who can reach this router is a box, "Allow connections from other devices on this network (LAN)". Off, only this computer reaches the router and nothing is announced on the network. Ticking it saves the choice, and a running service only takes it up when it restarts, so the window says so and offers Restart the service: it stops the service, gives a supervisor (a systemd or launchd unit) two seconds to bring it back, and otherwise starts it itself, with the router's default settings. Command line:
burl-backend router lan on|off|status.
On a Mac, the zip carries burl router.app beside burl.app, with an icon in the menu bar. Its menu opens the router window and starts or stops the service. Start at login is off until you tick it; ticking it installs two launch agents, and unticking removes them. Quit burl router stops the service too, and it stays stopped. INSTALL.txt in the zip says how to install it.
A router that runs without a window cannot show a pairing request, so pair a phone from a terminal as yourself: burl-backend router pairs lists the requests, and accept and refuse answer them. A pairing belongs to one notebook: a phone paired with one notebook of the router is not paired with the others, and is paired again for each. The router also compacts a notebook it serves when it stops, or when burl-backend router compact asks. Every command is in burl-backend(1).
To share one note and what belongs with it, rather than the whole notebook, right-click the note and choose Fork.... The dialog lists what goes in the fork, with a count beside each box: the note's children, the notes it links to, the notes that link to it, and this notebook's guidance for the note, including what the notes above it say. It names the notes before anything is written. Fork writes a new .burl holding only those notes. The window stays on this notebook, and the footer names the file and how many notes it holds.
In the fork, notes that came only because they are linked sit in a folder note, Linked from home. Files attached to those notes go with them; a shortcut to a file elsewhere on this computer does not. A link to a note that was left out stays in the text and shows as missing. The guidance sits on the fork's top note, where GUIDANCE marks it "from home, read-only", and it cannot be edited there. No other note is in the file, including in its history. This notebook keeps a record of the fork, so the file can come back later with Import from a copy..., below. Command line: burl-backend fork.
Forks held for a phone
A serve started with --forks=true makes a fork when a phone asks for one, and this notebook keeps it until the phone's next sync retires it. A phone that lost its copy leaves one behind. Menu F10 > Held forks... lists them, newest first, with the note, when it was served, whether it came back, and how much space forgetting it would free. Forget asks first and cannot be undone; a phone that still holds the copy can still send its changes home and pull a new fork. Command line: burl-backend forks and burl-backend forget.
The phone app
The Android app reads a notebook that a computer serves, with the notebook's own copy on the phone. Install it from the release page (the release notes say how), and serve the notebook from burl's Serve panel or from the router above.
- Add and pair with one code. In the app, Add a notebook lists what your network serves. Type the six digits Serve shows (they change every 30 seconds), and the app adds the notebook and asks home to pair in the same step; home shows the phone's name and five words, and you press Accept there. After that, Sync asks for no code.
- A pairing belongs to one notebook of one home. The phone keeps each one, and removing a notebook from the phone keeps its pairing, so adding that notebook again needs no Accept. This phone lists the kept pairings, with Forget on one no notebook uses; home still lists the phone until you remove it there. A pairing made before this release is not accepted: pair again.
- A picture opens full screen. Tap a picture or a diagram in a note. At fit size, swipe to page through the note's pictures; double-tap to zoom in on that spot and double-tap again to fit. A picture that is also a link opens the viewer, and its link moves to the long-press sheet.
- The drawer opens on the note you are in. Collapse all folds the tree, Show current opens the notes above the open one, and a You are here strip names its whole path. A note's page shows the whole path too, each part a link.
- A sync keeps going when you leave. Tap Sync and it carries on with the screen off or with another app in front, as a task Android keeps alive. While it runs, a notification reads "Syncing" and the notebook's name, says what the sync is doing, and has a bar and Cancel. The first time you sync, burl first explains on a sheet ("Let burl show sync progress?", Not now or Continue), then Android asks for its notification permission. When the sync ends and burl is not in front, the notification becomes the result ("Synced", then "Up to date" or how many answers merged, or that a conflict waits at home); tap it to see that sync's entry.
- Cancel stops it. Cancel is on burl's own strip and on the notification, which works from the lock screen. The sync stops at its next progress report, the notification turns into "Sync canceled" (or goes away if burl is in front), and the chip reads "canceled" beside home's name until a sync gets through. Whatever home had already taken stays taken, and this copy stays as it was.
- Android can stop a sync. If Android ends it, the notification says "Sync stopped by Android" with Sync again, the chip reads "stopped", and nothing retries on its own. Android does not cut off a sync that keeps reporting progress, so this is rare; it was not seen in a 24-minute sync with the screen off.
- Without the notification, the sync still runs. If you tap Not now or deny the permission, a sync still runs, with no notification, and the strip says "Keeps running only while burl is open." Allow it in Android's settings for burl if you want to see a sync that runs in the background.
- Sync history. The drawer's Sync history row, above This phone, shows the last sync; open it for this notebook's last 200 syncs, newest first, each with its time, what happened (synced, already current, no answer, canceled, stopped by Android, or why home did not take it) and, for a sync nobody watched, "screen off". Tap one for its sheet: how long it took, and the notes that changed, each by its title then. The result notification and the snackbar's See what open the same sheet.
Upgrade home before the phone: a home on the older notebook format refuses a copy from a phone that has the newer one. A Sync that is running keeps going when the screen rotates.
Bring changes back
Menu F10 > Import from a copy... and choose a copy of this notebook (one made with Save as..., one pulled from a host, or a plain file copy). A preview shows what would change. Nothing merges until you click Apply. Changes that cannot be combined are queued; menu F10 > Resolve conflicts (N) lets you pick Keep mine, Take theirs, or edit the text. There is no "keep both" option. A merge keeps the Archive whole: a note that ends up inside it, under a folder either side archived, comes in read-only with that folder, and a note one side moved out of an archived folder stays editable where it was moved. Without the window, burl-backend merge applies the copy and burl-backend resolve takes mine or theirs for each queued conflict.
Attachments merge like text. A file added in one copy arrives in the other, and a file deleted in one copy is deleted in the second, unless that copy changed the file. The preview counts them, in a line such as "1 attachment, 51 B". When both copies attached different files under one name, your file stays and the conflict is queued with both sides: Keep mine drops the other file and Take theirs puts it in place.
When both copies of a board moved cards between its lanes, each copy's moves land. A card that both copies moved, to different lanes, stays in your lane for now and the conflict is queued: Resolve conflicts (N) names the card and its lanes, and Keep in a lane puts it at the end of that lane without changing anything else on the board. When one copy removed a table column that the other copy wrote in, the conflict panel asks before that column's text goes, row by row.
The preview also lists what the copy brings about who is linked. A line such as "1 link statement(s)" counts the copy's halves of a machine link, and a row link studio-mac: half arrived, yours not signed names each. A row revoked laptop-2: key ended by studio-mac is a machine whose key the copy ends, and revoked this machine: key ended by studio-mac is this machine's own key. Apply takes the whole copy, so Cancel is how to look before deciding. A half that arrives for a key already ended is listed as kept laptop-2: its half ignored, key ended here and counts for nothing. "N run record(s)" counts the scheduled-recipe runs the copy carries. See Link your machines, and end one's key and Run a recipe on a schedule.
Step by step: Reintegrate a copy.
A copy is matched to your notebook by stable ids, and the merge needs a shared earlier state; see stable ids and history.
Questions this page answers
- How do I export my notes to markdown, HTML or SQL?
- How do I make a smaller copy without attachments?
- How do I share one note and its children, without the rest of the notebook?
- How do I share a notebook with my other computer?
- How do I send a fork home without carrying the file?
- How do I serve several notebooks at once, and keep serving them?
- How do I let my phone reach the router, and how do I stop it?
- Where do the router window and the Mac menu bar item come from?
- Why does Send say nothing was sent?
- What is the six-digit code in the Serve panel?
- How do I find a burl on my network without typing its address?
- Why is every row in "On this network" marked unverified?
- What does burl announce when I serve on the network, and how do I serve without announcing?
- Why does the list say "Nothing is serving on this network"?
- How do I make burl forget the hosts I have pulled from?
- How do I merge changes from a copy back in?
- What does "N conflicts" in the footer mean?