Buy new rope
- who
- Sam
Put a few lines at the top of any text file saying what its marks mean. Selfscribe turns the rest into a to-do list you can tick, a board, an invoice that adds itself up or a whole trip plan, and any editor can still open the file.
Free to use, and it works offline. The engine is open source.
~~~ selfscribe
class today { list-style: none; padding: 0 }
line [] _ -> li.todo group ul.today input=checkbox
line [x] _ -> li.todo.done group ul.today input=checkbox checked { opacity: .55; text-decoration: line-through }
line [] ! _ -> li.todo group ul.today input=checkbox { color: var(--urgent); font-weight: 600 }
palette urgent #e03131 dark #ff8787
word @_ -> time { font-size: .8em; padding: 0 .5em; border-radius: 1em; background: #8882 }
line progress: _ -> progress
~~~
progress: Today
[] call the dentist @9:30
[x] water the plants
[] ! renew the ferry pass
[x] reply to Ana
[x] pick up bread @12:00
~~~ selfscribe
use markdown
use data
~~~
## Lisbon, four of us
```data trip as table group who sum amount
who, what, amount:number
Ana, dinner, 42
Tom, ferry, 18
Ana, museum, 12
Sam, groceries, 31.50
Lea, taxi, 16
Tom, wine, 24
```
| who | what | amount |
|---|---|---|
| Ana 2 · Amount 54.00 | ||
| Ana | dinner | 42 |
| Ana | museum | 12 |
| Tom 2 · Amount 42.00 | ||
| Tom | ferry | 18 |
| Tom | wine | 24 |
| Sam 1 · Amount 31.50 | ||
| Sam | groceries | 31.50 |
| Lea 1 · Amount 16.00 | ||
| Lea | taxi | 16 |
| Total | 143.50 | |
~~~ selfscribe
use data
~~~
## Getting the boat ready
```data jobs as board by status
task, status:choice(todo|doing|done), who
Sand the hull, done, Ana
Paint the hull, doing, Ana
Fix the tiller, doing, Tom
Buy new rope, todo, Sam
Sail cover, doing, Tom
```
todo 1
Buy new rope
doing 3
Paint the hull
Fix the tiller
Sail cover
done 1
Sand the hull
~~~ selfscribe
use markdown
use data
set style paper
palette brand #0b7285 dark #66d9e8
line INVOICE _ -> h1.band keep { background: var(--brand); color: var(--on-brand); padding: .45em .7em; border-radius: 8px; font-size: 1.3em; letter-spacing: .06em }
inline ((_)) -> until verbatim
~~~
INVOICE 2026-014
**From** Harbour Design Co., 4 Quay Street, Porto
**To** The Ferry Café, Lisbon
```data work as table plain columns item, hours, total, vat, due sum total, vat, due
item, hours:number, rate:number, total = hours * rate, vat = total * 0.23, due = total + vat
Menu design, 12, 60
Website, 20, 65
Photographs, 6, 50
```
Payment due ((2026-10-25))
From Harbour Design Co., 4 Quay Street, Porto
To The Ferry Café, Lisbon
| item | hours | total | vat | due |
|---|---|---|---|---|
| Menu design | 12 | 720 | 165.60 | 885.60 |
| Website | 20 | 1,300 | 299.00 | 1,599.00 |
| Photographs | 6 | 300 | 69.00 | 369.00 |
| Total | 2,320 | 533.60 | 2,853.60 |
Payment due 2026-10-25
~~~ selfscribe
palette
leaf #d3f9d8 dark #1f3b29
bloom #ffdeeb dark #45202f
sand #fff3bf dark #3e3517
pot #e5dbff dark #2f2550
class shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px }
class plant { margin: 0; padding: .8em 1em; border-radius: 18px; line-height: 1.45 }
line 🌿 _ -> div.plant group div.shelf keep { background: var(--leaf) }
line 🌸 _ -> div.plant group div.shelf keep { background: var(--bloom) }
line 🌵 _ -> div.plant group div.shelf keep { background: var(--sand) }
line 🪴 _ -> div.plant group div.shelf keep { background: var(--pot) }
word · -> br
inline ((_)) -> until verbatim
palette thirsty #ff8787 dark #c92a2a
word thirsty -> mark.thirsty { background: var(--thirsty); color: var(--on-thirsty); border-radius: 1em; padding: .1em .6em; font-weight: 600 }
~~~
🌿 Basil · kitchen window · water ((2026-09-27))
🌸 Orchid · bathroom · water ((2026-09-30))
🌵 Cactus · sunny sill · water ((2026-10-12))
🪴 Monstera · living room · thirsty
~~~ selfscribe
use markdown
use data
set page A5 margins narrow
palette
sea #1971c2 dark #74c0fc
sun #f08c00 dark #ffc078
line Leaving _ -> p.leaving keep { font-weight: 600; color: var(--sea); border-left: 4px solid var(--sun); padding-left: .6em }
inline ((_)) -> until verbatim
line progress: _ -> progress
block ``` flow ... ``` -> flow verbatim
block ``` chart ... ``` -> chart verbatim
block ``` poll ... ``` -> poll verbatim
~~~
# Portugal in October
Leaving ((2026-10-17 09:40))
## Pack
progress: Packed
- [x] Passports
- [x] Rail tickets
- [ ] Walking shoes
- [ ] Charger
## Route
```flow
set direction=LR
node lis "Lisbon" :start
node por "Porto"
node dou "Douro valley"
node home "Home" :end
link lis -> por "train"
link por -> dou "boat"
link dou -> home "plane"
```
## Nights
```data stays as gantt by arrive to leave
place, arrive:date, leave:date
Lisbon, 2026-10-17, 2026-10-19
Porto, 2026-10-19, 2026-10-22
Douro valley, 2026-10-22, 2026-10-24
```
## Budget
```chart
type: hbar
values: yes
prefix: €
Item, Cost
Rooms, 540
Food, 300
Boat, 90
Trains, 64
```
## Last night
```poll
Where shall we eat in Porto?
- Fish by the river (3)
- The tasca on the hill (5)
- Picnic on the bridge (1)
```
Leaving 2026-10-17 09:40
Each page is drawn from its own file by the engine. Open one to read the rules at its top.
Columns, a masthead and pull quotes from plain paragraphs and one style line.
Document · Print
A script in proper screenplay layout, from text you type the way scripts are written.
Document · Print, markup
Ingredients beside the method, with quantities and timers picked out of what you would type anyway.
Document · Markup
Paste a chat as plain lines and get bubbles, colours and day dividers.
Document · Markup
A rule says where to look, what to look for, what it becomes and how it looks.
Start with plain text. Markdown works out of the box.
# Harbour notes
The market opens at six.
NOTE: bring cash, the card reader is broken.The market opens at six. NOTE: bring cash, the card reader is broken.
One line says what a mark means. Here, NOTE: becomes a label.
~~~ selfscribe
use markdown
word NOTE: -> strong { color: #c2410c }
~~~
# Harbour notes
The market opens at six.
NOTE: bring cash, the card reader is broken.The market opens at six. NOTE: bring cash, the card reader is broken.
Name your colours once, with a shade for dark pages. Change one line, restyle everything.
~~~ selfscribe
use markdown
palette alert #c2410c dark #ff8a4c
class label { padding: .1em .45em; border-radius: 5px; background: color-mix(in srgb, var(--alert) 14%, transparent) }
word NOTE: -> strong.label { color: var(--alert) }
~~~
# Harbour notes
The market opens at six.
NOTE: bring cash, the card reader is broken.The market opens at six. NOTE: bring cash, the card reader is broken.
For Windows, macOS, Linux and Android, or in the browser with nothing to install.
The plain text, the text drawn as you type, typing on the finished page, the page alone, or side by side.
A few lines of CSV become a table, cards, a board, a calendar or a chart. Every click goes back into the text.
Charts from numbers, diagrams from arrows, equations, music and chess, all from lines of text.
One line turns a document into a book to page through or a deck to present.
PDF, Word, EPUB, a web page, a whole website, Markdown, or the text file itself. Or a copy for everyone on a list.
No account, no cloud, no code in documents. The file is yours and reads fine anywhere.
A Selfscribe document is an ordinary text file. It diffs cleanly in Git, opens in Notepad, and turns into HTML from the command line. The rules travel with the words, so the file explains itself.
self render notes.self on the command line~~~ selfscribe
use markdown
line Ana: _ -> p.ana { color: steelblue }
~~~
# Harbour notes
Ana: the market opens at six.$ self render notes.self
<h1>Harbour notes</h1>
<p class="ana">Ana: the market opens at six.</p>import { init, renderToHtml } from 'selfscribe';
await init();
const { html, css } = renderToHtml(text);Embed the engine