{"repo":"jstrieb/hackernews-button","free":true,"listed":false,"github":"https://github.com/jstrieb/hackernews-button","clone":"git clone https://github.com/jstrieb/hackernews-button.git","description":"Privacy-preserving Firefox extension linking to Hacker News discussion; built with Bloom filters and WebAssembly","language":"C","stars":103,"topics":["bloom-filters","hacker-news","algolia-search","privacy","browser-extension","firefox-addon","firefox-extension","bloom-filter","github-actions","hn"],"license":"GPL-3.0","category":"workflow-automation","readme_excerpt":"Hacker News Discussion Button Firefox extension that links to the Hacker News discussion for the current page and preserves privacy with Bloom filters. Quick start Install the browser extension from one of the following sources: - Download from the Mozilla Add-on website - Download from GitHub --- The extension will light up bright orange when the current page has previously been posted to Hacker News. - Clicking the extension will open the Hacker News discussion. - Clicking the extension with the scroll wheel will open the discussion in a new tab. - Clicking while holding Ctrl or Shift will open the discussion in a new tab or window, respectively. There are also keyboard shortcuts. - Alt + Y opens the Hacker News discussion in the current page - Ctrl + Shift + Y opens the discussion in a new tab. Star this project if you like it! Read the Hacker News Discussion for this project. How It Works When you visit a website, this browser extension determines whether the website has been submitted to Hacker News. A naive (but effective) way to do this is to query the very helpful Algolia Search API for Hacker News with every page visited. In fact, that's what the original version of this extension did when I wrote it over the summer of 2020! Unfortunately, there are two problems with this naive approach: you reveal every website you visit to Algolia, and you waste bandwidth and energy sending and receiving extraneous API requests. To solve this problem, this extension uses a data str","default_branch":null,"files":null,"tree":[],"storefront":"/r/jstrieb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jstrieb/hackernews-button/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}