34 karma · joined July 21, 2026
Thanks again!
Would absolutely appreciate edits and revisions. Repository here:
https://github.com/vwalke/federalist-papers-reader
Thanks for the feedback! Vann
I made this. It started as a weekly reading project with my mother: one Federalist paper a week. I couldn't find an online edition that was actually pleasant to read - most are walls of text or scanned PDFs - so I built one.
It's all 85 essays with the original wording (text from the Project Gutenberg edition, publication dates checked against the Library of Congress record and Founders Online), set the way they first appeared: as essays in the New York newspapers of 1787–88, under the pen name "Publius." There's also a clean modern reading mode if the facsimile isn't your thing.
The part this crowd might like: the justified text uses Knuth–Plass line-breaking (via a small library called justif - which I found here on HN!), with hanging punctuation and optical margin alignment, set in the IM Fell types. No ads, no accounts, no tracking; reading progress is stored locally on your own device.
It's free and the text is public domain. I'd genuinely welcome feedback on the reading experience.
(It was recently featured on kottke.org, which is the only reason I'm brave enough to post it here.)
In the end, I'm happy with the AI development. The machine laid a lot of bricks. But every judgment that makes the thing itself was mine: which typeface felt right, which historically accurate detail to reject because it hurt readability, what tone the notes should take, what to cut. Some days that feels like making. Some days it feels like being an editor with a very fast staff. Editors are proud of their papers too.
The important part: I built it for my mom. She can't tell which lines I typed and which I asked for. She can tell it was made for her. Maybe that's the part that survives every new tool — who it's for.
And aside from any question of "pride" .... this project would never have existed without AI support. I wouldn't have had the time. Wouldn't have pushed it to the level of excellence that it shows. And, would have been pulled off to other distractions, projects, and work long before it got over the finish line.
It may be a different world. But, I'm all in.
https://federalistreader.org/notes/justif/
Nicely done! (and thanks for the fixes with v0.5.0. I submitted a couple more.)
The numbers were better than I hoped. A full ~5k-word essay justified in about 280ms, and ~36KB gzipped including the en-US patterns. And the output is the part that sold me. The columns look like typesetting rather than CSS, which is the whole thing I'd been grumbling about.
The only snag I hit: a floated initial letter (drop cap) trips it — the first line ignores the float and overflows the gutter. Excluding that paragraph and leaving it on native justify renders perfectly, so it's cosmetic to work around, but a first-class exclusion selector would be lovely. I'll file an issue with the details and our measurements.
Best part: this experiment exposed that our sheets are currently set ragged right, which no printer in 1787 would have tolerated. Your library may be what finally makes us historically honest. Test page for context: federalistreader.org/papers/10/
Thank you for building this!
Questions, from someone who wants this to work:
* Does Justif do its own hyphenation (Liang patterns?) or lean on the browser's? And is there a way to feed it exceptions for unusual or archaic spellings?
* How does it behave at narrow measures, say 35–40ch columns? That's where Knuth-Plass should shine most, but it's also where badness compounds fastest.
* What's the reflow cost on long documents (5–10k words) when the container resizes or the user scales the text — full re-run or incremental?
* Any thoughts on coexisting with text-wrap: pretty as browsers slowly grow real paragraph-level breaking?
Congrats on shipping this. I miss producing documents with TeX!