tonis.dev
All writing
Writing

Filtering Reddit search noise for market research with bmux bookmarks

The live bmux Reddit search filter overlay, with minimum score and comments set to two, both thresholds required, and duplicate filtering enabled.

Introduction

I use Reddit for outreach and market research. I look for people who describe a problem, ask for a tool, or try to validate an idea. Those posts tell me what people struggle with, and the people who wrote them are the ones I might talk to.

Reddit search finds those posts, but most of what comes back isn't worth reading. Many results are promotion, low-effort questions, or posts nobody replied to. The same question often shows up more than once when it's cross-posted to several subreddits. Reddit has no setting for "at least two comments" or "show each post once." I used to scroll past all of it by hand.

So I added bookmark plugins to bmux, the browser I work in. A saved Reddit search can now carry a minimum score, a minimum comment count, and duplicate rules. When I open the bookmark, the filter runs on the page. This article covers the searches, what the filter removes, and how it's built.

The searches

I keep eight saved searches in one bookmark folder:

Bookmark Query
Indie building and bootstrapping "indie hacker", "bootstrapped", "build in public"
Finding business or startup ideas "business idea", "startup idea"
Validating an idea or finding customers "validate my idea", "idea validation", "customer discovery"
Micro SaaS ideas "micro saas", "saas idea"
Manual workflows and workarounds "manual workflow", "doing this manually", "manual process"
People looking for a tool "looking for a tool", "wish there was an app", "is there an app"
Side hustles and online businesses "side hustle", "online business"
Customer pain points "pain point", "struggling with", "frustrated by"

All eight ask for posts sorted by new from the past day. That keeps the list current, so I can reply while a thread is still active. It also means most results are too new or too thin to have any replies.

The query, sort order, and time range are URL parameters. Reddit supports those, and bmux already lets me edit them on a saved bookmark. Engagement and duplicates are the gap. Reddit's server doesn't filter on them, so the filter has to work on the page after it loads.

What the filter removes

I opened all eight searches on October 13, scrolled each one four times, and counted the loaded results with the filter's own parsing code. The settings were the defaults: at least two points and two comments, plus all three duplicate rules.

Search Loaded Shown
Indie building 48 14
Business ideas 32 10
Validation 32 8
Micro SaaS 28 7
Manual work 35 15
Tool requests 34 13
Side hustles 33 7
Pain points 35 6
Total 277 80

That's 80 posts to read instead of 277. Of the 197 hidden, 195 fell below a threshold and 2 were duplicates. The low ones are mostly questions with zero or one reply, like a request for resume feedback with no comments, or a news digest with one vote.

Duplicates were rare that day, and both came from the tool requests search. One question about an app for planning social media content showed up three times. The threshold hid one copy with zero points, a second copy stayed, and the third was hidden as a duplicate title. A request for a Claude Code plugin appeared twice, and only the first copy is shown.

Reddit search results for indie hacker, bootstrapped, and build in public, sorted by new. Every visible post has at least two votes and two comments. The bmux Reddit search filter overlay is enabled in the top right.
The indie building search with the filter on, captured in bmux on October 13. Every visible post has at least two votes and two comments. The left navigation is cropped out.

The filter doesn't make the queries better. The pain points search still shows a post about feline asthma, and the manual workflows search shows a Bitcoin thread with 70 votes. Engagement is a rough proxy, too. Two comments don't mean a post describes real demand, and a fresh post with no replies can still be the right one to answer. On a "new, past day" search, the thresholds trade some freshness for a shorter list. The overlay has an off switch, and turning it off shows everything again.

How it works

A bookmark in bmux now holds two separate inputs. The URL parameters go to Reddit and decide which results come back. The plugin settings stay in bmux and decide which loaded results I see.

A saved bookmark, keyed by profile and bookmark ID, holds URL parameters and plugin settings. The URL parameters go to the website, which chooses results to return. The plugin settings go to an isolated script in the pane opened from the bookmark, which filters the loaded results and restores them on cleanup.
The URL parameters control what Reddit returns. The plugin settings control what the pane shows.

The pieces:

  • Plugin. bmux.reddit-search ships with bmux and starts disabled. Its manifest declares the Reddit URLs it matches, a script, and its controls: two numbers, a choice, and three booleans. bmux validates saved values against those controls before passing them to the script.
  • Attachment. Plugin settings live in their own file, keyed by profile and bookmark ID. Renaming the bookmark or editing its query keeps the filter settings. In my setup, only the indie building search has the filter attached so far.
  • Pane binding. Opening the bookmark records which bookmark the pane came from. That survives reloads and browser restores. Opening a link in a new pane doesn't copy it, so an unrelated Reddit page doesn't get filtered. The URL patterns are a second check.
  • Script. It runs in an isolated JavaScript world in the pane. It can read and change the page, but it gets no Node, bmux host, or Chrome extension APIs, and Reddit's own scripts can't reach it. It's still code I have to trust, since it decides what I see.
  • Overlay. bmux draws the on/off toggle and settings panel, so any bookmark plugin gets them without building its own. Changes are checked against the current pane's attachment, so a page can't edit another bookmark's settings.

Reddit loads more results as you scroll, so a single pass at page load isn't enough. The script uses a MutationObserver to catch new posts and updated counts, waits 50 ms, and runs another pass. It disconnects the observer during the pass so its own changes don't trigger more passes. Before hiding a post, it saves the original inline display value. Cleanup puts those values back, so turning the filter off leaves the page as it was.

The filter rules:

  • Both minimums default to two. Setting either to zero turns it off. A choice switches between requiring both and requiring either.
  • If a count can't be read, the post stays visible instead of counting as zero.
  • Thresholds run before duplicate checks, so a hidden low-count copy doesn't hide a later copy that qualifies.
  • Duplicates match on post ID, outbound link or crosspost parent, and title. Titles ignore case and repeated whitespace but keep punctuation.
  • The filter only sees results that have loaded. It can't fetch posts Reddit hasn't returned.

Setup and options are in the bmux docs on bookmark plugins. The manifest format, script contract, and RPC calls for writing your own are in bookmark contributions. The bookmark walkthrough shows the URL parameter editor.

Reddit still decides what comes back. The filter decides what I read first, so more of my research time goes to posts where someone is actually talking.

FAQ

Does this change Reddit's search results?

Reddit still decides which results to return. The bookmark plugin hides loaded posts that fail my thresholds or duplicate rules. It can't inspect posts the page hasn't loaded.

Can I turn the filter off without reloading?

Yes. The overlay has an off switch. The script saves each post's original display value before hiding it and restores those values during cleanup.

Do the engagement thresholds identify real demand?

They help shorten the reading list. A post with two comments can still be irrelevant, while a fresh question with no replies can be useful. I turn the filter off when I want to see those quieter posts too.