A Chrome extension that enhances Hacker News with favicons, new/trending indicators, keyword/domain dimming, score colorization, and an unseen stories panel.
- Story dimming — dim stories by keyword or domain, with manual dim/undim toggle per story
- New story indicators — red dots fade over 30 minutes for newly seen stories
- Trend arrows — show rank changes vs previous page load
- Unseen stories panel — collapsible section showing stories you haven't seen yet
- Score/comment colorization — color intensity scales with points and comment count
- Favicons — site icons next to story titles for quick visual scanning
- Clone the repo
- Run
npm installandnpm run build - Enable developer mode under Manage Extensions
- Load Unpacked → select the
dist/folder - Go to the extension options page and set your keywords/domains for dimming
npm install # install dependencies
npm run build # one-off dev build → dist/
npm run watch # rebuild on file changesThe build uses esbuild which skips type checking for speed. Run the type checker separately:
npm run typecheck # tsc --noEmitnpm test # run once
npm run test:watch # watch modenpm run lint # check for issues
npm run lint:fix # auto-fix
npm run format # format all source files
npm run format:check # verify formattingnpm run package # minified build + zip for publishing