Saturday, August 20, 2022

Show HN: Daily snapshot of Hacker News' frontpage https://ift.tt/CFKzwrZ

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://ift.tt/UGL1OX0... https://ift.tt/IuBHiXq August 20, 2022 at 12:36AM

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home