Hey HN! This is my first development project, and I wanted to share it with you all<p>I built Reddit Anywhere because I kept manually searching Reddit for discussions about articles and videos I was reading/watching, and I wanted to automate it.<p>The extension is pretty straightforward: it adds a small Reddit icon to any webpage you're on, and when clicked, it shows relevant Reddit threads discussing that page, or searching for related or relevant topics.<p>How it works:<p>-First tries to find the exact URL match on Reddit
-If that fails, falls back to looking for discussion based on the page title and domain
-For YouTube videos, it extracts the video title and channel name to find more relevant threads
-Everything runs in browser<p>Technically
-Built with vanilla JS
-Uses Chrome storage API
-Implemented Reddit's 0Auth through Chrome identity API
-Basic caching to avoid hammering Reddit's API<p>Some challenges
-Reddit's API limits were a pain, so I implemented exponential backoff
-I'm still struggling with getting the Reddit icon to display on ALL websites, on some sites it's not viewable<p>This is a completely free and has no tracking, any feedback is appreciated!