HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    工具与资源github.com

    Huginn:创建替你监控并执行操作的代理

    Huginn: Create agents that monitor and act on your behalf

    2次上首页
    3年跨度
    1,573累计得分
    192条评论

    2019 — 2022,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    Huginn 是一个开源、可自托管的自动化平台:你可以在自己的服务器上创建各种 agent,用来监控网页、RSS、社交媒体等信息源,并在条件满足时发送通知或执行动作,常被视为可自托管的 IFTTT/Zapier 替代品。它尤其适合做定时网页抓取和轻量过滤,但不擅长复杂逻辑和系统间的双向同步。

    为什么经久不衰:它免费、自托管、数据可控,作者和长期用户至今仍在日常使用,经过十多年社区检验,今天仍是搭建个人自动化流程的实用工具。

    关键词 开源自动化自托管IFTTT 替代网页抓取

    HN 评论精选

    原作者说明 Huginn 的定位:擅长定时抓取与轻量过滤,不擅长复杂逻辑和双向同步。

    一觉醒来发现自己发起的项目上了 HN 首页,挺有意思。我现在已不太参与项目的日常维护。这个项目不再年轻,借机聊几句:Huginn 最擅长做带轻量过滤的定时网页抓取,我就是这么用的;虽然可以在里面写自定义代码,但它不擅长实现复杂逻辑,更不适合系统之间的双向同步——这恰是很多人希望它做的,但它并非为此设计。如果 IFTTT 或 Zapier 满足需求,那很好,不必自己运行和监控服务;我选择在自己的硬件上跑 Huginn,很大程度上是为了能放心把网站的 cookie 和密码交给它。我目前用它实时监控 Twitter 上某些关键词的异常峰值,触发推送或摘要邮件;也监控罕见词和很少发推的用户;还抓取一些很少更新的博客。

    tectonic查看英文原文

    It's fun to wake up to find a project that I started on the top of HN! These days, I'm no longer very involved with the day-to-day of the project. Now that it's no longer a young project, here are some musings about Huginn and responses to people's comments in this thread, in no particular order. I've found that Huginn excels as a scheduled web scraper with lightweight filtering. That's what I use it for. On the other hand, while you can write custom code in it, Huginn is pretty poor at implementing any sort of complex logic, and is even worse at bidirectional syncing between systems, which is something people often want it to do, but for which it wasn't designed. If IFTTT or Zapier meet your needs, awesome! No need to run and monitor your own service. I personally choose to run Huginn on my own hardware in large part so that I'm comfortable giving it website cookies and passwords. Some examples of what I use Huginn for these days: - Watching Twitter in realtime for high standard deviation spikes in certain keywords, such as "san francisco emergency" or "san francisco tsunami warning", which then sends me a push notification, or "huginn open source", that goes to a digest email (and I imagine will trigger because of this thread). - Watching Twitter for rare terms and sending me a digest of all tweets that match them. Also sending me all tweets from a few Twitter users who post rarely, but that I don't want to miss. - Scraping a number of rarely updated blogs that don't have email newsletters and emailing me when they change. Some use RSS, most are just simple HTML scraping. - Pulling deals from the frontpage and forums of slickdeals and craigslist and filtering them for certain keywords. - Sending an early morning email if it's going to rain today. - Watching ebay for some rare items. - Sending my wife and me an email on Saturday morning with local yardsales from craigslist. - Watching the HN and producthunt front pages for certain keywords. Basically, anytime I find myself checking a website more then a few times, I spend 20min making a Huginn Agent to do it for me. I think one reason Huginn has worked well for me is that I don't try to make it do too much. I use it for scraping data and gentle filtering, and that's about it. It's been super helpful for alerting me to interesting content for The Orbital Index, my current project, a weekly space-industry newsletter. (Last issue: http://orbitalindex.com/archive/2019-12-10-Issue-42/)

    相比 Zapier,Huginn 的卖点是自托管、免费、可定制、隐私可控且可靠。

    它不只是替代品:自托管;无限量且免费,而 Zapier 要 699 美元/月;可自己写 agent/集成;可用 shell 脚本或 JavaScript 处理数据;过滤更强;支持 Liquid 模板;完全私密。我用 Huginn 省下数千美元。它非常强大,而且我不放心把数据交给 Zapier,也不喜欢它对我所做的事的可见性,因为涉及商业影响。可以跑在 AWS 云上或家里的旧机器上,非常可靠。

    PatrolX查看英文原文

    Not just an alternative though. - Self-hosted - Unlimited and FREE vs $699 / month - Create your own agents / integrations - Process data through shell scripts or JavaScript - Better filtering - Liquid templating - Completely private I save thousands of dollars by using Huginn. It's incredibly powerful and quite frankly I don't trust Zapier with my data and visibility of what I'm doing because there are commercial implications. Run it in the cloud on AWS or on an old box at home. It's very reliable.

    实际用途包括 RSS 过滤、转发到 Telegram、页面变更通知;灵活但缺少循环控制。

    我在家用服务器上跑 Huginn 有一段时间了,主要用来过滤 RSS 源,再用过滤后的条目生成新源;另一个用途是读取网络漫画的 RSS(或抓取页面),把漫画发到私人 Telegram 频道。我还用过一个 agent 抓取房源页面,有变化就通知我。我试过 node-red 等替代品,但在这些场景下都不太合用;Huginn 非常灵活,它的工作流心智模型(至少对我)很说得通。可惜越来越多网站要求你通过它们的 App/站点访问,比如从 Instagram 账号取内容就变难了。我还没搞明白的一点是循环:比如抓一个页面,想输出某个 img 标签的 src,同时检查页面上是否存在“下一页”按钮,先输出找到的 src,再用新的输入重新调用 agent,抓下一页,直到找不到按钮为止——这类自动化工具似乎都缺这个。

    traspler查看英文原文

    I have been running huginn on my home server for a while. I've mainly used it to filter RSS feeds and then generate new feeds with the filtered items. Another use-case for me is ingesting webcomic RSS feeds (or scrape a page) and post the comics to a private Telegram channel. Once I also had an agent scraping a page and notifying me if something changed (realestate listing). I have tried a couple alternatives, e.g. node-red but none really worked the way I wanted them to for these cases. huginn is incredibly flexible and (at least for me) the mental model of it's workflow makes a lot of sense. Sadly more and more pages want you to go through their app/site and make it a bit difficult to work with, e.g. getting content from an instagram account. One thing I have not figured out about huginn and which all of these automation tools seem to lack are loops. E.g I have page an agent scrapes, from which I want to output the src of an image tag but I also want to check if a certain condition on the page matches (e.g. a "next page" button exists) and then firstly output the found src but then also re-invoke the agent with a new input element. So it would scrape the next page and so on until it does not find the button anymore.

    功能强大但学习曲线陡,很多通知类用例缺少明确行动场景,实际价值有限。

    几年前发现它,被类似 JARVIS 的潜力吸引,深入研究。学习曲线很陡,但一旦弄懂几次,它确实很强大,能做很多事。我的问题是:我能做的那些事似乎并不特别有用。知道天气有用,但我自己也能大概知道;知道股票趋势上下,只有我要采取行动时才有用。现在装了太阳能,能看到更多用例,但大多还是出于好奇,而不是知道何时该行动。

    caseysoftware查看英文原文

    I found this a few years ago and was super intrigued JARVIS-like potential and dove into it. There's a STEEP learning curve but once you get it figured out a couple times, it's really powerful and you can do a lot. My problem is that the things I could do.. didn't particularly seem useful. Sure, knowing the weather is useful but I can get a pretty good idea on my own or checking the times I need to know more. Knowing about trends up/down in my stock is only useful if I'm going to act. Now that I have solar, I can see some more use cases but most are also around curiosity vs knowing when to take action. I may come to a different conclusion if I build an armored combat suit. Or for a more realistic and fun story, check out Daniel Suarez's Daemon. It's great.

    历次讨论

    同类还值得读

    1. 直接在浏览器中启动 Linux 内核

      Boot a linux kernel right inside your browser.

      Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。

      工具与资源上首页 5 次 · 2011–2025bellard.org
    2. Hacker News 未公开功能与行为清单(2018)

      A List of Hacker News's Undocumented Features and Behaviors (2018)

      数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。

      工具与资源上首页 5 次 · 2019–2025github.com
    3. MapSCII:在终端中用盲文和 ASCII 渲染地图

      MapSCII – Braille and ASCII map renderer for the console

      MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。

      工具与资源上首页 5 次 · 2017–2025github.com
    4. 顶尖大学的免费在线课程

      Free Online Courses from Top Universities

      Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。

      工具与资源上首页 5 次 · 2010–2022openculture.com
    5. 淘气字符串:容易引发用户输入问题的字符串清单

      Naughty Strings: A list of strings likely to cause issues as user-input data

      一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。

      工具与资源上首页 4 次 · 2015–2020github.com

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。