Show HN: Submit to Hacker News | Browser Extension

1 wbnns 5 9/8/2025, 10:37:09 AM hn.wbnns.com ↗

Comments (5)

wbnns · 4h ago
Hi all, I built this browser extension as someone who reads HN daily but doesn't post much. I want to be more active and thought this would be a fun weekend side project. Would appreciate any feedback. Particularly interested in hearing about HN pain points this could be improved to address.

This extension is inspired by the 'post to HN' bookmarklet and does three main things...

1. Smart title optimization: automatically removes site names, converts "10 Ways to Build X" to "How to Build X", and follows HN's title guidelines / recommendations for best practices

2. Duplicate detection: scans 1000+ recent HN stories to find existing submissions (links to the most upvoted, canonical version if found)

3. Built-in HN guidelines: helps people like me who want to contribute, be mindful of doing it the right way

It's pure vanilla JavaScript with no external dependencies, uses HN's official Firebase API for duplicate checking, and only requests activeTab permission. Works on Chrome, Firefox, Edge, and Brave.

It's open source (MIT license) and privacy-first and the only data it accesses is your current tab's URL and title when you explicitly use it: https://github.com/wbnns/submit-to-hacker-news

You can install it by downloading from GitHub and loading the appropriate folder into your browser's developer mode. No accounts or setup required.

codingdave · 3h ago
The HN API is not efficient - it says so itself in its readme. Which means neither is this. Making 1000+ HTTP requests to dupe check feels kind of insane when all you are doing is URL comparisons.

Why not instead make a single call to: https://news.ycombinator.com/from?site=whateverdomain.com, and parse that single result?

wbnns · 3h ago
Thanks so much, I've just refactored to do exactly this, based on your comment: https://github.com/wbnns/submit-to-hacker-news/commit/1afd66...
wbnns · 3h ago