HNewhere: a lightweight userscript that brings Hacker News discussions into any article
A new open-source userscript called HNewhere lets readers view Hacker News comment threads in a sidebar alongside any article, eliminating the need to open a second tab.
Intelligence analysis by Llama
HNewhere is a Tampermonkey-compatible userscript that auto-detects matching Hacker News stories, fetches comments via the HN and Algolia APIs, and renders them in a resizable, collapsible sidebar so readers never have to context-switch.
Imagine reading a book and having a little chat window pop up next to it where other people who read the same book are talking about it. That's what HNewhere does for articles, but with the conversations that happen on a website called Hacker News.
Analysis
A Two-Tab Problem Worth Solving
HNewhere began, according to the repository's creator, with a common annoyance among Hacker News readers: clicking a story, reading the linked article, then opening a second tab to find the discussion. The userscript collapses that workflow into a single screen by detecting the article the reader is on, matching it against Hacker News submissions, and pulling the comment thread into a sidebar. The result is a small but tangible reduction in context-switching for the kind of reader who treats HN as a parallel commentary track to whatever they are reading.
How It Works Under the Hood
The script relies on two external services to function. It queries the Hacker News API for story data and falls back to the HN Algolia search API when a direct match is not available, which is a pragmatic choice that broadens coverage to articles that have been submitted under variant titles. The sidebar itself is resizable and collapsible, and the developer added reply links that route users back to the canonical Hacker News thread rather than attempting to replicate the posting experience in-place. That design choice — augment, don't replace — keeps the project lightweight and avoids scope creep.
Ecosystem Signals
With 28 stars, 2 forks, and 12 commits, HNewhere is a modest project by raw numbers, but it slots into a long lineage of small, MIT-licensed browser customisations that have kept the userscript ecosystem alive long after the browser extension model consolidated around manifest-based stores. The dependency on userscript managers like Tampermonkey, Violentmonkey, or the Safari-native Userscripts manager is a reminder that the install base for this kind of tooling is still meaningfully distributed across browsers, and that shipping a single ~userscript.js file remains a viable distribution channel for solo developers who want to bypass app-store review cycles entirely.
Key points
- Lightweight userscript that injects Hacker News comment threads into a resizable sidebar
- Uses both the Hacker News API and the HN Algolia search API for story matching
- MIT-licensed and compatible with Tampermonkey, Violentmonkey, and Safari Userscripts
- Reply links intentionally route back to the canonical HN thread rather than replicating posting UI
- Repository currently sits at 28 stars, 2 forks, and 12 commits
If the project attracts more contributors, additional features like nested reply rendering or saved thread bookmarks could deepen its utility. The MIT license and tiny surface area make it easy for anyone to fork and extend, so the upside is more about gradual refinement than viral growth.
The script depends on the Hacker News and Algolia APIs remaining available and on the sites it runs against continuing to expose the metadata needed for matching. A breaking change to either dependency, or a policy shift on the part of a major news site, could break detection for some users.
