GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sinhaankur/brainrot: See the bias in what you consume. Mirrors your social feed's algorithmic bias, and reads any news article for framing + one-sidedness. On-device, private — deterministic, nothing leaves your browser.

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
graph
graph
 
 
icons
icons
 
 
popup
popup
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
AUDIT.md
AUDIT.md
 
 
README.md
README.md
 
 
manifest.json
manifest.json
 
 
package.json
package.json
 
 

Repository files navigation

BrainRot — see your feed's bias

A browser extension that scans the sentiment of what you scroll and mirrors the algorithm's bias back to you. It reads each post/video on your feed, scores its sentiment, emotion, topic, and the manipulation techniques it uses, then reflects the pattern: this is who the algorithm has decided you are, and this is how it's keeping you here.

Reverse Bias — the feed's bias is invisible by design. BrainRot makes it visible.

The sentiment engine is a native, dependency-free VADER-style scorer (Hutto & Gilbert, ICWSM-14): a valence lexicon plus the rules that matter for social text — negation ("not good" → negative), booster words (very, extremely), ALL-CAPS emphasis, !!! amplification, and the "but"-clause dominance rule. The method is public; the implementation and lexicon are our own (no external data files, no license encumbrance).

Everything runs on-device. Nothing leaves your browser — no accounts, no servers, no tracking. The analysis is a deterministic lexicon engine (fast, private, explainable).

Feeling vs. fact

BrainRot reads how content feels — but a rage-bait post and a calm, false claim are different problems. So it also separates how it makes you feel from what it's asserting: each post is flagged as an emotional take, a factual claim (and whether that claim is backed by a source or a bare, unbacked assertion), or opinion-dressed-as-fact. It reads FORM, never truth — it can't verify facts on-device, and says so. The feed view rolls it up: what share of your feed is feeling vs. checkable claim, and how many of those claims actually cite anything.

The four lenses

  • Mirror — what the algorithm thinks you are (top topics, emotional lean, echo-chamber tightness).
  • Detector — tags each post in place with the manipulation technique it uses (rage-bait, doomscroll, FOMO, envy-bait, us-vs-them, cliffhanger, …).
  • Antidote — suggests balancing counter-content to break the echo chamber.
  • Analyzer — a quick read on how engineered your feed is (hook %, mood, echo).

Supported feeds

X / Twitter, Instagram, TikTok, YouTube, Reddit, Facebook — with a generic fallback for any page.

Install (unpacked, for testing)

Chrome / Edge / Brave / Opera

  1. chrome://extensions → enable Developer mode
  2. Load unpacked → select this folder
  3. Open a feed, scroll a bit, click the BrainRot icon → Scan this feed

Firefox

  1. about:debugging#/runtime/this-firefox
  2. Load Temporary Add-on → select manifest.json

Architecture

manifest.json      MV3, cross-browser (Chromium + Firefox via gecko settings)
src/engine.js      the analysis core — sentiment/emotion/topic/manipulation + the Mirror roll-up
src/scrape.js      reads post text off the page DOM (per-platform selectors + generic fallback)
src/content.js     runs on the feed: analyzes + paints on-page badges + answers the popup
src/overlay.css    the on-page badge styling (the Detector overlay)
popup/             the popup UI — the four lenses
src/kb.js          the knowledge base — accumulates a linked graph of what you read
graph/             the Obsidian-style consumption graph (force-directed, click to inspect)

The engine mirrors lib/brainrot.ts in the portfolio repo (shared brain, two front-ends).

Motive & cognitive-bias read

Other tools rate the outlet's bias ("this source leans left"). BrainRot's lane is the recommender's motive toward you, and the cognitive biases it exploits to hold you there:

  • Motive — what the feed appears to be optimizing for (e.g. engagement by keeping you agitated, anchored on politics, using outrage).
  • Agenda — bias is the lean of the content; agenda is the intent of the serving. BrainRot infers the serving pattern (narrowing · provocation · retention) and says plainly that it's inferred from your feed, not the platform's stated intent.
  • Biases it exploits — confirmation bias, echo chamber, negativity bias, in-group / us-vs-them, novelty & FOMO, social-proof / envy — each named with the signal in your feed that suggests it.

Two modes

BrainRot auto-detects what you're on when you open it:

  • 📱 Feed mode (X, Instagram, TikTok, YouTube, Reddit, Facebook) — mirrors the algorithm's bias across everything you're scrolling.
  • 📰 Article mode (any news / opinion page) — reads that single piece for framing: an editorializing score, a one-sidedness read (loaded language vs. attribution / balance markers), headline-bait flags, and the manipulation techniques in play. Toggle Highlight charged passages to mark the loaded paragraphs in place, right on the article — hover any highlight to see the loaded words.

Tests

The deterministic engine is covered by a zero-dependency test suite (Node's built-in runner) — sentiment rules (negation, boosters, caps, punctuation, "but"-clause), feed profiling, motive/bias inference, topic classification, and article framing:

npm test        # or: node --test "test/*.test.mjs"

CI runs them on every push + PR. The live DOM scrapers need a browser and aren't unit-covered.

Roadmap

  • Ship to the Chrome Web Store + Firefox AMO.
  • Optional on-device tiny LLM (WebLLM) for a deeper per-post read on top of the deterministic core.
  • ✅ Article mode — single-article framing + one-sidedness read (above).
  • ✅ Knowledge graph — every scan folds into a local, linked graph of your topics/emotions/biases (Obsidian-style). Open it from the popup ("Your graph"). Export / Import: your data is yours — download the whole graph as JSON (back it up, move browsers, inspect it) and restore it later.
  • ✅ Wrapped report — a Spotify-Wrapped-style narrative of your consumption over time: totals, your biggest cognitive-bias exposure, the emotions the feed fed you, hook-exposure sparkline with a real date span, and a copy-to-share summary (the pattern only, never your posts). Open it from the graph tab.

Built by Ankur Sinha. Private by design.

About

See the bias in what you consume. Mirrors your social feed's algorithmic bias, and reads any news article for framing + one-sidedness. On-device, private — deterministic, nothing leaves your browser.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.