A Chrome extension that adds sorting capabilities to Hacker News. Quickly re-order posts by points, time, or comment count with a single click or keyboard shortcut.
- Sort by Points — Find the most upvoted stories
- Sort by Time — See the newest posts first
- Sort by Comments — Discover the most discussed topics
- Restore Default — Return to HN's original ranking
- Keyboard Shortcuts — Press
P,T,C, orDto sort instantly - Persistent Preference — Your last sort choice is remembered across sessions
- Visual Highlighting — Active sort column is highlighted for clarity
- Vimium Compatible — Shortcuts auto-disable if Vimium or similar extensions are detected
git clone git://github.com/svyatov/hacker_news_sorted.git
cd hacker_news_sorted
bun install
bun devThen load the extension in Chrome: go to chrome://extensions, enable "Developer mode", click "Load unpacked", and select the build/chrome-mv3-dev folder.
Found a bug or have a suggestion? Open an issue.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Make your changes and run tests (
bun run test) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request