Show HN: HackerBooks – HackerTube, but for books mentioned on HN (opens in a new tab)hackerbooks.org
1870 pointsSaw Karpathy's HackerTube and wanted the same thing for books. So I had Claude build one (Opus 5.5).
It's ~16.5k books that at least two different HN commenters brought up, from 2007 till now. Each book links back to the comments that mentioned it. Data is downloadable from the about page.
To be clear: Claude wrote almost all of it, including the data pipeline and the site. I mostly steered and made calls, bought the domain name, etc.
It counts mentions, so it's not perfect (praising a book and trashing it both count). If your favourite book is missing or matched to the wrong thing, tell me.
Comments (308) 152 threads
Earlier commentsAlso... "Each book links back to the comments that mentioned it."
> Please don't put generated text in HN posts.
Claude speak gives me a gag reflex these days.
And fair on the post, I had claude draft it and only edited it a couple of times. Should have just written it myself.
Continue this thread — 1 reply
Hacker Books painted in 0.48 seconds on a fresh mobile visit. The first book cards were in the DOM by 0.79 seconds, and the largest visible image painted at 1.52 seconds. On a repeat visit, that image painted in 0.21 seconds.
Homepage median Fresh browser cache Repeat visit
First byte 112 ms 86 ms
First contentful paint 480 ms 168 ms
First book cards inserted 793 ms 188 ms
Largest contentful paint 1,520 ms 212 ms
Three runs per condition in Chrome at 390 × 844, with 1.6 Mbps download, 120 ms emulated latency and 4× CPU slowdown. These are navigation-start lab timings from one location. All three fresh visits beat your 1.5-second FCP target. Hacker Books
What makes it feel fast
- The first screen needs very little code. The HTML is about 3 KB, its single blocking stylesheet 5 KB, and its vanilla JavaScript module 26 KB, all gzip-compressed. The HTML contains the header, search box and navigation, so those can paint before the catalog arrives. There’s no React runtime to download or hydrate.
- They publish a small answer to the first query. The homepage preloads a 33 KB index of the top 600 books alongside the app code. The full 692 KB index of 15,362 books loads in the background. Once it arrives, browsing and search can reuse it locally. Covers are 320 px WebPs, and additional cards render in batches as you scroll.
- A book click can show the title immediately. The app changes the URL hash, renders the book information already in memory, then fills in comments and related material from a per-book JSON file. Hovering or focusing a card for 80 ms starts that fetch early. Repeat visits reuse the result. This is targeted data prefetching; it costs much less than prerendering an entire destination.
- Cloudflare helps on both visits. My HTML request was a cache HIT at Cloudflare’s San Jose edge. The versioned CSS, JS and index files advertise a one-year immutable browser cache. Chrome recorded zero transfer bytes for those files on all three repeat visits. HTTP/3 was real, too: two fresh visits negotiated H3 and one negotiated H2. All three painted within 468–500 ms, so the site was fast on either protocol in this sample.
- Open Graph handles sharing. The title, description and URL tags describe the site to link-preview crawlers. They don’t accelerate rendering. The page also includes Cloudflare Web Analytics.
My favourite part of Startup School is when people ask you what you're working on, and then their profile and application can change.
https://news.ycombinator.com/item?id=50333280
Edit: Changed it to "mentioned by"
Continue this thread — 1 reply
Continue this thread — 1 reply
Why would we want to forget such an example?
Hackerbooks, but for wikipedia :)
I hope you enjoy it.
All comments shown.
Couldn't load more comments. Check your connection and try again.