3 ms·
Show HN: Daily snapshot of Hacker News' frontpage
Hi there!
I'm trying to fight my bad habits of reloading news sites every 5 minutes while procrastinating work, so I've made this nightly snapshot of the Hacker News' frontpage consuming the API.
My intention is that the third day in a row that I get used to seen the same list every five minutes, I will start killing the (bad) habit.
It has a bit of (mostly irrelevant) text in Spanish because it's part of a larger site I'm building for this, but you can probably ignore that.
Under the hood, it's a simple Ruby script[0] that crawls HN's API and generates a static HTML - run every night in a Github Action that deploys to Github Pages.
Hope it's useful for somebody else out there!
[0]: https://github.com/mgarciaisaia/deja.de.hueve.ar/blob/main/crawl/hacker-news.rb https://github.com/mgarciaisaia/deja.de.hueve.ar/blob/main/c...
- josephcsible 4y agoHow does this differ from using "past"?
- filoleg 4y agoDoes the "past" feature allow you to see exactly what the frontpage looked like on a specific date? If no, then that's how it differs. Not trying to rebut you, just asking because I haven't used "past" much, and I don't remember it being able to do so. I definitely could be wrong, though.
- josephcsible 4y ago> Does the "past" feature allow you to see exactly what the frontpage looked like on a specific date? I'm pretty sure that's exactly what it does.