TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Reddit Anywhere – Find Reddit discussions for any webpage

2 点作者 smurfysmurf25 天前
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&#x2F;watching, and I wanted to automate it.<p>The extension is pretty straightforward: it adds a small Reddit icon to any webpage you&#x27;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&#x27;s 0Auth through Chrome identity API -Basic caching to avoid hammering Reddit&#x27;s API<p>Some challenges -Reddit&#x27;s API limits were a pain, so I implemented exponential backoff -I&#x27;m still struggling with getting the Reddit icon to display on ALL websites, on some sites it&#x27;s not viewable<p>This is a completely free and has no tracking, any feedback is appreciated!

暂无评论

暂无评论