Skip to content
AddHunt
Chrome extensions

Hacker Smacker

Friend and foe markers for Hacker News commenters

Works with Chrome, Edge, Firefox, SafariOpen source

  • Open source

In short

Hacker Smacker is an open-source browser extension that adds friend and foe markers next to commenter names on Hacker News and highlights friends of friends. It is for regular Hacker News readers who want to skim long threads for the people they like to read.

What you get

  • Friend, neutral and foe orbs beside every author
  • Friend-of-a-friend and foe-of-a-friend highlights
  • Extensions for Chrome, Edge, Firefox and Safari
  • Manual install packages for each browser
  • Optional self-hosted Node.js and Redis server

The details

Hacker Smacker places three small orbs beside each author name on Hacker News. Clicking them marks a commenter as a friend, a foe or neutral, and the marker follows that person across every thread.

Friend of a friend

The extension goes a step past a personal list. When people marked as friends also run Hacker Smacker, their own friends and foes show up too, labelled as friend of a friend or foe of a friend. The idea, taken from Slashdot's friend/foe system, is that well-chosen friends help surface more comments worth reading, so a long thread can be scanned quickly.

How it is built

The project has two parts: the extension, which runs on Hacker News pages and reports choices, and a server built on Node.js, Express and Redis that stores relationships and works out the friend-of-a-friend links. Most readers only need the extension. Running a private server is possible, though the author does not support it.

The author built it partly to learn how friend-of-a-friend graphs work and later reused the approach for the social layer of NewsBlur, an RSS reader. The code is published on GitHub.

Installation

It is offered for Chrome and Edge, Firefox and Safari through their stores, and as manual downloads for each browser.

Alternatives to Hacker Smacker

All alternatives

Questions

What does friend of a friend mean here?

If someone marked as a friend also uses the extension, the people they marked are highlighted as well, as friends or foes of a friend.

Is a server needed to use it?

No. The extension works with the shared server. Installing the Node.js, Express and Redis server is only for running a private version, and the author offers no help with that.

Which browsers are supported?

Chrome and Edge, Firefox and Safari, each through its extension store or a manual download.