Sortable tables, mermaid drawn as text, and wiki links that find their note anywhere in the vault.
Beyond markdown, it pages git, code, logs and your pipes in place of less, bat and delta, or fills fzf's
preview pane.
Sorting knows its units:350 µs, 12 ms, 1.2 s,
1m 30s and 6 days sort as the durations they are, 1,440 as a
number and €420 as money. In a long table, the header row stays on screen
as it scrolls.
s sort by a column C-←C-→ another table t auto, grid, records
Prose rewraps and tables re-lay out the moment the terminal changes size. A table too wide to fit
turns into records, a card per row; widen the terminal and the grid comes back.
Relative paths, [[wiki links]], anchors and src/main.rs#L42. Back
returns to the same spot, with the same link focused.
Links that survive moves: a wiki link is found by name anywhere in the vault, as in
Obsidian. An Obsidian vault needs no setup; any other folder of notes, one line in
config.toml.
Tab focus Enter follow BS back L forward
o outline l links
A gantt chart in a ```mermaid block draws its tasks as bars on a date axis that
fits the width, colored by their tags: done, active, critical, milestones.
after, durations and excluded days work as in Mermaid.
$…$ and $$…$$ are set in Unicode, in any terminal and in
--print: Greek, scripts, roots and fractions on the line, and in display math,
matrices, cases and aligned rows drawn tall.
TeX it can't read stays as written, and search still finds the TeX behind the math.
png, jpeg and gif (its first frame), right in the note, over kitty, sixel or iTerm2, with half-blocks as the
fallback, and inside tmux. A link to an image opens it full screen.
Piped straight in: ada tells an image by its first bytes, so
curl -s …/cat.png | ada --print draws it right in the terminal, no format to name.
Diffs and git blame in their files' languages, the changed words picked
out. The outline lists the commits and their files, each with how it changed. As
interactive.diffFilter, git add -p gets the same colors.
A man page is highlighted from man's own output: options and their
parameters, the synopsis, commands, environment variables and references to other pages.
The outline lists its sections and subsections.
One tool in place of bat and kitten icat.ada --print fills the pane at its size: notes rendered, tables and all, code, logs and JSON
highlighted, and images, in kitty's graphics protocol in kitty and Ghostty and in half-blocks elsewhere.
The ten dark ones are below; the light ones are gruvbox-light,
catppuccin-latte, tokyonight-day and rose-pine-dawn.
T previews each as you move through the list, and C-←C-→ switch between dark
and light. Your own start from any of them and change only what they need.
Code, config and other text files open whole, highlighted in 73 languages by
lexers of ada's own, logs and JSON among them (colored however long their lines), and plain in the rest; main.rs#L24 lands on line 24. w
wraps code or scrolls it sideways, # shows line numbers.
GitHub's and Obsidian's callouts, every kind with its
icon and title, footnotes you can follow, and checkboxes, Obsidian's [/] in progress and
its other task statuses too.
Reads the file again the moment it changes, keeping its place, or with live_reload = "notify" marks the change until r. e opens
$EDITOR at the line on screen.
ada against other terminal markdown viewers on the same machine, documents and terminal. Lower is better;
bars are on a log scale. The times are of two kinds:
wall
How long you wait: time on the clock, from launch, a
key or a resize until the screen shows the result.
CPU
How hard the machine works: processor time the viewer
spends on it, summed over its threads, idle work included, until the screen holds still. It's what a
laptop's battery and fans notice, and it isn't a wait: with several threads busy at once it can exceed the
wall time.
Measured on the 238 KB note, the largest in the vault:
3.1 ms
first paint wall
next: ekphos, 11.7 ms (3.8×)
0.03 ms
CPU per line scrolled CPU
next: emeraldian, 0.24 ms (8.3×)
0.77 ms
re-layout after a resize wall
next: basalt, 5.9 ms (7.6×)
13.6 MiB
peak memory
next: emeraldian, 17.7 MiB (1.3×)
In a 120×40 terminal
first paint mswallfrom launch until the document's first line is on screen
ada1.4
emeraldian3.6 2.7×
leaf4.6 3.4×
basalt5.2 3.9×
treemd7.7 5.7×
ekphos8.2 6.1×
md-tui21.9 16×
glow35.4 26×
mdfried102 75×
CPU per line scrolled msCPUfor one line down, from the key until the screen holds still; the median
ada0.03
emeraldian0.23 8.5×
leaf0.29 11×
basalt0.35 13×
ekphos0.36 14×
mdfried0.68 26×
treemd0.86 32×
glow0.87 33×
md-tui0.93 35×
search mswallfrom the term and Enter until the match is on screen
ada0.31
md-tui1.3 4.2×
leaf1.6 5.3×
ekphos2.6 8.6×
emeraldian4.0 13×
treemd12.1 39×
mdfried102 330×
glowhas no search
basaltsearches the whole vault only
re-layout after a resize mswallfrom the first resize until the screen stops changing
ada0.17
basalt0.83 4.9×
emeraldian1.4 8.4×
treemd1.9 11×
ekphos5.8 34×
md-tui20.2 118×
mdfried100 586×
leaf122 712×
glowblank after a resize
CPU over a held page-down msCPUfor 60 page-downs at 30 a second, until the screen catches up
ada1.2
mdfried9.1 7.9×
leaf10.4 9.0×
emeraldian10.6 9.2×
basalt13.0 11×
md-tui16.3 14×
treemd20.4 18×
ekphos28.3 24×
glow29.7 26×
peak memory MiBthe most resident at once, over the whole session
ada7.6
md-tui8.3 1.1×
emeraldian8.4 1.1×
leaf10.4 1.4×
treemd13.5 1.8×
mdfried15.8 2.1×
basalt19.4 2.5×
glow35.6 4.7×
ekphos46.1 6.1×
Printing, --print and the other printers
print to a pipe mswallto print the whole document to a pipe
lowdown no highlighting0.63 0.9×
ada0.70
leaf3.2 4.6×
mdcat5.0 7.1×
mcat5.9 8.5×
glow17.1 24×
bat source, not rendered60.1 86×
rich64.9 92×
peak memory, printing MiBthe most resident at once while printing
lowdown no highlighting5.0 0.9×
ada5.3
leaf8.8 1.6×
bat source, not rendered15.6 2.9×
mcat16.8 3.2×
mdcat20.7 3.9×
rich25.8 4.8×
glow27.3 5.1×
In a 120×40 terminal
first paint mswallfrom launch until the document's first line is on screen
ada2.1
emeraldian6.3 3.0×
ekphos9.1 4.3×
leaf13.5 6.4×
treemd17.6 8.3×
basalt19.8 9.4×
mdfried102 48×
glow111 53×
md-tui661 314×
CPU per line scrolled msCPUfor one line down, from the key until the screen holds still; the median
ada0.02
emeraldian0.22 12×
leaf0.31 17×
ekphos0.69 37×
mdfried0.72 38×
basalt0.80 43×
md-tui0.93 50×
treemd0.94 50×
glow0.96 51×
search mswallfrom the term and Enter until the match is on screen
ada0.35
leaf3.1 8.8×
ekphos3.8 11×
md-tui4.3 12×
emeraldian13.6 39×
treemd64.8 186×
mdfried109 313×
glowhas no search
basaltsearches the whole vault only
re-layout after a resize mswallfrom the first resize until the screen stops changing
ada0.51
basalt3.3 6.5×
emeraldian4.6 9.0×
ekphos5.7 11×
treemd9.7 19×
mdfried101 196×
leaf127 247×
md-tuire-parses for seconds
glowblank after a resize
CPU over a held page-down msCPUfor 60 page-downs at 30 a second, until the screen catches up
ada1.8
mdfried13.7 7.5×
emeraldian14.9 8.2×
leaf20.8 11×
md-tui27.9 15×
treemd30.1 16×
basalt40.5 22×
glow42.1 23×
ekphos170 93×
peak memory MiBthe most resident at once, over the whole session
ada10.2
emeraldian11.6 1.1×
md-tui14.1 1.4×
leaf16.7 1.6×
treemd17.4 1.7×
mdfried21.9 2.2×
basalt27.5 2.7×
ekphos48.0 4.7×
glow56.3 5.5×
Printing, --print and the other printers
print to a pipe mswallto print the whole document to a pipe
ada1.6
lowdown no highlighting3.2 2.0×
mdcat8.0 5.0×
leaf8.3 5.2×
mcat17.3 11×
bat source, not rendered30.1 19×
glow67.5 42×
rich127 79×
peak memory, printing MiBthe most resident at once while printing
lowdown no highlighting6.1 0.9×
ada7.0
leaf10.5 1.5×
bat source, not rendered15.9 2.3×
mcat19.7 2.8×
mdcat20.9 3.0×
rich29.7 4.2×
glow35.8 5.1×
In a 120×40 terminal
first paint mswallfrom launch until the document's first line is on screen
ada3.1
ekphos11.7 3.8×
emeraldian13.0 4.2×
leaf21.1 6.8×
treemd30.6 9.9×
basalt45.9 15×
mdfried102 33×
glow268 86×
md-tui4,029 1,297×
CPU per line scrolled msCPUfor one line down, from the key until the screen holds still; the median
ada0.03
emeraldian0.24 8.3×
leaf0.29 9.9×
mdfried0.70 24×
md-tui0.94 32×
treemd1.0 34×
glow1.1 36×
ekphos1.4 46×
basalt1.7 57×
search mswallfrom the term and Enter until the match is on screen
ada0.52
leaf1.9 3.6×
md-tui5.2 10.0×
ekphos9.0 17×
emeraldian14.8 28×
treemd97.4 188×
mdfried109 209×
glowhas no search
basaltsearches the whole vault only
re-layout after a resize mswallfrom the first resize until the screen stops changing
ada0.77
basalt5.9 7.6×
ekphos7.5 9.6×
emeraldian10.8 14×
treemd18.4 24×
leaf131 169×
mdfried201 260×
md-tuire-parses for seconds
glowblank after a resize
CPU over a held page-down msCPUfor 60 page-downs at 30 a second, until the screen catches up
ada2.7
emeraldian15.0 5.6×
mdfried16.7 6.2×
leaf18.1 6.8×
md-tui30.0 11×
treemd33.9 13×
glow64.4 24×
basalt71.1 27×
ekphos201 75×
peak memory MiBthe most resident at once, over the whole session
ada13.6
emeraldian17.7 1.3×
treemd22.3 1.6×
leaf24.1 1.8×
md-tui29.1 2.1×
ekphos41.7 3.1×
basalt43.3 3.2×
mdfried78.3 5.8×
glow96.2 7.1×
Printing, --print and the other printers
print to a pipe mswallto print the whole document to a pipe
ada2.6
lowdown no highlighting6.0 2.3×
leaf11.5 4.4×
mdcat11.7 4.5×
mcat35.9 14×
bat source, not rendered66.3 25×
glow137 53×
rich282 108×
peak memory, printing MiBthe most resident at once while printing
ada8.0
lowdown no highlighting8.1 1.0×
leaf11.1 1.4×
bat source, not rendered15.7 2.0×
mdcat21.3 2.7×
mcat24.6 3.1×
rich39.9 5.0×
glow42.2 5.3×
In a 120×40 terminal
first paint mswallfrom launch until the document's first line is on screen
ada36.2
ekphos41.5 1.1×
emeraldian110 3.0×
leaf347 9.6×
mdfried403 11×
basalt476 13×
glow3,082 85×
md-tuinever finished parsing
treemdshows one section at a time
CPU per line scrolled msCPUfor one line down, from the key until the screen holds still; the median
ada0.03
leaf0.38 15×
emeraldian0.71 28×
glow0.91 36×
mdfried1.1 44×
ekphos8.3 325×
basalt12.6 494×
md-tuinever finished parsing
treemdshows one section at a time
search mswallfrom the term and Enter until the match is on screen
ada0.66
leaf6.6 10×
emeraldian27.0 41×
ekphos94.1 143×
mdfriedmatch off-screen
md-tuinever finished parsing
treemdshows one section at a time
glowhas no search
basaltsearches the whole vault only
re-layout after a resize mswallfrom the first resize until the screen stops changing
ada8.3
ekphos23.0 2.8×
basalt59.8 7.2×
emeraldian92.6 11×
leaf397 48×
mdfried2,207 265×
md-tuinever finished parsing
treemdshows one section at a time
glowblank after a resize
CPU over a held page-down msCPUfor 60 page-downs at 30 a second, until the screen catches up
ada2.6
leaf20.3 7.7×
mdfried20.4 7.8×
emeraldian27.9 11×
glow73.0 28×
basalt465 177×
ekphos617 235×
md-tuinever finished parsing
treemdshows one section at a time
peak memory MiBthe most resident at once, over the whole session
ada72.4
ekphos77.1 1.1×
emeraldian108 1.5×
leaf196 2.7×
basalt229 3.2×
mdfried455 6.3×
glow1,046 14×
md-tuinever finished parsing
treemdshows one section at a time
Printing, --print and the other printers
print to a pipe mswallto print the whole document to a pipe
ada23.7
lowdown no highlighting70.8 3.0×
mdcat128 5.4×
leaf228 9.6×
mcat774 33×
glow2,347 99×
rich2,545 107×
bat source, not rendered2,866 121×
peak memory, printing MiBthe most resident at once while printing
What fzf's preview pane shows besides markdown, against the tools ada replaces there: bat, rich and mcat. A preview stops at a budget; the whole file is printed, all of it, to a pipe.
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada0.70
bat10.6 15×
rich64.7 92×
the whole file mswallall of it, to a pipe at 100 columns
ada0.70
mcat9.8 14×
bat10.5 15×
rich64.7 93×
peak memory, a preview MiBthe most resident at once, for a preview
ada6.8
bat15.1 2.2×
rich25.0 3.7×
peak memory, the whole file MiBthe most resident at once, for the whole file
ada6.3
bat15.2 2.4×
mcat17.2 2.7×
rich24.7 3.9×
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada0.94
bat12.1 13×
rich176 186×
the whole file mswallall of it, to a pipe at 100 columns
ada0.93
mcat12.1 13×
bat12.1 13×
rich173 186×
peak memory, a preview MiBthe most resident at once, for a preview
ada7.2
bat14.1 2.0×
rich45.4 6.3×
peak memory, the whole file MiBthe most resident at once, for the whole file
ada6.7
bat14.1 2.1×
mcat16.8 2.5×
rich45.1 6.8×
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada1.1
bat30.6 28×
rich197 180×
the whole file mswallall of it, to a pipe at 100 columns
ada2.0
mcat most of it as markdown38.1 19×
bat147 72×
rich521 254×
peak memory, a preview MiBthe most resident at once, for a preview
ada7.4
bat15.1 2.0×
rich46.7 6.3×
peak memory, the whole file MiBthe most resident at once, for the whole file
ada9.6
bat15.4 1.6×
mcat most of it as markdown21.1 2.2×
rich63.8 6.7×
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada1.6
rich no color239 152×
bat1,055 670×
the whole file mswallall of it, to a pipe at 100 columns
ada3.3
rich no color393 119×
mcat3,252 982×
bat3,300 997×
peak memory, a preview MiBthe most resident at once, for a preview
ada7.6
bat13.8 1.8×
rich no color48.3 6.3×
peak memory, the whole file MiBthe most resident at once, for the whole file
ada12.3
bat14.0 1.1×
mcat35.4 2.9×
rich no color53.9 4.4×
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada3.2
bat no color on lines over 16 KB29.0 9.1×
rich4,372 1,379×
the whole file mswallall of it, to a pipe at 100 columns
ada12.8
bat no color on lines over 16 KB30.0 2.3×
rich4,292 335×
mcatstopped after 120 s
peak memory, a preview MiBthe most resident at once, for a preview
ada11.9
bat no color on lines over 16 KB25.7 2.2×
rich580 49×
peak memory, the whole file MiBthe most resident at once, for the whole file
bat no color on lines over 16 KB26.1 0.8×
ada33.5
rich578 17×
mcatstopped after 120 s
a preview mswallthe first 2,000 rows (bat and rich: 2,000 source lines), to a pipe
ada1.8
bat1,061 587×
rich no color9,170 5,072×
the whole file mswallall of it, to a pipe at 100 columns
ada102
rich no color24,433 239×
batstopped after 120 s
mcatstopped after 120 s
peak memory, a preview MiBthe most resident at once, for a preview
ada7.5
bat14.0 1.9×
rich no color348 47×
peak memory, the whole file MiBthe most resident at once, for the whole file
A 100×50-cell preview of each image, printed to a pipe, against kitten icat, chafa, mcat and viu: in kitty's graphics protocol, and drawn in characters for any other terminal. A GIF is its first frame, the others told to stop there.
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada0.94
mcat15.2 16×
kitten icat shared memory21.5 23×
kitten icat streamed, as ada21.8 23×
chafa22.3 24×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada4.9
viu6.7 1.4×
chafa-vhalf half-blocks only18.2 3.7×
chafa18.8 3.8×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada0.92
mcat15.1 16×
chafa24.5 27×
kitten icat shared memory24.6 27×
kitten icat streamed, as ada25.0 27×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada4.9
viu6.7 1.4×
chafa-vhalf half-blocks only22.3 4.6×
chafa24.1 4.9×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada7.2
mcat28.3 3.9×
kitten icat shared memory33.9 4.7×
kitten icat streamed, as ada35.4 4.9×
chafa37.7 5.2×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada7.6
viu7.6 1.0×
chafa-vhalf half-blocks only28.9 3.8×
chafa28.9 3.8×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada7.0
mcat12.0 1.7×
chafa33.5 4.8×
kitten icat shared memory44.8 6.4×
kitten icat streamed, as ada50.1 7.1×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada4.3
viu20.0 4.7×
chafa-vhalf half-blocks only30.4 7.1×
chafa30.7 7.1×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada7.0
mcat11.9 1.7×
chafa41.3 5.9×
kitten icat shared memory114 16×
kitten icat streamed, as ada120 17×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada4.3
viu20.0 4.7×
chafa-vhalf half-blocks only39.7 9.3×
chafa40.5 9.5×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada9.8
mcat35.6 3.6×
chafa53.9 5.5×
kitten icat shared memory67.7 6.9×
kitten icat streamed, as ada68.6 7.0×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada7.6
viu21.0 2.8×
chafa-vhalf half-blocks only53.7 7.1×
chafa53.8 7.1×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada86.7
mcat99.9 1.2×
chafa153 1.8×
kitten icat shared memory288 3.3×
kitten icat streamed, as ada315 3.6×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada80.6
viu141 1.7×
chafa-vhalf half-blocks only152 1.9×
chafa153 1.9×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada86.5
mcat99.7 1.2×
chafa171 2.0×
kitten icat shared memory442 5.1×
kitten icat streamed, as ada468 5.4×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada80.5
viu141 1.7×
chafa-vhalf half-blocks only176 2.2×
chafa178 2.2×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada9.9
mcat69.0 7.0×
kitten icat shared memory107 11×
kitten icat streamed, as ada110 11×
chafa112 11×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada7.4
viu43.3 5.9×
chafa-vhalf half-blocks only112 15×
chafa112 15×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada12.6
mcat15.5 1.2×
chafa20.0 1.6×
kitten icat shared memory41.7 3.3×
kitten icat streamed, as ada67.2 5.3×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada6.6
viu16.2 2.5×
chafa-vhalf half-blocks only16.2 2.5×
chafa17.0 2.6×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada12.5
mcat15.4 1.2×
chafa24.6 2.0×
kitten icat shared memory79.1 6.3×
kitten icat streamed, as ada105 8.4×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada6.5
viu16.2 2.5×
chafa-vhalf half-blocks only23.8 3.7×
chafa25.6 3.9×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada19.1
mcat30.7 1.6×
chafa40.9 2.1×
kitten icat shared memory48.1 2.5×
kitten icat streamed, as ada52.2 2.7×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
viu15.5 0.9×
ada17.0
chafa35.1 2.1×
chafa-vhalf half-blocks only35.1 2.1×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada29.4
chafa38.4 1.3×
mcat39.0 1.3×
kitten icat shared memory114 3.9×
kitten icat streamed, as ada141 4.8×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada22.5
chafa-vhalf half-blocks only35.0 1.6×
chafa35.5 1.6×
viu78.2 3.5×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada29.2
mcat38.8 1.3×
chafa53.6 1.8×
kitten icat shared memory219 7.5×
kitten icat streamed, as ada245 8.4×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada22.4
chafa-vhalf half-blocks only55.6 2.5×
chafa57.4 2.6×
viu78.0 3.5×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada46.0
mcat61.8 1.3×
chafa67.9 1.5×
kitten icat shared memory69.1 1.5×
kitten icat streamed, as ada72.0 1.6×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
viu43.4 1.0×
ada44.1
chafa-vhalf half-blocks only61.9 1.4×
chafa61.9 1.4×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada47.2
chafa58.7 1.2×
mcat59.5 1.3×
kitten icat shared memory199 4.2×
kitten icat streamed, as ada224 4.8×
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada41.6
chafa-vhalf half-blocks only56.3 1.4×
chafa56.8 1.4×
viu135 3.2×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada47.0
mcat59.3 1.3×
chafa89.3 1.9×
kitten icat shared memory380 8.1×
kitten icat streamed, as ada405 8.6×
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada41.4
chafa-vhalf half-blocks only90.3 2.2×
chafa91.7 2.2×
viu134 3.2×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada79.6
kitten icat shared memory94.2 1.2×
kitten icat streamed, as ada97.9 1.2×
mcat99.0 1.2×
chafa103 1.3×
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
viu79.2 1.0×
ada79.6
chafa97.1 1.2×
chafa-vhalf half-blocks only97.2 1.2×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada3.1
chafa12.0 3.9×
kitten icat shared memory103 34×
kitten icat streamed, as ada252 82×
mcatplays a GIF as a video, without end
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada1.2
chafa-vhalf half-blocks only9.2 7.6×
chafa9.5 7.8×
viu2,297 1,900×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada3.0
chafa12.2 4.0×
kitten icat shared memory133 44×
kitten icat streamed, as ada285 94×
mcatplays a GIF as a video, without end
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada1.2
chafa-vhalf half-blocks only12.3 10×
chafa12.7 11×
viu2,292 1,942×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada9.0
chafa34.4 3.8×
kitten icat shared memory147 16×
kitten icat streamed, as ada226 25×
mcatplays a GIF as a video, without end
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada6.4
chafa-vhalf half-blocks only29.3 4.6×
chafa29.4 4.6×
viu1,957 306×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada27.7
chafa32.1 1.2×
kitten icat shared memory39.7 1.4×
kitten icat streamed, as ada61.0 2.2×
mcatplays a GIF as a video, without end
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada18.5
chafa-vhalf half-blocks only28.2 1.5×
viu28.5 1.5×
chafa29.4 1.6×
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada27.6
chafa37.3 1.4×
kitten icat shared memory73.3 2.7×
kitten icat streamed, as ada95.5 3.5×
mcatplays a GIF as a video, without end
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada18.4
viu28.4 1.5×
chafa-vhalf half-blocks only36.9 2.0×
chafa38.6 2.1×
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada9.3
chafa45.3 4.9×
kitten icat shared memory47.3 5.1×
kitten icat streamed, as ada51.4 5.5×
mcatplays a GIF as a video, without end
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada6.2
viu29.8 4.8×
chafa-vhalf half-blocks only39.3 6.3×
chafa39.3 6.3×
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada67.6
kitten icat shared memory103 1.5×
kitten icat streamed, as ada132 1.9×
chafadraws nothing
mcatplays a GIF as a video, without end
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada58.7
viu106 1.8×
chafadraws nothing
chafa-vhalf half-blocks onlydraws nothing
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada67.5
kitten icat shared memory194 2.9×
kitten icat streamed, as ada221 3.3×
chafadraws nothing
mcatplays a GIF as a video, without end
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada58.6
viu106 1.8×
chafadraws nothing
chafa-vhalf half-blocks onlydraws nothing
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada9.3
kitten icat shared memory66.1 7.1×
kitten icat streamed, as ada70.4 7.6×
chafadraws nothing
mcatplays a GIF as a video, without end
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
ada6.5
viu107 17×
chafadraws nothing
chafa-vhalf half-blocks onlydraws nothing
kitty graphics mswalla 100×50-cell preview in kitty's graphics protocol, to a pipe
ada72.3
kitten icat shared memory104 1.4×
kitten icat streamed, as ada133 1.8×
chafadraws nothing
mcatplays a GIF as a video, without end
half-blocks and symbols mswallthe same preview drawn in characters, for any terminal
ada63.2
viu106 1.7×
chafadraws nothing
chafa-vhalf half-blocks onlydraws nothing
CPU, kitty graphics msCPUuser and system time for the kitty preview, over all threads
ada72.1
kitten icat shared memory194 2.7×
kitten icat streamed, as ada223 3.1×
chafadraws nothing
mcatplays a GIF as a video, without end
CPU, half-blocks and symbols msCPUuser and system time for the preview in characters, over all threads
ada63.0
viu105 1.7×
chafadraws nothing
chafa-vhalf half-blocks onlydraws nothing
peak memory, kitty graphics MiBthe most resident at once, kitty graphics
ada54.8
kitten icat shared memory67.4 1.2×
kitten icat streamed, as ada77.3 1.4×
chafadraws nothing
mcatplays a GIF as a video, without end
peak memory, half-blocks and symbols MiBthe most resident at once, in characters
A ```mermaid block parsed and drawn, against the crates two of the viewers above draw with: mermaid-text in md-tui and mmdflux in leaf, called as they call them. ada draws to the cells it paints from, the crates to a string; in process, the best of repeated runs on one core.
sequence diagrams µswalltwo at 100 columns, added up; mermaid-text leaves the one with long messages 357 wide
ada16.9
mermaid-text md-tui's26.7 1.6×
mmdflux leaf's41.3 2.4×
flowcharts µswallseven, from a vault and Mermaid's docs, at 100 columns; added up
ada229
mmdflux leaf's1,744 7.6×
mermaid-text md-tui's6,357 28×
state diagrams µswalltwo, at 100 columns; added up
ada23.7
mmdflux leaf's225 9.5×
mermaid-text md-tui's341 14×
gantt charts µswallMermaid's example and another, at 100 columns; added up
ada4.4
mermaid-text md-tui's5.5 1.3×
mmdflux leaf'sdraws no gantt charts
class diagrams µswallMermaid's example and two from a vault, at 100 columns; added up
ada61.3
mmdflux leaf's602 9.8×
mermaid-text md-tui'sfails on two of the three
a 120-node flowchart mswallgenerated: a chain, each node with an edge further on
ada is fuzzed extensively, and as whole sessions, not one function at a time: a
document, then up to 64 things a reader, the file system, git or the terminal can do, in any order. So far,
66.8 million sessions and 3.2 billion runs of the printer, scanners, highlighting lexers, image
codecs, terminal probe, link lookup and diagrams, over 60 hours in forty-three runs.
Any document
Markdown, code, config, diffs, plain text and images, built from random bytes and a
dictionary of the parts markdown parsers find hardest. Other targets fuzz --print, whole
and streamed (which must match byte for byte), every highlighting lexer (its runs checked against its own spans), image decoding, mermaid diagrams at
any width, the sixel encoder, and the terminal's replies to ada's probe.
Any input
Every action, through the real keymap or directly: scrolling, links, search, sorting,
the outline, themes, the settings popup, saving the config, the mouse (wheel, clicks, selecting text by
dragging or double and triple clicks), and resizes at any size.
A world that answers badly
Links to missing or corrupt files, wiki links looked up by name in trees whose names collide by case
and folder, fuzzed git hunks, images that
report zero or huge sizes, and results that arrive late, out of order, or after their document is gone.
Every frame checked
Each step paints through ada's real diff and encoder into a vt100 terminal
emulator, which must show exactly what ada meant to draw, cell by cell: glyphs, colors, attributes, and
the numbering of kitty image cells.
So must the screen ada leaves in the terminal when it quits.
Every interaction is a message, so a recorded session replays to identical frames: --record
makes a bug report that reproduces. A deterministic stand-in for the fuzzer runs with every
cargo test.
Binaries for Linux (x86_64 and aarch64: gnu for glibc 2.34 or newer, musl static for
any Linux, Alpine included, printing large files in up to 1.4× the time), macOS (Apple silicon and Intel)
and Windows (x86_64, a .zip) are on the
releases page: unpack one and put ada on
your PATH. The macOS binaries aren't signed, so if the archive came through a browser, run
xattr -d com.apple.quarantine ada first. Or build it from
crates.io:
cargo install --locked ada-md
or the latest from git: cargo install --locked --git https://github.com/junkdog/ada-md ada-md.
The release binaries are linked with the code a typical run needs first, so a run takes up to about 1 MiB less
memory on Linux, and less than half that on macOS. That takes two links, which cargo install can't
do. To build ada the way the releases are, on Linux (x86_64 and aarch64) and macOS, from a clone:
cargo ordered --locked # target/release/ada, as released
Rust 1.95 or newer. ada is pure Rust, but for jemalloc in a static musl build, which needs a C compiler
and make. Git integration runs the git command.
Windows is new in 1.1 and has seen less use than Linux and macOS. The config and themes are in
%APPDATA%\ada, links and images open in their default apps, and the editor falls back to
notepad. Windows Terminal 1.22 and later draws sixel images.
# read a note
ada notes/today.md
# from a pipe: ada tells markdown, code, JSON, YAML, diffs and logs apart
git show HEAD~3:README.md | ada
journalctl -b -u sshd | ada
# code, config and images too
ada src/main.rs
ada plot.png
# as an fzf preview
fzf --preview 'ada --print {}'
Press ? in ada for the keys. The
README has every key and option.