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 - vikramdurai/instagram-liked-leaderboard: Local-first Chrome extension for personal social-media interaction analytics.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
fixtures
fixtures
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
manifest.json
manifest.json
 
 
package.json
package.json
 
 

Repository files navigation

Instagram Liked Leaderboard

Local-first Chrome extension for analyzing personal Instagram liked-media interaction patterns.

The extension learns browser request shapes at runtime, stores normalized interaction records in IndexedDB, and renders a local dashboard from observed changes over weekly cohorts. It is designed as a personal data-analysis tool, not a hosted service.

What It Does

  • Runs as a Chrome Manifest V3 extension.
  • Learns the shape of relevant browser requests during normal logged-in use.
  • Collects recently liked media into local IndexedDB storage.
  • Baselines newly discovered reels and groups clean candidates into weekly cohorts.
  • Rechecks unevaluated cohorts and records interval-based interaction changes.
  • Renders a local dashboard with cohort stats and a taste leaderboard.

What It Does Not Do

  • It does not store credentials, cookies, CSRF tokens, or session IDs in source code.
  • It does not upload local data to a backend.
  • It does not include real captured payloads in this public version.
  • It does not provide exact per-person interaction timestamps.
  • It should not be used for harassment, surveillance, or attempts to bypass platform protections.

Architecture

Instagram tab
  -> content script observes page context
  -> injected script learns relevant request shapes
  -> background worker schedules local sync
  -> parsers normalize response data
  -> IndexedDB stores media, user, event, and run records
  -> dashboard renders local analytics

Main files:

  • src/injected.js observes relevant request shapes in the page context.
  • src/content.js bridges extension messages and page-context fetches.
  • src/background.js handles request capture, alarms, and dashboard messages.
  • src/sync.js runs daily collection and weekly cohort evaluation.
  • src/parsers.js normalizes response data.
  • src/db.js manages IndexedDB records and dashboard aggregation.
  • src/dashboard.* renders the popup dashboard.

See docs/architecture.md for more detail.

Privacy Model

Data stays in the browser's local extension storage. The project has no server component and no upload path for local records.

Request templates are learned from the active browser session so copied credentials or stale tokens are not stored in the repo. Raw captures, HAR files, local exports, and debug dumps are ignored by .gitignore.

The fixtures/ directory contains synthetic examples only. Do not commit real usernames, user IDs, media IDs, shortcodes, captions, comments, cookies, CSRF tokens, session IDs, request signatures, or device identifiers.

See docs/privacy.md for the repository privacy rules.

Install Locally

  1. Open chrome://extensions.
  2. Enable Developer mode.
  3. Click Load unpacked.
  4. Select this project directory.

Runtime Setup

Instagram's Activity Center request includes session-specific form fields. The extension learns that request instead of storing copied cookies or tokens.

  1. Log in to Instagram in Chrome.
  2. Open https://www.instagram.com/your_activity/interactions/likes/.
  3. Wait for the liked grid to load, or scroll once if it is already loaded.
  4. If the tab was open before loading the extension, refresh it once.
  5. Open the extension popup and check capture status.

The optional route-definition request provides richer reel root data, including facepile_top_likers.

  1. After loading or reloading the extension, open any Instagram reel or post while the extension is enabled.
  2. Open the popup and click Check in the Capture section.
  3. The Capture line should show both likes and route as captured.

Development

Run the syntax check:

npm run check

The public demo fixtures live in fixtures/. Private captures belong outside the repository or in ignored local folders.

Data Model

IndexedDB stores:

  • media
  • users
  • friend_likes
  • sync_runs
  • settings

Important media lifecycle fields:

  • collection_status: new, candidate, or excluded_at_baseline
  • evaluation_status: unevaluated, hit, or miss
  • cohort_week: ISO week key for the collection cohort
  • baseline_checked_at: when the first clean/excluded decision was made
  • weekly_checked_at: when the cohort candidate was evaluated

Limitations

  • Results are interval-based. The extension can observe that a signal appeared between baseline and evaluation, but it cannot know the exact interaction time.
  • Category-level visualizations need richer reel metadata than the Activity Center response currently provides.
  • Instagram response shapes can change, which may require parser updates.
  • This project is intended for local experimentation and portfolio review, not distribution as a hosted product.

Roadmap

  • Add synthetic demo mode for dashboard screenshots.
  • Expand dashboard visualizations using only local or synthetic data.
  • Add parser tests around synthetic fixtures.
  • Add optional category inference when safe metadata is available.

About

Local-first Chrome extension for personal social-media interaction analytics.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — 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.