Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

HNewhere

SCR-20260728-ndit

A lightweight userscript that adds Hacker News discussions to any article.

HNewhere detects matching Hacker News stories, loads comments into a sidebar, and lets you browse discussions without leaving the page.

Install

  1. Install a userscript manager:

  2. Install HNewhere Current release: v1.5.3

  3. Visit an article with a Hacker News discussion.

Features

  • Automatically detects Hacker News discussions for articles
  • Displays HN comments in a sidebar without leaving the page
  • Quote-linked article annotations while the sidebar is open
  • Subtle clickable article highlights and underlines for matched quotes
  • Clickable cited text inside matched comments that jumps back to the article and filters the discussion
  • Comments can link multiple cited passages from the same article
  • Clicking an article annotation can filter the sidebar to the matching comment thread
  • Filtered discussion view with a pull-quote summary, direct-match navigator, and quick return to the full thread
  • In blended views, filtered mode hides HN submissions that do not contain a matching quote
  • Comment and reply straight from the sidebar, with Hacker News' own formatting rules to hand
  • Submit the current page to Hacker News when no discussion exists yet
  • Dark mode that matches the page, so it works with Dark Reader and site themes
  • Greyed-out button on pages with no discussion, or hidden entirely if you prefer
  • Stays out of the way on webmail, banking, auth flows, consoles, and local addresses
  • Vote on stories and comments without leaving the article
  • Tracks stories opened from Hacker News
  • Resizable sidebar with saved width
  • Draggable floating HN button with remembered desktop position
  • Collapsible comment threads with saved state
  • Highlights new comments since your last visit
  • Shows story text when available
  • Marks original poster comments
  • Blended view when multiple matching HN submissions exist
  • Sidebar settings for annotation layers and automatic opening behavior

Requirements

  • A browser with userscript support
  • Access to:
    • Hacker News API
    • HN Algolia search API

License

MIT

About

A lightweight userscript that adds Hacker News discussions to any previously submitted article.

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages