Show HN: Bring-your-own-key browser extension for summarizing HN posts with LLMs (github.com)
Hi Hacker News,
I developed an open source browser extension for summarizing Hacker News articles with OpenAI and Anthropic LLMs. It currently supports Chrome [1] and Firefox [2] (desktop).
The extension adds the summarize buttons to the HN front page and article pages.
It is bring-your-own-key, i.e. there's no back end behind it and the usage is free, you insert your API key and pay only for tokens to your LLM provider.
[1] https://chromewebstore.google.com/detail/hacker-news-tldr/oo...
[2] https://addons.mozilla.org/ru/firefox/addon/hacker-news-tl-d...
32 comments
[ 2.7 ms ] story [ 85.2 ms ] threadThere is also (or at least used to be?) an OpenAI compatible API layer for Ollama so that may be an option as well, though my understanding is there are some downsides to using that.
Note: This comment and the link are just meant as references/conveniences, not intended as a request for free labor. Thanks for opening up the code!
I tried to build something like this a few years back [0], I thought it was a great idea, but LLMs were not available yet, and I was busy with a hundred other things.
You can see an example of the summary there.
[0]: https://github.com/simonebrunozzi/MNMN
Arc browser lets you hover over a link to show a card that summarizes the article.
With Claude Projects, I'm able to quickly build an Arc "Boost" User Script for any site, so I have one to export the HN homepage to JSON to import into an LLM. And I have one on comment pages to do the same. I have a userscript to remove pagination so I can infinitely scroll and then export.
Ad I have a Claude Project specifically for identifying/categorizing comment threads by the patterns of knowledge crystallization etc. It's been fascinating so far.
While it is possible, such a service would require advertisements, a (probably monthly) fee, or a benevolent patron to pay for the costs.
With this, the only necessary benevolence is the creator of the extension.
the summarization is where the cost is and it would be cool to have some crowdsourced contributor model there.
smells like a cool crypto/ai crossover project in the making (or maybe drop the crypto and have upvote-driven "moderation").
1. The current bring-your-own-key.
2. A central summary storage, filled by me.
3. A central summary storage, crowdsourced.
4. A paid subscription, where I effectively run some LLM proxy.
I wanted something low overhead and be just the right size for yet another weekend project which I could drop at any moment. Supporting some infrastructure, having moderation headaches, let alone receiving payments ruled out pretty much everything but the current approach.