explaingit

overflowy/hn-comment-saver

Analysis updated 2026-05-18

1JavaScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A Firefox extension that lets you save, tag, and search Hacker News comments locally, with notes and automatic backups.

Mindmap

mindmap
  root((HN Comment Saver))
    What it does
      Save HN comments
      Tag comments
      Full text search
      Highlights and notes
    Tech stack
      JavaScript
      IndexedDB
      Firefox extension
    Use cases
      Personal comment archive
      Research reference
      Local backups
    Audience
      HN readers
      General users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Save interesting Hacker News comments so you can find them again later

USE CASE 2

Tag and organize saved comments by topic for future reference

USE CASE 3

Attach personal notes to specific passages inside a saved comment

USE CASE 4

Keep a private, local archive of HN discussions with daily backups

What is it built with?

JavaScriptIndexedDBWebExtensions API

How does it compare?

overflowy/hn-comment-saver0xmukesh/docusaurus-tutorial1tsmejp/palworld-docker-wine
Stars111
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-12-27
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/52/54/5
Audiencegeneraldeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

HN Comment Saver is a Firefox extension for people who read Hacker News and want to keep track of comments worth remembering. It adds a save link to every comment header on HN pages, threads, item pages, permalinks, and the new comments feed. Click it once to save a comment, click again to remove it. A toolbar button opens a manager where all saved comments live. The manager includes a proper search box. You can search by plain words with prefix and typo tolerance, or use exact phrase matching with quotes. There are also targeted filters: search by tag, by author, within a thread title, within your own notes, or within the comment body only. Results are ranked by relevance and matches get highlighted in place, including highlights inside your notes. You can select any text inside a saved comment and attach a note to it. The selected passage gets a dashed underline, and the note appears in a list below the comment with options to edit or delete it. Comments can also be tagged with comma separated labels for organizing your collection later. Everything is stored locally in the browser using IndexedDB. Comment content is compressed to save space and only decompressed when you view or export it, while a small plain text copy stays available for fast searching. The extension automatically writes a backup file to your Downloads folder once a day, keeping one file per day of the week so backups never pile up endlessly. You can also trigger a manual backup, and any backup file can be re-imported later. Importing a file merges new comments and tags with what you already have rather than overwriting anything. The extension makes no network requests of its own and only runs on the Hacker News website, so nothing you save leaves your machine. It is released under the MIT license. Installation is done through the Firefox add-ons store.

Copy-paste prompts

Prompt 1
Walk me through installing the HN Comment Saver Firefox extension and saving my first comment
Prompt 2
Explain the search syntax in HN Comment Saver, including tag, author, and exact phrase searches
Prompt 3
Show me how to add a highlight and a note to a saved Hacker News comment
Prompt 4
How do I export my saved comments and re-import them on another computer

Frequently asked questions

What is hn-comment-saver?

A Firefox extension that lets you save, tag, and search Hacker News comments locally, with notes and automatic backups.

What language is hn-comment-saver written in?

Mainly JavaScript. The stack also includes JavaScript, IndexedDB, WebExtensions API.

What license does hn-comment-saver use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is hn-comment-saver to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is hn-comment-saver for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.