TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Daily snapshot of Hacker News' frontpage

3 pointsby mgarciaisaiaover 2 years ago
Hi there!<p>I&#x27;m trying to fight my bad habits of reloading news sites every 5 minutes while procrastinating work, so I&#x27;ve made this nightly snapshot of the Hacker News&#x27; frontpage consuming the API.<p>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.<p>It has a bit of (mostly irrelevant) text in Spanish because it&#x27;s part of a larger site I&#x27;m building for this, but you can probably ignore that.<p>Under the hood, it&#x27;s a simple Ruby script[0] that crawls HN&#x27;s API and generates a static HTML - run every night in a Github Action that deploys to Github Pages.<p>Hope it&#x27;s useful for somebody else out there!<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;mgarciaisaia&#x2F;deja.de.hueve.ar&#x2F;blob&#x2F;main&#x2F;crawl&#x2F;hacker-news.rb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mgarciaisaia&#x2F;deja.de.hueve.ar&#x2F;blob&#x2F;main&#x2F;c...</a>

1 comment

josephcsibleover 2 years ago
How does this differ from using &quot;past&quot;?
评论 #32533922 未加载