settings.json
freehand/settings.json lives in your Google Drive, in a folder called freehand. It names your device and the folders that proofs, copies and records go into. The freehand script, the skills and the commands all read it.
| Key | Required | What it is |
|---|---|---|
freehand |
yes | The version of the settings format. Must be 1. |
tablet |
yes | Your e-ink device, for example supernote. |
timeZone |
no | A time zone name such as Europe/Paris. It dates what Freehand sends and records. The script defaults to UTC. |
proofs |
yes | The folder proofs go to. A folder. |
copies |
yes | The default folder for reading copies. A folder. |
sent |
yes | Where records and snapshots go. A folder. |
documents |
no | The device’s documents folder, which copies and proofs usually sit inside, and which folder: in paper.yml is relative to. A folder. |
inbox |
no | The script’s inbox, where your AI leaves requests. A folder. |
notebooks |
no | The device’s notebooks folder, for reading pages. A folder. |
pages |
no | Where reading notebook pages keeps its state and its notes: { "state": "<state folder>", "notes": "<where notes go>" }. |
A folder
Section titled “A folder”Each folder is an object with its path in Drive and its ID:
{ "folder": "Supernote/Document/proofs", "folderId": "1aBcD…" }The ID is the last part of the folder’s web address. Each folder’s ID must look like a Drive ID (letters, digits, - and _, 20 or more characters), and proofs, copies and sent must each be a different folder.
Example
Section titled “Example”{ "freehand": 1, "tablet": "supernote", "timeZone": "America/New_York", "documents": { "folder": "Supernote/Document", "folderId": "<id>" }, "proofs": { "folder": "Supernote/Document/proofs", "folderId": "<id>" }, "copies": { "folder": "Supernote/Document/study", "folderId": "<id>" }, "sent": { "folder": "freehand/sent", "folderId": "<id>" }}Check it
Section titled “Check it”freehand check-settings settings.jsonIt prints ok, or one line for each problem, and exits 1 if there are any. Run it before the file goes into Drive, so a typo shows up here and not as a script error a minute later.
Folder paths only
Section titled “Folder paths only”When you start local, freehand init writes a settings.json of folder paths only, with no IDs, because sending from your computer into the folders your sync app keeps on disk needs none. That file is for your computer. The freehand script needs the IDs, so for the script, use freehand-setup or fill them in and check the file with freehand check-settings.