Smart choice using Groq's free tier with LLaMA 3 - the speed is hard to beat for real-time summarization. Using Mozilla Readability for extraction is solid too, it handles messy article HTML surprisingly well. Curious - how do you handle pages where Readability fails to extract cleanly, like single-page apps or paywalled content? Also, DOMPurify for sanitization is a nice touch for security. 36 customization combos is a lot of flexibility without overcomplicating the UX.
3 comments
[ 2.9 ms ] story [ 27.3 ms ] threadThe problem: I kept copying articles into ChatGPT to get summaries. Dozens of times a day. It felt like a workflow that should not exist.
The solution: Click an icon, get a summary. No copy-paste, no tab switching, no subscription.
Tech stack: - Chrome Extension Manifest V3 - Vanilla JS (no frameworks) - Groq API (free tier, LLaMA 3) - Mozilla Readability for article extraction - DOMPurify for sanitization
It has 36 customization combinations (4 tones x 3 lengths x 3 focus areas), smart caching, and costs nothing to run.
Chrome Web Store: https://chromewebstore.google.com/detail/tldr-article-summar... GitHub: https://github.com/wesleysmyth/TLDR-extension
Happy to discuss the technical decisions or answer questions.