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 生成,可能有误。

    工具与资源omar.website

    TabFS:将浏览器标签页挂载为文件系统

    TabFS: Mount your Browser Tabs as a Filesystem

    2次上首页
    2年跨度
    1,477累计得分
    246条评论

    2021 — 2023,它一次次回到首页

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

    导读

    TabFS 是一个把浏览器标签页挂载为文件系统的工具:每个标签变成一个目录,你可以用 ls、cp、rm 等普通 shell 命令查看、操作甚至关闭标签页,把浏览器纳入 Unix「一切皆文件」的体系。作者在页面上展示了批量关闭标签、提取页面内容等一行命令的用法。

    为什么经久不衰:它把浏览器这个日常「黑盒」接入了文件系统和 shell 的强大生态,理念优雅且实用,多年来持续引发讨论。

    关键词 浏览器扩展文件系统Unix 哲学标签页管理

    HN 评论精选

    KDE 早在 90 年代就有类似的 VFS 魔法,作者是在延续一个经典传统

    KDE 在 90 年代末有过类似的东西——可以把网站 URL 当目录浏览,直接在文件管理器里打开站点的资源目录和图片。它是桌面 VFS 框架(KIO)的插件,所以在任何打开文件对话框里都能用。我常用它批量下载页面里的图片。KDE 还有很多这类 VFS 技巧,比如把音乐 CD 挂载后直接看到一堆虚拟的 MP3 文件,抓轨和编码即时完成。当年的桌面 Linux 虽然不好搞,但真有种活在未来的感觉。

    sho_hn查看英文原文

    KDE on Linux used to have something similar in the late 90s - it allowed you to open a website URL as a directory listing, so you could browse the site's asset directories and open image files, etc. Think like a client-side generated version of Apache's index pages, but using your local file manager. It was a plugin to the VFS framework (KIO) the desktop and all the apps use, so it would also work e.g. in Open File dialogs from anywhere within the toolset. I remember using this regularly to mass-download the images embedded into a page - open the page this way by replacing http:// with a pseudo-protocol, copy all, paste, done. KDE always came with a lot of VFS trickery like that. Ripping a music CD into MP3s was similar - you'd open the volume in the file manager and see your tracks along with a virtual folder full of MP3 files. The rip and encoding would happen on the fly, and you could do this e.g. straight from the file attach feature in an instant messenger. Desktop Linux was a lot less friendly to get working smoothly back then compared to now, and feature discovery was by word of mouth more than anything, but it sure felt like living in the future early.

    对重度键盘流用户来说,这是把浏览器纳入自己工作流的关键拼图

    太棒了。我的系统重度脚本化和键绑定,唯一让我沮丧的就是浏览器这个黑盒,在 WM 和浏览器标签之间写个垫片在我的 TODO 清单上放了很久。谨慎乐观地认为这会像 i3 一样给我的操作系统易用性带来质的飞跃。当然我知道它还是实验性的、不安全,主要是兴奋于有了一个可以折腾的起点。

    wutbrodo查看英文原文

    Wow, this is awesome! My OS is heavily scripted and keybound, thanks to 15 years of cumulative incremental fixes and a kick-ass WM. The one thing that's frustrated me is the relative black box that my browser represents, and writing a shim between my WM and browser tabs has been on my TODO list for a long, long time (through a couple of aborted attempts due to a combination of Chrome's at-the-time obsolete documentation and probably-necessary security model). I'm cautiously optimistic that this is going to represent a dramatic step function in ease-of-use of my OS, in the same way that i3 was. EDIT: I should clarify that I did read the author's note that this is experimental, not secure, etc. I'm mainly just excited about having a jumping-off point to play around with and possibly hack on a little.

    对标签页重度用户,用文件操作的方式批量管理标签正是刚需

    非常出色的作品。作为开着几千个标签的人,我一直想要「一条命令关闭所有标签」或批量选中关闭的功能,一个个手动删太慢了。现在就差一个 vim 插件,让我可视选中一堆标签然后按 d 删除。

    cocktailpeanuts查看英文原文

    This is a brilliant piece of work. As someone who has thousands of tabs open, I've always wanted to "close all tabs with a single command", or view all the open tabs and mass select them and close, for years. Otherwise, going through them one by one and deleting takes forever. Now somebody make a vim pluggin so I can delete tabs by visual selecting a bunch of them and typing "d".

    更进一步把 DOM 也暴露为文件系统,就能用纯 shell 操作网页内容

    如果 DOM 也能暴露出来就更酷了,那样就能用一行 bash 做简单任务,比如「下载所有图片」或「删掉引用 spammyads.js 的 script 标签」,只用 find、cp、rm、mv 就够了,比如 cp html/body/*/img/.hero-img/hello.png ~/Downloads/。需要一些巧妙的方式用子目录结构和长文件名来表达 id 和 class。

    aljungberg查看英文原文

    It would be cool if the DOM was exposed. Then you could write one liner bash scripts to do simple tasks like “download all images” or “delete script tags referencing spammyads.js”, all with nothing more advanced than find, cp, rm and mv in the shell. E.g. cp html/body/*/img/.hero-img/hello.png ~Downloads/ You would need some clever way to express the DOM with ids and classes etc but it could be done with some subdirectory structure and long names, sometimes having multiple names for the same thing.

    Firefox 的限制让该扩展只能临时安装,实用性受损

    可惜 Firefox 不允许用户未经审批安装扩展,而这个扩展只能临时安装——在 Firefox 里你得作为「临时扩展」装,只在当前会话有效。

    superkuh查看英文原文

    Too bad firefox doesn't allow it's users to install extensions without their approval and this extension can only be installed temporarily. >in Firefox You'll need to install as a "temporary extension", so it'll only last in your current FF session. (If you want to install permanently, see this issue: https://github.com/osnr/TabFS/issues/4#issuecomment-753447380)

    项目理念很棒,但安装兼容性(MacFUSE、Firefox 支持)仍是障碍

    两点:1. 在 M1 Mac 上因 MacFUSE 问题没能跑起来;2. 希望有 Firefox 版本。我觉得这个项目太酷了,非常希望它能用起来——我有很多工作流想把访问的站点数据记录成纯文本做进一步分析和长期存储。

    aeonik查看英文原文

    Two things, 1. I couldn't get this working on my M1 Mac due to MacFUSE issues. 2. I wish there was a version for Firefox. I think this is such a cool project, and I want this to work really badly. I have many workflows where I'd like to log data for certain sites I visit it plain text for further analysis. And long term storage.

    历次讨论

    同类还值得读

    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

    关注向阳乔木

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

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

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