pad
a notepad at every url. open /anything, type, and it saves. every pad is encrypted in your browser with a key from its root's password.
how to use it
paths
any path is a pad: /notes, /notes/today, /notes/today/later. a pad is made by typing in it and deleted by emptying it: it leaves its parent's list, and its text stays only in its history, below, for 30 days. a path has up to 10 segments of up to 64 characters, 255 in all. case doesn't count: /Notes is /notes. /_/… is the server's own.
roots and passwords
the first segment is the root: /notes/today belongs to notes. in the address bar, what's under the root comes after a #: /notes#today/later. browsers never send that part, so the server knows which root you're in but not which pad.
- a root nobody has saved under is free. opening it asks for a password, which then guards the root and every pad under it, for reading as well as writing.
- a locked root asks for its password. 5 wrong ones are free; after that each try waits twice as long as the last, up to 15 minutes. a browser that has unlocked the root before only waits for its own wrong passwords; any other, for its address's. no one else's wrong passwords make you wait.
- password, in a pad's header, changes the root's password and signs every other browser out.
- lock signs this browser out and forgets its keys. a pad that can't be saved asks first: locking again loses what isn't.
- delete, in a root's header, deletes the root and every pad under it, stops its links and signs every browser out. for 30 days its old password brings all of it back; claiming the root anew instead, or the days passing, deletes it for good.
an unlock lasts 30 days unused, 180 days at most. a lost password can't be recovered: the pads are encrypted with it.
a root is kept here until it's deleted.
saving
a pad saves 600ms after you stop typing, when it loses focus and when the tab is hidden; its header says unsaved, saving… or saved. if two browsers save over the same version, the pad keeps both texts, what differs between <<<<<<< and >>>>>>> lines. a pad with nothing unsaved picks up others' saves every 5 seconds, every 30 while its window is in the background.
here a pad holds 512 KiB, and a root 16 MiB, its links included, and 5000 pads, emptied ones counted for 30 days. each address adds at most 1 GiB a day.
history
a pad keeps its last 10 earlier texts: one every 10 minutes of typing, and the last before each pause. emptying a pad keeps its text among them, for 30 days. history, in a pad's header, lists them; restore saves one as the newest, keeping what was there among them. they count toward the root's 16 MiB; a full root drops its oldest first, so a save is never refused for them.
read-only links
share, in a pad's header, lists its links; new link makes one: a copy of the pad and every pad under it as they are then, which anyone with the link can read but not change. later edits don't reach it; make a new link to share them. its page shows the pad and the pads under it, and edit goes to the real pad, for those with the password. a new link lasts a week unless you pick otherwise, from an hour to a year or until revoked. it can open once: its page asks for a click, then the server deletes the copy as it sends it. it can have a password, which the reader is asked for; the server never sees it, nor which links have one, but it knows how long a link lasts and whether it opens once. revoke deletes the copy and the link stops working; revoke all, pressed twice, does it for every link to the pad. emptying a pad leaves its links. a link holds 1 MiB once compressed, and a root 1000 links, counted in its 16 MiB.
themes and export
theme, in a root pad's header, picks the root's colours: pad's own, made for long reading (dusk, the default, and dawn), one of konigslibrary's, or a background, text and ink of its own. every pad under the root takes it, and so do links made after. it's sealed like the pads, so the password page shows it only in a browser that has unlocked the root.
export saves the pad and every pad under it as a zip of org files, made in the browser: /notes gives notes.org, notes/today.org, notes/today/later.org. pads that only have pads under them are just folders.
finder
the field under a pad finds and makes pads under it. matching is fzf-like: the typed characters in order, word starts and runs first.
- ctrl+/
- opens it from anywhere; inside it, closes it
- ↑ / ctrl+k / ctrl+p
- the next match up
- ↓ / ctrl+j / ctrl+n
- the next match down
- ↵
- opens the match, or makes the typed path if none
- ctrl+↵
- makes the typed path, even when something matches
- esc
- closes it
what the server sees
the browser encrypts every pad's text and path before sending them, with keys from the root's password, which never leaves it. the server keeps each root's name, and for it a salt, a hash to check the password against, and sealed bytes it has no key for. it sees which root is open, not which pad, and how many pads a root has with their sizes, rounded up so that many share one.
pad loads nothing from other sites, runs no analytics, writes no log of requests, and has no accounts: a root's password is its only key. the proxy in front of a server sees every request, and whoever runs it decides whether it keeps them.
how, and what that doesn't protect against: encryption and access, what the proxy sees.
source
pad is free software, under the MIT licence: github. this server says it runs v0.3.0; each release lists the hashes of the files a page loads, and a script checks a server serves them. to run your own: installing pad.
credits
the font is WebPlus IBM VGA 9x16 from VileR's Ultimate Oldschool PC Font Pack, under CC BY-SA 4.0.
the marble behind the panels is marble.xbm from Anthony Thyssen's AIcons library, which he released as almost all public domain, with no restriction listed for it.