Help › Work in notebooks

Sync a notebook between your computers

Choose the notebooks whose cells follow you to your other computers, end-to-end encrypted and without their results, and see what happens when one changes in two places.

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

A notebook is a file on your computer. When you choose to sync one, its cells travel to your other computers through sync: end-to-end encrypted, so the server stores only what it cannot read. The notebook's results stay behind on each computer.

Note: Syncing notebooks needs a Querlyn server that stores them. Until yours does, a notebook you chose says Waiting to sync and stays on this computer; everything else keeps syncing. Notebook sync has been run against a stand-in of the server only.

Sync a notebook

Open the notebook, save it, and choose Notebook › Sync This Notebook (in the line under the notebook's cells, Notebook › Sync This Notebook). Only notebooks you choose sync; the others stay files on this computer and nothing of them leaves.

The line under the cells then says where the notebook stands:

It saysWhat it means
SyncedIts cells are on the server as of the last sync.
Waiting to syncIt changed since the last sync, or something holds sync back. Point at the words to read what.
Too large to syncWithout its results it is over 1 MB, the most a synced notebook holds.
Not syncedIt is only on this computer.

Notebooks can be turned off as a whole in the Sync settings, like the other kinds of synced data.

What travels and what stays

What travels: each cell's text and kind, pictures you put in text cells, tags, result names, parameter inputs, chart and no-code settings, the query language, the kernel's name, and the connection each cell runs on as a reference (its name, engine, host, port and database).

What never leaves the computer:

  • results of any kind: rows, messages, errors, charts, plans, what Python printed or drew
  • when, where and with which values a cell last ran
  • what changed since the run before, and that run's rows
  • passwords and every other secret (a notebook holds none; a connection is matched to one of your own on each computer, never made)
  • values of masked columns (they are only ever in results)
  • where the file is on your computer

On your other computers

A synced notebook appears under Notebooks in the sidebar. Click it to open it: the first time, Querlyn writes its cells to a file in its own folder (named Synced Notebooks, in Querlyn's data folder) and opens that. Save it under another name to keep it where you like; the synced notebook follows the file you saved.

A notebook that arrived is opened like any notebook from elsewhere: nothing runs until you run it, your connections are matched and never made, and its Python kernel, pictures from the web and links that run commands stay off until you choose Trust Notebook on that computer. Trust is kept per computer and is never synced, and a version that arrives later has to be trusted again.

When a newer version arrives for a notebook you have here, it goes into your file: the cells and their order become the new version's, and the results on this computer stay with the cells they belong to (a result whose query changed is marked out of date). If the notebook is open, a bar says a version arrived; Reload on the bar (Notebook › Reload the Version That Arrived) shows it, with the results the open notebook has, also those of cells you ran since you last saved. Changes to its text that you had not saved are not kept.

When a notebook changes in two places

If you change a notebook on two computers before they sync, both versions are kept. The notebook you have open stays as it is and is what syncs; the other computer's version becomes a notebook of its own in Notebooks, named after the computer it came from. A bar says so, with Open the Other Version (Notebook › Open the Notebook's Other Version) to look at it and Dismiss (Notebook › Dismiss the Other Version's Notice) once you have. Nothing is merged for you and nothing is dropped.

Stop syncing

Notebook › Stop Syncing This Notebook takes the notebook out of sync on all your computers. Every computer keeps its file; only the copy on the server goes.

Help for Querlyn 0.1.0. All help topics