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.

Ask HN: How to you manage your favorite HN submissions?

16 pointsby amzpixalmost 5 years ago
I have close to 900 submissions marked as favorite on HN. I'm trying to find all SQL related submissions from this list. Is there a quick way to search without scanning through 30 pages?

5 comments

gabrielsrokaalmost 5 years ago
I wrote some tools to export your HN favorites to CSV or HTML in both JavaScript and Python.<p>Check out <a href="https:&#x2F;&#x2F;gabrielsroka.github.io&#x2F;getHNFavorites.js" rel="nofollow">https:&#x2F;&#x2F;gabrielsroka.github.io&#x2F;getHNFavorites.js</a> or to view the source code, see JS: <a href="https:&#x2F;&#x2F;github.com&#x2F;gabrielsroka&#x2F;gabrielsroka.github.io&#x2F;blob&#x2F;master&#x2F;getHNFavorites.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gabrielsroka&#x2F;gabrielsroka.github.io&#x2F;blob&#x2F;...</a> or Python: <a href="https:&#x2F;&#x2F;github.com&#x2F;gabrielsroka&#x2F;gabrielsroka.github.io&#x2F;blob&#x2F;master&#x2F;getHNFavorites.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gabrielsroka&#x2F;gabrielsroka.github.io&#x2F;blob&#x2F;...</a><p>Previous discussion, other tools and more info:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22788236" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22788236</a><p>Maybe I should add a SQL interface ;)<p><pre><code> select * from favorites where username = &#x27;amzpix&#x27; and title like &#x27;%SQL%&#x27;;</code></pre>
评论 #23840512 未加载
评论 #23870236 未加载
blackbrokkolialmost 5 years ago
Since HN is such a beautiful old school websites, the pages of your submissions are denoted in the URL like <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;favorites?id=YOURNAME&amp;p=PAGENUMBER" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;favorites?id=YOURNAME&amp;p=PAGENUM...</a>.<p>So you could just loop said page number in your favorite language, access the generated webpage and get the raw HTML. If you get all lines of class &quot;storylink&quot; and &quot;title&quot;, you will have all the post titles and where they link. Save that into any format as simple as Excel and you have a nice searchable overview.<p>Always rate limit yourself sensibly when web crawling, and have fun!
AlexanderNullalmost 5 years ago
I set up a job posting sentiment analysis ML app on the Who&#x27;s Hiring post recently and use a the public firebase REST API: <a href="https:&#x2F;&#x2F;github.com&#x2F;HackerNews&#x2F;API" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;HackerNews&#x2F;API</a> . It mostly works for my usecase but its search capabilities are severely lacking over REST so might not be the best in your case. I never got around to trying a firebase client so I have no clue if it interacts with a different interface, might be worth taking a quick look at.
dzongaalmost 5 years ago
I have a service, on the way to do so. leave your email, and will send you mail when ready. thanks
112almost 5 years ago
ripgrep + fzf = love