Lorcan O'Shanahan
← Devlog
Accessibility · Agent-built · Self-hosted

From paper scraps to a served app

A family member who is unwell, with poor eyesight, kept losing notes written on scraps of paper. I asked what a notes app built for them would take, and how I would build and serve it myself: an agent built Big Notes in an afternoon, and one Raspberry Pi serves it.

The question

A family member of mine is unwell and has poor eyesight. They were writing notes on whatever was to hand: the backs of cards, receipts. Some went missing. That raised a question: what would a notes app built for them take, and how would I build and serve one myself?

The model I had in mind was browser tools like Excalidraw and Pastebin. The app runs in the browser and keeps your work there, with no account needed to start, and sharing is a link. Excalidraw goes further: a shared drawing is encrypted, and the key travels in the part of the link after #, which the browser never sends to the server. Big Notes shares notes the same way.

It is live at notes.lorcanoshanahan.com. Without an account, your notes stay on your phone.

Build

The brief was one line: a simple note app, web hosted, with big font options for bad eyesight. I gave direction in short messages and judged what came back. The agent wrote the code, set up the deploy, tested the API and screenshotted the result. The design turned several times in one afternoon, each time on a single sentence from me.

  1. A hosted page. First version: a single page with per-user storage in a hosted sandbox. Working in about twenty minutes, but not somewhere I control.
  2. Onto my home server. "Host it on the Pi instead." The agent wrote a zero-dependency Node server, wired the push-to-deploy hook and put it behind my tunnel. I said the accessibility menu was too front-facing. It became a small Aa button, top right, opening a full-screen sheet.
  3. Notes stay on the phone. I asked how memory worked. The agent laid out the trade: a name-and-PIN login with server storage, or the browser alone. I chose the browser, and it added the guards against Safari clearing a site's storage after seven days without a visit.
  4. Accounts and share links. An optional passkey account, and a link that opens a note read-only.
  5. Reviewed before it went live. A second agent reviewed security. The two agents agreed a balance between security and zero overhead; I had the findings fixed, and the reviewer signed off before launch.

1 · The one-shot. Settings sit in the main view.

2 · On the Pi. A secret-link notebook, settings behind Aa.

3 · First run, writing the shopping list.

Designed for poor eyesight

One column, autosave, read aloud. The header says "Notes", with an account button and an Aa button beside it. Aa opens a full-screen settings sheet:

  • A text size slider with notches, from normal up to 72 px.
  • High-contrast colour schemes, including yellow on black and white on dark.
  • Atkinson Hyperlegible as the typeface.
  • A green bar confirms each save, so there is no doubt a note was kept.

Each screen below is a state, and the line between two screens is the one action that moves the user on. There is never more than one decision on a screen. It starts with a welcome screen and three ways in: sign in, create an account, or continue without one.

First open: sign in, or not
  1. Welcome
  2. Fingerprint or face, or straight in
  3. List
Write a note
  1. List, empty
  2. Tap + New note
  3. Note, typing
  4. Saves as it is typed. Tap ←
  5. List, one note
Set text size and colours, once
  1. List
  2. Tap Aa
  3. Settings sheet
  4. Slide to 72 px, pick Yellow on black, tap Done
  5. List, new settings
Delete, then change your mind
  1. Note
  2. Tap the bin. No warning
  3. List, undo bar
  4. Tap Undo within 15 s
  5. Note, restored
Share a note
  1. Note
  2. Tap share
  3. Phone share sheet
  4. The phone's share sheet sends the link
  5. Reader's screen

What the research said

The constraints are common. The WHO counts at least 2.2 billion people with a near or distance vision impairment. Age-related near-vision loss alone accounts for 826 million, cataract for 94 million, and macular degeneration for 8 million. Most are over 50.

I had agents pull the reading and usability research on low vision and ageing eyes, then checked each finding against what the app already did. Most of it held. The one gap was target size, and the buttons have since been raised to meet it.

FindingSourceIn the app
The print size needed to read at full speed grows with age; acuity sets each person's best sizeCalabrèse et al. 2016; Legge et al. 1985Notched slider from normal to 72 px, set by the reader
Readers with central vision loss, as in macular degeneration, need print about 2.3 times larger and read at under half the speedChung & Legge 2025The slider runs from 18 px, normal phone text, to 72 px: 4 times larger
Contrast sensitivity falls with age; at 70 it is about half that at 20, mostly from light scatter in the lensOwsley 2011; WCAG 1.4.3All text 7.6:1 or better; outlines 4:1 or better, above WCAG's 3:1 for component edges
Readers with cloudy media such as cataract read 10–50% faster with light text on darkLegge et al. 1985Yellow on black and white on dark offered
Brightness contrast helps low-vision reading; colour contrast alone does notLegge et al. 1990Every scheme pairs very light with very dark
Wider letter spacing does not speed reading; double spacing slowed it about 25%Yu et al. 2007Extra spacing is an opt-in toggle, off by default
Typeface studies disagree; no controlled study of Atkinson Hyperlegible existsRussell-Minda et al. 2007; Braille InstituteAtkinson Hyperlegible, chosen on design grounds
Older adults tap accurately on phone targets of 14 mm and up; OS minimums are 7–9 mmLeitão & Silva 2012Every button is at least 88 px, about 14 mm, at every text size
Users over 65 make twice the errors and blame themselves 90% of the time; undo beats warningsNielsen 2013; Raskin 2007Delete has a 15-second Undo, no confirm dialog

The size figures in millimetres are my conversion from CSS pixels, not measured on a phone. The strongest result is the first row: the right size is personal, so the app offers a range for the reader to choose rather than one fixed "large text" mode.

Serve

One person serves this from home, so it has to cost nothing in upkeep.

  1. The phone
    Notes and key live herein the browser
    Works offlineinstallable app, service worker
  2. Home server · Pi 5 · Docker
    cloudflared containeroutbound tunnel, no open ports
    Node containerapp, passkey sign-in, vaults, shared notes
    Encrypted data onlyvaults and locked shared notes

A Raspberry Pi 5 runs Docker. The page is plain HTML and JavaScript; a zero-dependency Node container serves it. A cloudflared container carries traffic out through Cloudflare, so no port is open on my network. git push to a bare repo rebuilds and deploys it. Nothing runs between requests: no timers, sweeps, background jobs or healthchecks.

Accounts are passkeys. Notes are encrypted on the phone before they are saved, so the server stores only scrambled data it has no key for. Share links are locked with a key carried in the link.

  • No passwords. Accounts are optional, and deleting one needs fingerprint or face again.
  • 512 KB per account, and sharing needs an account, so it can't be free file storage.
  • Sign-up and write limits, plus a disk budget, so nobody can fill the server.
  • Strict browser security headers, a read-only filesystem, no special permissions.

What a real phone found

Real-device testing found what the agents couldn't:

  • iPhone Safari only starts Face ID straight from a tap, not from code that runs after one.
  • Bitwarden's passkeys don't provide the key-derivation secret (PRF) that Apple's and Google's password managers do, so the notes can't be unlocked with them.
  • iOS's Liquid Glass blurs content scrolling under the status bar. The fix was to scroll inside a full-screen container.

Judgment

The agent built fast and offered options. The calls that shaped the app were mine.

  • Local first. I moved my own notes from Notion to Obsidian to keep them as files I hold. These notes follow the same rule: they live on the phone first, and no third-party service holds the words.
  • Settings out of the way. Size and colour get set once, with help. After that they shouldn't compete with the writing, so they sit behind a small Aa button.
  • Research changes wait. Findings that suggest a change go on a list first. Nothing ships until I've approved it.
  • Zero overhead. Nothing to patch, renew or babysit.
  • Test on a real phone. The three bugs above never showed up in a desktop browser.

Next I'd test at the reader's chosen size, in the light the notes are read in.

Stack

HTML, CSS and plain JavaScript · localStorage · service worker · passkeys (WebAuthn) · Web Crypto AES-GCM · Node with no dependencies · Docker Compose · git push-to-deploy · Cloudflare Tunnel · Raspberry Pi 5 · Atkinson Hyperlegible

Sources