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/c...