Hey r/artificial — launching today and thought this community would appreciate
the technical details more than most.
ReFind is a Chrome extension that right-click-summarizes any link. Launching on PH: https://www.producthunt.com/products/refind-2
Technical implementation (for those who want it):
YouTube summarization:
- Fetch transcript via YouTube Data API v3 (captions endpoint)
- Full transcript passed to Gemini 2.5 Flash Lite
- Prompt instructs: extract 3–5 key points from the spoken content,
not the title or description
- Summaries are based on what's actually SAID in the video
Article summarization:
- Content script injects into the page, extracts main body text
(strips nav, ads, sidebars via heuristic selectors)
- Full article text passed to Gemini
- Same 3–5 key point format
Global cache:
- Before any Gemini call: check url_cache table in Supabase
- Cache key: normalized URL
- Hit: return cached summary instantly (~200ms)
- Miss: call Gemini, cache result, return to user (~4 seconds)
Credit economy:
- Articles: 1 credit (low token count)
- Short YouTube (<10 min): 5 credits \- Long YouTube (>10 min): 10 credits
- Cached hits: 0 credits (free)
Stack: Chrome Extension MV3 + React + Vite + Supabase + Vercel + Gemini 2.5 Flash Lite
Happy to go deep on any technical aspect.
Free for a month: refindlink.com/extension
[link] [comments]