Consider linking to books at https://openlibrary.org (an Internet Archive project). If they’ve scanned the book, you can usually check it out with your Internet Archive account immediately.
Kudos! Loads superfast and well designed. I am curious about how to build a site like this? Could you shed some light on the stack used (frontend/backend)? I couldn't find anything immediately in the HTML like bundle.js or something similar.
Sure - Heroku and Cloudflare for hosts. I have a lightweight JS server that handles ingestion of HN data and parses book references into a Postgres db. Site is built with Python using Starlette. There is quite a bit of caching with Redis and Cloudflare. There are a couple scheduled processes for ranking and digests. Spacy and vaderSentiment Python packages are used for text processing. There is no/minimal JS on the site except for hCaptcha. It's gone through a few iterations - the first version was just a one-off static site generation.
I'm curious - how do you detect a book mention if, the first time it's mentioned, there's no link to Amazon? Do you use spaCy for NER and then use an API to check if the entity is a book name?
This is great, really really like the sticky feature of weekly/monthly/yearly digests.
I get most of my book recs from HN comments. Usually they are non-technical, anything from Michael Mauboussin to the Secret Life of Groceries. I would appreciate a simple "coreHN / not-coreHN" switch. (CoreHN would be books about startups, technologies, etc. I prefer the diverse topics, which are often buried in HN).
Also curious - are you parsing comments to identify books, or just submissions?
I like the coreHN / non-coreHN idea. The search page [0] has links to categories that can allow you to dig into the different categories of book recs a bit but you still need to parse out which categories are core vs non-core.
When I was looking to fill my bookshelf with technical books last month, I stumbled upon https://hackernewsbooks.com, it helped me find a lot of good programming literature.
The websites and Twitter feeds seem similar (and both seem great), was there any specific reason why you created an alternative?
This is awesome btw :), I just bought (https://hackernewsbooks.com) and I am going to fix the current bug which is breaking the frontpage. I love seeing this as I think the more sites around books the better. Hit me up if you want to stay in touch as I am playing with some different ideas around this too and I'd love to stay in touch :). (bwbbwb@gmail.com)
19 comments
[ 3.4 ms ] story [ 53.5 ms ] threadDo you parse every comment, and then look for book names?
I'm curious - how do you detect a book mention if, the first time it's mentioned, there's no link to Amazon? Do you use spaCy for NER and then use an API to check if the entity is a book name?
I get most of my book recs from HN comments. Usually they are non-technical, anything from Michael Mauboussin to the Secret Life of Groceries. I would appreciate a simple "coreHN / not-coreHN" switch. (CoreHN would be books about startups, technologies, etc. I prefer the diverse topics, which are often buried in HN).
Also curious - are you parsing comments to identify books, or just submissions?
I like the coreHN / non-coreHN idea. The search page [0] has links to categories that can allow you to dig into the different categories of book recs a bit but you still need to parse out which categories are core vs non-core.
[0] https://yahnd.com/books/search/
The websites and Twitter feeds seem similar (and both seem great), was there any specific reason why you created an alternative?