Markdown Reader
Read any Markdown file the way it was meant to look, without uploading it anywhere.
The problem
More and more of what I read is Markdown: notes, specs, briefs, READMEs and almost everything an AI tool writes. Opened as a plain file it’s a wall of hashes and asterisks, and most readers want an account, an install or an upload before they show it properly.
I wanted something closer to a PDF viewer: open the file, read it, close it. No sign-up, nothing sent to a server, and it should still work on a plane.
Key decisions
It has to open on a Mac, a Windows laptop, an iPhone and an iPad, and a native app means a build and a store listing per platform.
Native apps, a desktop app, or one installable web app.
One web app that installs like an app (a PWA). In Chrome and Edge it opens .md files straight from Finder or Explorer and reloads as you edit; everywhere else you open a file with the picker or drag it in.
Safari and iOS don’t allow opening files from Finder or live reload for web apps. In return there is one codebase, no store and no updates to install.
Markdown can contain raw HTML, and people open files from anywhere, including ones they didn’t write.
Render whatever the file contains, strip all HTML, or sanitise it.
Every document is sanitised with DOMPurify before it is shown, scripts and forms are removed, and links to other sites open in a new tab.
The odd file that relies on embedded scripts won’t run them. That’s the point.
A reader you can’t use offline isn’t much of a reader.
Load everything from the network each time, or cache it.
The app and its three libraries are pinned to exact versions and cached by a service worker on the first visit, so it opens without a connection. Your last document, and where you were in it, are kept on your device.
The first visit needs a connection. After that it doesn’t.
The work
How it was built
- 01DiscoverCalls and walk-throughs with the people who would use it
- 02CompileTranscripts, files and constraints in one requirements brief
- 03SpecifyA detailed, sourced spec from Perplexity, reviewed and locked
- 04BuildDesigned and built with the latest AI models, in the production stack
- 05TestUser testing on every preview, with real users on real tasks
- 06IterateFindings turned into the next round of changes, worst problems first
- 07ShipTests, security review and release, then back to testing and iterating↻ Back to Test
Where AI was used
Built with Claude Code in an afternoon. It has no AI features: it just reads the file.
What’s next
Folder browsing with a sidebar of every .md file, Mermaid diagrams, and showing images that sit next to the file.