Userscript pulls Hacker News comments into a sidebar next to the article
Original source
Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript
Hacker News →HNewhere is a small userscript that ends the two-tab dance of reading an article and its Hacker News thread separately. When you land on a page that has an associated HN submission, the script detects the match via the Hacker News and Algolia search APIs and loads the discussion into a resizable sidebar alongside the content, so comments and article sit side by side.
Beyond the core split view, it tracks which links you’ve opened from Hacker News, lets you collapse comment threads, and remembers your preferred sidebar width between sessions. Reply links route straight back to HN for actually posting. Running it requires a userscript manager such as Tampermonkey, Violentmonkey, or the Userscripts extension on Safari; you install the manager, add HNewhere.user.js, and visit any article with a matching thread.
The project is released under the MIT license, making it a low-friction quality-of-life hack for heavy HN readers rather than a product. Its significance is mostly as a neat example of how much reading-experience friction a few dozen lines of client-side JavaScript can remove by stitching two public APIs together.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.