~/notes/Docs.md

Documentation

How to use nodio day to day: Markdown and tasks, tables that compute, charts, the nodio command, the MCP server for AI agents, and every shortcut. All examples can be pasted into a note as they are.

Install & update

nodio runs on macOS 14 Sonoma or newer on Apple Silicon. It is free and open source (Apache License 2.0).

Homebrew

brew install --cask pwittchen/tap/nodio

This installs nodio.app and links the nodio command.

Disk image

Download nodio-macos-aarch64.dmg from the latest release and drag nodio into Applications. Releases are signed with a Developer ID and notarized by Apple. To get the command line tool, choose nodio → Install Command Line Tool….

Updates

nodio looks for a new release on GitHub about 10 seconds after launch and once a day. A newer version is offered in a dialog: Update downloads it, checks its signature, replaces the app and restarts (the open note is saved first), Skip This Version stops offering it, Later asks again next time. nodio → Check for Updates… checks right away. Automatic checks can be turned off in Settings → General. With Homebrew, brew upgrade --greedy works too.

Your workspace

The workspace is the folder your notes live in. Everything nodio shows is a file under it. On first launch a welcome sheet offers Choose Folder…, or Create ~/.nodio/workspace with a Welcome.md note that demonstrates checkboxes, computed tables and every chart type: a good place to start.

Switch workspaces any time with ⌘⇧O, Settings → General, or the workspace name in the sidebar footer, which also lists the last five. An existing folder works fine, including an Obsidian vault or a git repository of Markdown files.

nodio writes nothing into the workspace except notes, folders and .img/ folders. Pinned notes, expanded folders, caches and the search index live in ~/.nodio/, so a notes repository never gets app noise committed.

The window

Three regions, left to right: the sidebar (⌘\), the editor and the preview.

  • One at a time (default): the main area shows either the editor or the preview. ⌘⇧P shows the preview, ⌘E the editor; each pane picks up where the other was scrolled.
  • Side by side: turn on Settings → Editor → side by side ([ui] side_by_side = true). The preview takes the right half; drag the divider to resize. ⌘E is then read mode: the preview alone, handy for dashboards.
  • Focus mode (⌘⇧J) hides the sidebar and the title bar; Esc leaves it.
  • The arrows in the title bar widen the editor or the preview from the readable column to the full pane.
  • The title bar also holds the breadcrumb of the open note, back / forward (⌘[ / ⌘]), the command palette, pin, appearance, insert image and Settings.

Closing the window keeps nodio running in the Dock (with the MCP server and the file watcher); ⌘Q quits.

Notes & folders

A note is a .md file; folders are plain directories and the only structure. The sidebar lists folders first, then notes, by title: the front matter title:, else the first # heading, else the file name.

  • ⌘N creates Untitled.md in the selected folder with a #  ready. Type a heading and, once you pause, the file is renamed after it ([notes] rename_from_title).
  • ⌘⇧N creates a folder. Rename with a double-click or ↵, move by drag and drop, delete to the macOS Trash (with Undo).
  • Autosave writes 600 ms after you stop typing, when you switch notes and on quit. Writes are atomic. With [notes] autosave = false, ⌘S saves.
  • Changed by another editor or a git pull? A clean note reloads silently; one with unsaved edits shows Changed on disk — Reload / Keep mine.
  • Pin notes (⌘⇧D) to keep them at the top of the sidebar; drag to reorder.
  • Links to other .md files open them in nodio; web links open in the browser.

Images

Paste an image (⌘V), drop it from Finder or a browser, or use the image icon in the title bar. It is copied into a .img/ folder next to the note and linked at the cursor:

![](.img/lisbon-20261012-184502.png)

PNG, JPEG, GIF, WebP, SVG and HEIC (converted to JPEG) are supported. Moving a note to another folder moves its images along and rewrites the paths. Clean Up Unused Images… in the palette finds images no note uses, and Download Remote Images copies a note's https:// images into .img/.

Markdown formatting

nodio reads CommonMark plus GitHub Flavored Markdown, so a note looks the same on GitHub as in the preview.

You writeYou get
# Title, ## Section … ######Headings; jump between them with ⌘⇧R
**bold**, *italic*, ~~strike~~bold, italic, strike (⌘B, ⌘I, ⌘⇧X)
`code`Inline code (⌘⇧C); `=…` is an inline formula
- item, 1. itemBullet and numbered lists; indent to nest
- [ ] todo, - [x] doneClickable tasks
> quoteBlock quote; > [!NOTE] makes a callout
[text](https://…), [Plan](work/Plan.md)Links; relative .md links open the note
https://…, www.…Bare URLs are links too
![alt](.img/photo.png)An image
```js … ```Code block with light highlighting; ```chart draws a chart
| a | b |Tables, which can compute
---A divider
text[^1] + [^1]: noteFootnotes

A short note using most of it:

# Lisbon

Trip with **Anna**, 12–16 October. See [the budget](../work/Q4 Budget.md).

## Packing
- [x] passport
- [ ] adapter
- [ ] sunscreen

> [!TIP]
> Tram 28 is fastest before 9 am.

| Day | Plan              |
|-----|-------------------|
| Mon | Alfama, Belém[^1] |

[^1]: Pastéis de Belém opens at 8.

Callouts, footnotes & more

Callouts are GitHub-style quotes with a type on their first line: [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] and [!CAUTION]. Insert one from the slash menu (/callout).

> [!WARNING]
> Renew the domain before 15 December.

Emoji: type : and a shortcode (:tada, :+1, or :party by description) to pick one, or type a whole :rocket:. The note stores the character itself, so it renders everywhere.

Math written as $…$ is shown as written. HTML in notes is sanitized, and scripts never run.

Title & tags

Front matter is optional. When a note starts with a YAML block, nodio reads only title and tags, hides the block in the preview and keeps it byte for byte.

---
title: Q4 Budget
tags: [work, finance]
---

# Q4 Budget

Tags show in the library and can be searched with #finance or tag:finance, or listed with nodio list --tag finance.

Tasks

Any list item starting with [ ] or [x] is a task (- [ ], * [x], 1. [ ]). In the preview it is a real checkbox: clicking it rewrites that one line, as an undoable edit, and saves at once.

  • ⌘L in the editor cycles the current line(s): text → - text → - [ ] text → - [x] text.
  • Done tasks are struck through ([ui] strike_done_tasks).
  • A table cell holding just [ ] or [x] is a checkbox too, and counts as FALSE / TRUE in formulas such as CHECKED and PROGRESS.
  • The Tasks widget on the home screen collects open tasks from every note, with a filter by note. Checking one there updates its file.
  • From a terminal: nodio tasks and nodio toggle <note> <line>.

The editor

The source is always Markdown text, in a readable column of about 72 characters, in SF Mono by default. Smart Markdown (Settings → Editor) helps without hiding anything:

  • ↵ continues lists, numbered lists (renumbered), task lists and quotes; ↵ on an empty item ends the list.
  • Pasting a URL over selected text makes a link.
  • Slash menu: / at the start of an empty line inserts a heading, list, task list, quote, code block, divider, table, chart, image, callout or emoji. Esc or a space keeps the /.
  • Tables: Tab / ⇧Tab move between cells (Tab in the last cell adds a row), ↵ goes down a row, ⌥↑ / ⌥↓ move the row, ⌥⇧← / ⌥⇧→ move the column. The table is realigned when you leave it. ⌘⌥T inserts a new one.
  • Formula help: in a cell starting with =, completion offers functions, [Column] names and table ids, and the current value shows faintly at the end of the line.
  • ⌘F / ⌘⌥F find and replace, with case, regex and whole-word options.
  • Spell check (prose only), vim keys, line numbers and the font are in Settings.

Editing in the preview

Turn on Settings → Editor → Edit text in the preview ([ui] edit_in_preview) to write without leaving the rendered note:

  • Click a paragraph, heading, list item, quote or code block: it turns into a text box with its Markdown lines. ⌘↵ or a click elsewhere applies, Esc cancels, emptying the box removes the block.
  • Click a table cell to edit its value or formula in place; Tab / ⇧Tab move to the next / previous cell.
  • Only those lines change, as one undoable edit, saved at once. Links, checkboxes and charts keep their own clicks; ⌥-click reveals a block's source in the editor.

Computed tables

Any table can compute. A cell that starts with = holds a formula: the file keeps the formula, the preview shows its value (hover the value to see the formula). On GitHub or in any other editor it is still an ordinary table.

| Item   | Price | Qty | Total              |
|--------|------:|----:|-------------------:|
| Coffee | 3.5   | 2   | =[@Price] * [@Qty] |
| Bagel  | 2.25  | 3   | =[@Price] * [@Qty] |
| Juice  | 4     | 1   | =[@Price] * [@Qty] |
| Total  |       |     | =SUM([Total])      |

The preview shows 7, 6.75, 4 and 17.75 in the Total column. Values are worked out every time the note renders; nothing is stored anywhere else.

The table directive

An optional HTML comment right above a table (blank lines in between are fine) names it and sets how it looks. Other Markdown viewers don't show it.

<!-- nodio:table id=expenses format="Amount: 0.00 €; Share: 0%" -->
| Month | Category | Amount         | Share                    |
|-------|----------|---------------:|-------------------------:|
| Jan   | Rent     | 1200           | =[@Amount]/SUM([Amount]) |
| Jan   | Food     | 430.5          | =[@Amount]/SUM([Amount]) |
| Total |          | =SUM([Amount]) |                          |
AttributeWhat it does
idThe table's name: letters, digits, _ and -, unique in the note. Needed when a chart, an inline formula or another table refers to it. Without one, tables are table1, table2… by position, which breaks when you add a table above.
formatColumn formats as Column: pattern pairs separated by ; (see Display formats). Quote the value.
optionsDropdown columns: Column: option, option pairs separated by ;.

nodio writes the comment itself only when it has to, for example when you insert a chart for a table without an id or pick a format from the preview. Unknown attributes are kept as they are.

Cell values

You writenodio reads
1200, -3.5, 1,234.56Numbers. By default , groups thousands and . is the decimal point (Settings → Sheets); spaces and ' always group.
€12, 12 zł, $5, 40 PLNNumbers; the currency is ignored.
15%The number 0.15.
[x], true, yes, ✓TRUE (a checkbox for [x])
[ ], false, noFALSE (a checkbox for [ ])
2026-03-31, 2026-03-31 14:30Dates (ISO format only).
anything else / nothingText / blank.

Formatting is ignored when reading a value: **12** is the number 12. Type numbers plainly and put currencies and units in the format, so they stay numbers.

References

Data rows are numbered from 1 (the header row doesn't count); columns are lettered A, B, C… from the left. Header names are better than letters: they keep working when you reorder columns.

FormMeaning
[Amount]The whole Amount column, by header name (case doesn't matter)
[@Amount], @CThat column's cell in the formula's own row
C, C:CThe whole column C
C2Column C, data row 2
B2:D5The rectangle from B2 to D5
expenses![Amount], expenses!C2, table2!C:CThe same, in another table of this note

Another table of the same note, by its id:

<!-- nodio:table id=rates -->
| Currency | Rate |
|----------|-----:|
| EUR      | 4.30 |
| USD      | 3.95 |

| Invoice | Amount | Currency | In PLN                                                           |
|---------|-------:|----------|-----------------------------------------------------------------:|
| #101    | 250    | EUR      | =[@Amount] * LOOKUP([@Currency], rates![Currency], rates![Rate]) |
| #102    | 400    | USD      | =[@Amount] * LOOKUP([@Currency], rates![Currency], rates![Rate]) |

Formulas can't reach into other notes; keep the tables that work together in one note.

Summary rows

A whole column ([Amount], C) covers every data row except the summary rows at the bottom: rows where every filled cell after the label is a formula and at least one of them aggregates a whole column. So footer rows never count each other:

| Runner | Time (min)         |
|--------|-------------------:|
| Ana    | 24.5               |
| Ben    | 27                 |
| Chloe  | 22.75              |
| Total  | =SUM([Time (min)]) |
| Avg    | =AVG([Time (min)]) |
| Best   | =MIN([Time (min)]) |

Avg is the average of the three runners only. An explicit range like B1:B10 always means exactly those cells. A data row summing its own column is a circular reference (#CYCLE!).

Operators

OperatorExampleResult
+ - * /=[@Price] * [@Qty]Arithmetic
^=2 ^ 10Power: 1024
% after a number=[@Price] * 20%× 0.2
&=[@First] & " " & [@Last]Joins text
= <> < <= > >==[@Score] >= 50TRUE or FALSE
( )=([@A] + [@B]) / 2Grouping

Text goes in double quotes ("Food"); TRUE and FALSE are booleans. Date − date gives days; date ± number gives a date:

| Task    | Start      | Due        | Days               | Reminder    |
|---------|------------|------------|-------------------:|-------------|
| Report  | 2026-03-02 | 2026-03-20 | =[@Due] - [@Start] | =[@Due] - 3 |
| Release | 2026-04-01 | 2026-04-15 | =[@Due] - [@Start] | =[@Due] - 3 |

Functions

Function names are case-insensitive. Aggregates skip blanks and text; arithmetic treats a blank as 0.

FunctionWhat it does
Aggregates
SUM(range, …)Sum of the numbers
AVG(…), AVERAGE(…)Average
MIN(…), MAX(…)Smallest / largest number (0 when there are none)
MEDIAN(…), PRODUCT(…), STDEV(…)Median, product, sample standard deviation
COUNT(…), COUNTA(…), COUNTBLANK(…)Numeric / non-blank / blank cells
Conditional
COUNTIF(range, criterion)Cells that match
SUMIF(range, criterion[, sum_range])Sum of sum_range where range matches
AVGIF(range, criterion[, avg_range])Average of avg_range where range matches
Tasks
CHECKED(range)Checked boxes / TRUE values
PROGRESS(range)Checked ÷ non-blank, as a percent
Math
ROUND(x[, digits])Round half away from zero
FLOOR(x[, sig]), CEIL(x[, sig])Down / up to a multiple (default 1)
ABS, SQRT, POW(x, y), MOD(x, d)Absolute value, square root, power, remainder
Logic
IF(condition, then[, else])then when true, else else (blank when omitted)
AND, OR, NOT, ISBLANKBoolean logic
IFERROR(value, fallback)fallback when value is an error
Text
CONCAT(…), LENJoin texts; length
UPPER, LOWER, TRIMCase and spaces
LEFT(text[, n]), RIGHT(text[, n])First / last characters (default 1)
Dates
TODAY(), NOW()Current date / date and time
DATE(y, m, d), DAYS(end, start)A date from parts; days between
YEAR, MONTH, DAY, WEEKDAY(date[, type])Parts of a date; weekday type 1 Sunday = 1, 2 Monday = 1, 3 Monday = 0
Lookup & charts
LOOKUP(value, search, result)The result at the first exact match
SPARK(range)A tiny line chart in the cell (see Sparklines)

Criteria work like in Excel: ">100", "<=0", "<>Food", "Food" (case-insensitive), TRUE.

<!-- nodio:table id=spend -->
| Date       | Category | Amount |
|------------|----------|-------:|
| 2026-03-01 | Food     | 42     |
| 2026-03-03 | Travel   | 180    |
| 2026-03-05 | Food     | 18.5   |

| Question          | Answer                                           |
|-------------------|--------------------------------------------------|
| Spent on food     | =SUMIF(spend![Category], "Food", spend![Amount]) |
| Purchases over 50 | =COUNTIF(spend![Amount], ">50")                  |
| Ending in         | =DAYS(DATE(2026, 12, 31), TODAY()) & " days"     |

A checklist with a progress bar; click the boxes and the bar moves:

<!-- nodio:table format="Done: bar" -->
| Step     | Done              |
|----------|-------------------|
| Design   | [x]               |
| Build    | [x]               |
| Test     | [ ]               |
| Progress | =PROGRESS([Done]) |

Display formats

Formats change only how a number looks, never its value. Set them in the directive's format, or from a column header in the preview (Format).

PatternValueShows
0 / 0.001234.5671,235 / 1,234.57
#1234.567automatic
0% / 0.0%0.25626% / 25.6%
0.00 €, $012.512.50 €, $13
0 km, 0.0 h7.47 km, 7.4 h
date:YYYY-MM-DD, date:D MMM YYYY2026-03-312026-03-31, 31 Mar 2026
bar0.6a thin progress bar with 60%

Date tokens: YYYY YY MMMM MMM MM M DD D HH H mm ss. Without a format, integers show as they are, other numbers with up to 4 decimals, and PROGRESS(…) as a percent.

Sparklines

=SPARK(…) draws a tiny line chart inside a cell; its value is the last number. Down a column use =SPARK(B1:B12), across a row =SPARK([@Jan]:[@Dec]):

| Metric  | Jan | Feb | Mar | Apr | Trend                 |
|---------|----:|----:|----:|----:|-----------------------|
| Revenue | 120 | 135 | 160 | 150 | =SPARK([@Jan]:[@Apr]) |
| Costs   | 90  | 95  | 99  | 110 | =SPARK([@Jan]:[@Apr]) |

Inline formulas

Inline code starting with = in a paragraph shows its value. It can use any table of the note, by name:

We spent `=SUM(expenses![Amount])` in total,
`=SUMIF(expenses![Category], "Food", expenses![Amount])` of it on food,
across `=COUNTA(expenses![Month])` entries.

A value from one column is shown in that column's format (2,830.50 €); counts such as COUNT, COUNTIF and CHECKED stay plain numbers. Turn inline formulas off in Settings → Sheets to show `=…` as code.

Tables in the preview

Most of the above can be done with clicks. Hover a table for its toolbar:

  • Σ Summary row: adds a Total row summing every numeric column, or removes it.
  • Chart: inserts a ```chart block below (and gives the table an id).
  • Copy as CSV / Copy as Markdown: the computed values.
  • Full width: lets a wide table span the preview; remembered per table.

Click a column header for:

  • Calculate: None, Sum, Average, Min, Max, Count, Count non-empty, Median, Checked, Progress. Writes the formula into the summary row.
  • Format: Automatic, Number, Percent, Currency…, Date, Progress bar. Written to the directive.
  • Turn into dropdown (see Dropdown columns).
  • Sort, Filter… and Group by: change only what the preview shows, never the file. Grouping shows one table per value, each with its own totals. Sort Table by Column in the palette rewrites the rows instead.

Export Table as CSV… (palette) saves the table under the cursor; Export as HTML… / PDF… saves the whole rendered note.

Errors

A formula that can't be computed shows a red badge; hover it to see why. The rest of the note still renders.

ErrorMeaning
#REF!Unknown cell, column, header or table
#NAME?Unknown function
#VALUE!Wrong type, e.g. a number expected, text found
#DIV/0!Division by zero
#CYCLE!Circular reference, e.g. a data row summing its own column
#PARSE!The formula can't be read (with the position)

Wrap a formula in IFERROR(…, "—") to show something else. nodio check <note> lists every problem with its line. A | inside a cell, even in a formula's text, must be written as \|.

Chart blocks

A chart is a fenced code block with chart after the backticks. Each line is a key: value pair; # starts a comment. The data comes from the computed values of a table in the same note, so formula columns can be charted. Summary rows are left out.

<!-- nodio:table id=sales -->
| Month | Revenue | Costs |
|-------|--------:|------:|
| Jan   | 120     | 90    |
| Feb   | 135     | 95    |
| Mar   | 160     | 99    |
| Apr   | 150     | 110   |
| May   | 175     | 112   |
| Jun   | 190     | 118   |

```chart
type: bar
data: sales
x: Month
y: Revenue, Costs
title: Revenue vs costs
```
Revenue vs costs Revenue Costs 0 100 200 Jan Feb Mar Apr May Jun
How nodio renders it. Hover the bars for exact values.

Charts are drawn as SVG in the theme's colors and follow light and dark. Hover for exact values; the chart's menu has Copy as PNG, Save as PNG…, Copy SVG and Full width. A mistake (an unknown column, no numbers…) shows a small error box naming it. On GitHub, the block reads as plain text.

Chart keys

KeyValuesDefault
typebar, hbar, line, area, pie, donut, scatterbar
dataTable id or tableNThe nearest table above
xColumn for categories / x axisFirst non-numeric column
yOne or more numeric columns, comma-separatedAll numeric columns
groupRows with the same x: sum, avg, min, max, count, nonesum
stackedtrue / false (bar, area)false
filterOne condition: Category = Food, Amount > 100 (also <>, >=, <=)none
sortx, y (largest first), nonenone
limitKeep the first N categories, after sortingall
titleChart titlenone
heightPixels, 120–600240
legendauto, top, bottom, noneauto
colorsTheme palette indices 1–8: colors: 2, 5in order
values, labelsData typed in directly, without a tablenone

Chart types

  • bar: vertical bars, side by side for several y columns, or on top of each other with stacked: true.
  • hbar: horizontal bars, good for long category names.
  • line, area: trends; area can be stacked.
  • pie, donut: shares of a whole. Exactly one y; x gives the labels.
  • scatter: points; x must be numeric.

When x is a date column, the chart uses a time axis sorted by date.

Examples

Every chart on this page was drawn by nodio itself from these tables. Paste them into a note, add any of the blocks below under them, and you get the same chart in your theme's colors.

The tables used in the examples
<!-- nodio:table id=sales -->
| Month | Revenue | Costs |
|-------|--------:|------:|
| Jan   | 120     | 90    |
| Feb   | 135     | 95    |
| Mar   | 160     | 99    |
| Apr   | 150     | 110   |
| May   | 175     | 112   |
| Jun   | 190     | 118   |

<!-- nodio:table id=spend -->
| Date       | Category | Amount |
|------------|----------|-------:|
| 2026-03-01 | Food     | 42     |
| 2026-03-03 | Travel   | 180    |
| 2026-03-05 | Food     | 18.5   |
| 2026-03-09 | Fun      | 60     |
| 2026-03-12 | Food     | 35     |
| 2026-03-15 | Home     | 95     |
| 2026-03-19 | Food     | 27.5   |
| 2026-03-22 | Travel   | 64     |
| 2026-03-26 | Fun      | 22     |
| 2026-03-29 | Food     | 51     |

<!-- nodio:table id=study -->
| Hours | Score |
|------:|------:|
| 1     | 52    |
| 2     | 61    |
| 3     | 58    |
| 4     | 70    |
| 5     | 74    |
| 6     | 84    |
| 7     | 81    |
| 8     | 90    |

Total per category, largest first (group: sum adds up rows that share a category):

```chart
type: hbar
data: spend
x: Category
y: Amount
sort: y
title: Spending by category
```
Spending by category 0 50 100 150 200 250 Travel Food Home Fun

How many entries per category (group: count counts rows, so no y is needed):

```chart
type: donut
data: spend
x: Category
group: count
```
Food Travel Fun Home

One category over time (dates make a time axis):

```chart
type: line
data: spend
x: Date
y: Amount
filter: Category = Food
title: Food over time
```
Food over time 0 20 40 60 2026-03-01 2026-03-05 2026-03-12 2026-03-19 2026-03-29

Stacked, with chosen colors and the legend below:

```chart
type: bar
data: sales
x: Month
y: Revenue, Costs
stacked: true
legend: bottom
colors: 3, 6
```
Revenue Costs 0 100 200 300 400 Jan Feb Mar Apr May Jun

The top three (sort first, then limit):

```chart
type: bar
data: spend
x: Category
y: Amount
sort: y
limit: 3
```
0 100 200 300 Travel Food Home

A quick chart without a table:

```chart
type: pie
values: 45, 30, 25
labels: Rent, Food, Other
title: Budget split
```
Budget split Rent Food Other

Command palette

⌘K opens a Spotlight-like panel with every command and its shortcut, so it doubles as a cheat sheet. Type to filter, ↑ ↓ to move, ↵ to run, Esc to close. Recent commands come first, table commands appear when the cursor is in a table, and notes matching your query are listed below, so the palette is also quick open.

  • ⌘P Quick open: notes by title. ⌘↵ opens and hides the sidebar; when nothing matches, Create note "…".
  • ⌘⇧R Go to heading in the open note.
  • Switch Theme… and Switch Appearance… (⌘⇧L) preview live as you move; Esc restores.
  • Move Note To… moves the open note (with its images) to a folder.

Home & library

The home screen (⌘⇧H, or ⌘W to close the note) shows by default a summary of the workspace with widgets you can choose and reorder in Settings → General:

  • Recent: the last modified notes. Pinned: pinned notes as cards.
  • Tasks: open tasks across all notes with a progress bar and a filter by note; checking one updates its file.
  • Stats: notes, folders, words, images, tables, charts. Activity: a 16-week grid of edits. Folders and Git.

The library (⌘⇧Y) lists every note as a list or grid, with filters by text, folder and tag and sorting by date, title or words; Space previews a note. The home screen can instead be the last note, the library, or a note of your own in read mode: a dashboard made of tables, formulas and charts ([home] screen = "note").

Git

When the workspace is in a git repository, the sidebar footer shows the branch (with the GitHub mark for GitHub remotes), a dot for uncommitted changes and ↑n ↓m against the upstream. Click it for the last commit, Open on GitHub and Reveal in Finder.

Names in the tree are colored by status: green for added or untracked, blue for modified, red for conflicts, muted for ignored. nodio only reads the repository: it never commits, pulls, pushes or fetches. Use your usual git tools, or any sync tool, for that.

The nodio command

The app doubles as a command line tool, so it always matches the app version. Homebrew links it for you; with the DMG choose nodio → Install Command Line Tool… (also in the palette), which links /usr/local/bin/nodio. Check it with nodio version.

Commands work on the workspace the app has open, or the folder given with -w / --workspace. They read and write the .md files directly, so they work when the app is closed too; when it's open, it shows the changes right away.

Wherever a command takes a <note>, you can write its path with or without .md (work/Plan), a file path inside the workspace (./Plan.md), or its title, ignoring case ("Q4 budget"). Line numbers start at 1, as in the editor.

Commands

CommandWhat it does
nodio list [--folder F] [--tag T]Notes: path, title and tags. Short form ls.
nodio read <note> [--rendered]The Markdown; --rendered replaces formulas with their values. Short form cat.
nodio search <query> [--limit N]Full-text search with the matching lines.
nodio tasks [--done | --all] [--folder F]Open tasks as [ ] path:line text.
nodio toggle <note> <line>Checks or unchecks the task on that line.
nodio new <title> [--folder F] [--open]Creates a note named after the title; piped text becomes its content.
nodio append <note> [text]Adds text, or what you pipe in, at the end of a note.
nodio write <note>Replaces a note with what you pipe in.
nodio move <note> <folder>Moves a note and its images to an existing folder.
nodio table <note> [table] [--csv]A table's computed values; the table is its id, tableN or number (the first by default).
nodio eval <note> <formula>Evaluates a formula with the note's tables; the = is optional.
nodio check <note | ->Lists formula and chart problems with their lines; exit code 1 when there are any. - checks Markdown piped in.
nodio guideThe syntax guide for tables, formulas and charts.
nodio open [note | folder]Brings nodio to the front (starting it if needed), opening a note, or a folder as the workspace.
nodio infoWorkspace name, folder, counts and git branch.
nodio mcpThe stdio bridge to the app's MCP server.
nodio help, nodio versionUsage; version.

Every command accepts --json for machine-readable output. Options can go anywhere after the command; use -- before text that starts with - (nodio append Inbox -- "- [ ] buy milk"). Exit codes: 0 done, 1 failed (or check found problems), 2 wrong usage. There is no delete command: delete notes in the app, so they go to the Trash.

Examples

~ — zsh
$ nodio tasks --folder work
[ ] work/Q4 Budget.md:26  Cut the marketing spend
$ nodio toggle "Q4 Budget" 26
[x] work/Q4 Budget.md:26  Cut the marketing spend
$ nodio eval "Q4 Budget" 'SUM(budget![Plan]) - SUM(budget![Spent])'
1020

A daily log from a script or a Shortcut:

$ printf '\n## %s\n\n- %s\n' "$(date +%H:%M)" "$*" | nodio append Journal

A new note from a template, opened in the app:

$ sed "s/{{date}}/$(date +%F)/" ~/templates/meeting.md | nodio new "Meeting $(date +%F)" --folder meetings --open

Open tasks of one folder as JSON for another tool:

$ nodio tasks --folder work --json | jq -r '.[] | "\(.path):\(.line + 1) \(.text)"'

Check notes with tables before committing (a git pre-commit hook in your notes repository):

$ for f in $(git diff --cached --name-only -- '*.md'); do nodio check "$f" -w . || exit 1; done

Export a table to a spreadsheet:

$ nodio table Budget expenses --csv > expenses.csv

MCP server

nodio has a built-in Model Context Protocol server, so AI agents such as Claude Code and Claude Desktop can work with the notes of the open workspace: search them, read tasks and computed tables, evaluate formulas and, if you allow it, write notes.

  • Off by default. Turn it on in Settings → MCP or with Toggle MCP Server in the palette; it starts and stops immediately.
  • Access: read only (default) or read & write ([mcp] access). In read mode the write tools aren't even listed.
  • It listens on http://127.0.0.1:7339/mcp (the next free port if taken; shown in Settings) and serves only the current workspace. Switching workspaces switches what agents see.
  • While it runs, a plug icon in the sidebar footer shows the URL and the connected clients. Each write by an agent shows a toast, such as Claude updated Budget — Undo.

Connecting a client

Settings → MCP has Copy client config buttons that put a ready snippet, with your token, on the clipboard. For Claude Code over HTTP:

claude mcp add --transport http nodio http://127.0.0.1:7339/mcp --header "Authorization: Bearer <token>"

Clients that only speak stdio run the bridge, which finds the port and token itself. With Claude Code:

claude mcp add --scope user nodio -- /Applications/nodio.app/Contents/MacOS/nodio mcp

For Claude Desktop, in claude_desktop_config.json:

{
  "mcpServers": {
    "nodio": {
      "command": "/Applications/nodio.app/Contents/MacOS/nodio",
      "args": ["mcp"]
    }
  }
}

The bridge needs nodio running with the server on, and says so clearly when it isn't.

Tools

ToolWhat it does
Read
syntax_guide()nodio's syntax for tables, formulas, formats, inline formulas and charts, with examples.
check_note(path | content)Checks a saved note or a draft: every formula, table and chart problem with its line.
list_notes(folder?, tag?)Notes with path, title, tags, modified date and word count.
read_note(path)The raw Markdown.
read_note_rendered(path)The Markdown with formulas replaced by their values.
search(query, limit?)Full-text search.
list_tasks(status?, folder?)Checkboxes across the workspace, with note and line.
get_table(path, table)A table's computed values as JSON, summary rows included.
eval_formula(path, formula)Evaluates a formula with the note's tables.
workspace_info()Workspace name, counts and git branch.
Write (read & write access only)
create_note(folder, title, content)A new note.
update_note(path, content | patch)Replaces a note, or applies a text patch.
append_to_note(path, content)Appends Markdown at the end.
toggle_task(path, line, expected_text)Checks or unchecks a task, if the line still reads as expected.
move_note(path, dest_folder)Moves a note with its images.

Notes are also resources (nodio://note/<path>), and the guide is nodio://guide/syntax. Agents get a short cheat sheet of the notation when they connect, and every write is checked: problems come back with their line (line 6: budget!B4 — #REF! unknown column "Amout"), so an agent can fix its own tables and charts.

things to ask
What did I write about the Lisbon trip, and what's still open?
Make a table of last month's runs with a total and a line chart.
Which budget categories are over plan? Add a task for each.
Summarize my standup notes from this week into a new note.

Safety

  • Listens on 127.0.0.1 only and rejects browser origins.
  • Every request needs Authorization: Bearer <token>. The token is created on first enable and kept in the macOS Keychain; Regenerate in Settings disconnects existing clients.
  • Every path is checked to be inside the workspace. There is no delete tool, and images are never written.
  • Writes go through the same code as the app: atomic, and a note you're editing with unsaved changes gets the "Changed on disk" banner instead of being overwritten. An agent's edit to the open note comes with an Undo in its toast.

Keyboard shortcuts

Every command is also in the command palette (⌘K) with its shortcut, and in the menu bar.

Navigate

Command palette⌘K
Quick open note⌘P
Search all notes⌘⇧F
Go to heading⌘⇧R
Home / library⌘⇧H / ⌘⇧Y
Back / forward⌘[ / ⌘]
Focus sidebar / editor⌘1 / ⌘2
Open workspace⌘⇧O

Notes

New note / new folder⌘N / ⌘⇧N
Close note (go home)⌘W
Pin / unpin note⌘⇧D
Save (autosave off)⌘S

View

Toggle sidebar⌘\
Toggle preview⌘⇧P
Editor / read mode⌘E
Focus mode⌘⇧J
Switch appearance⌘⇧L
Zoom in / out / actual size⌘+ / ⌘- / ⌘0
Settings⌘,

Editing

Bold / italic⌘B / ⌘I
Strikethrough / inline code⌘⇧X / ⌘⇧C
Toggle task checkbox⌘L
Find / replace⌘F / ⌘⌥F
Undo / redo⌘Z / ⌘⇧Z
Slash menu (empty line)/
Emoji: + name, or ⌃⌘Space

Tables

Insert table⌘⌥T
Next / previous cellTab / ⇧Tab
Next row (adds one at the end)↵
Move row up / down⌥↑ / ⌥↓
Move column left / right⌥⇧← / ⌥⇧→

Preview

Reveal a block's source in the editor⌥-click
Apply / cancel an edit in the preview⌘↵ / Esc
Quick-look a note in the librarySpace

config.toml

Settings live in ~/.nodio/config.toml. The Settings panel (⌘,) changes them and saves immediately; Edit as Text File opens the file in nodio, and saving applies it. Missing keys take their defaults.

[workspace]
path = "~/.nodio/workspace"

[home]
screen = "summary"               # "summary" | "last_note" | "library" | "note"
note = ""                        # for screen = "note", relative to the workspace
widgets = ["recent", "tasks", "stats", "activity"]   # + "pinned", "folders", "git"

[ui]
theme = "nodio"
mode = "system"                  # "system" | "light" | "dark"
side_by_side = false             # editor and preview side by side
edit_in_preview = false          # click a block in the preview to edit it
strike_done_tasks = true
clickable_links = true

[sidebar]
sort = "name"                    # "name" | "modified"
show_other_files = false

[notes]
autosave = true
rename_from_title = true

[editor]
font_family = "mono"             # "mono" | "system" | font names
font_size = 15
line_height = 1.6
max_line_width = 72
line_numbers = false
line_wrapping = true
spell_check = true
table_autoformat = true
vim = false

[sheets]
decimal_separator = "."
thousands_separator = ","
currency = ""                    # e.g. "€" for the Currency format
date_format = "YYYY-MM-DD"
inline_formulas = true

[mcp]
enabled = false
access = "read"                  # "read" | "read_write"
port = 7339

[updates]
check_automatically = true

Themes

The built-in nodio palette and 17 bundled themes, each with light and dark variants where the original has them: 1984, ayu, bluloco, catppuccin, everforest, flexoki, github, gruvbox, kanagawa, modus, nord, rose-pine, solarized, tokyo-night, vitesse, white, zenwritten. Pick one with Switch Theme… in the palette or in Settings → Appearance; mode follows macOS by default.

Your own theme is a TOML file in ~/.nodio/themes/<name>.toml, in the same format as kayet and nox, so themes are shared across the three apps:

[dark]
bg = "#1e1e2e"
bg-sidebar = "#181825"
text = "#cdd6f4"
text-muted = "#9399b2"
border = "#313244"
accent = "#cba6f7"
# optional: chart-1 … chart-8, tag-green, tag-blue …, positive, negative

[light]
bg = "#eff1f5"
text = "#4c4f69"
accent = "#8839ef"

Chart colors are derived from the theme's accent and highlight colors when it doesn't set chart-1…chart-8.

Files & privacy

WhereWhat
your workspaceYour notes, folders and .img/ folders. Nothing else.
~/.nodio/config.tomlSettings.
~/.nodio/workspaces/Per-workspace state: pinned notes, expanded folders, history, table groupings.
~/.nodio/cache/The search index, for instant start. Safe to delete.
~/.nodio/themes/Your themes.
KeychainThe MCP token.

nodio has no account and no telemetry, and nothing you write leaves your Mac. The only network traffic is the update check (GitHub Releases) and remote images your notes link to. Everything in ~/.nodio/ can be deleted at any time without losing a note.