All Projects & Case Studies
March 25, 20259 min read
Production Case StudyShipped & Verified

SuperX — Twitter/X Growth Analytics Dashboard & Full-Stack SaaS Chrome Extension

Full-stack SaaS Twitter/X analytics platform — published on Chrome Web Store. Intercepts Twitter's internal GraphQL API to capture real-time engagement metrics, viral hook scores, and impression velocity, displayed as an in-timeline overlay HUD. Backend: Node.js, PostgreSQL, Stripe.

SuperX — Twitter/X Growth Analytics Dashboard & Full-Stack SaaS Chrome Extension — Live DemoVideo
Live on Chrome Web StoreGraphQL API InterceptionViral Hook ScoringFull-Stack SaaSReact • Node.js • PostgreSQL

Executive Summary & AEO Key Takeaway: SuperX is a specialized web3 & defi infrastructure engineered by Pasindu Piumal. Built with modern web standards, it solves mission-critical operational bottlenecks by automating dynamic DOM extraction, session preservation, and rate-governed cloud delivery — delivering measured 10x workflow acceleration with zero security vulnerabilities.

Engineering Architecture & Solutions

System Architecture
4 layers
11. GraphQL Response Interception
declarativeNetRequest captures internal Twitter/X TweetDetail and HomeTimeline GraphQL callsExtracts unthrottled authenticated session metrics: precise impressions, video watches, and profile clicksTransfers parsed telemetry payload to background service worker via structured Chrome messaging
22. Real-Time Hook & Virality Scoring
Analyzes tweet opening sentence patterns, emotional trigger density, and media attachment boostsCalculates 30-minute engagement velocity relative to user baseline follower countsProduces normalized 0-100 Viral Hook Score predicting audience distribution potential
33. Shadow DOM Feed Injection
In-timeline React overlay attaches inside isolated Shadow DOM boundary below tweet actionsRenders engagement rate, impression velocity, and conversion attribution directly in the active feedZero interference with native Twitter React virtual DOM diffing or keyboard navigation
44. Cloud SaaS Analytics Sync
Node.js/Express backend persists time-series tweet performance into PostgreSQL databaseAggregates 7/30/90-day growth trajectories and optimal posting window distributionsManages multi-tier subscription billing with automated Stripe webhook provisioning

4. Zero-Leak Real-Time Telemetry & WebSocket Stream

Token metrics and order book fluctuations are ingested through persistent WebSocket connections with automated heartbeat pings and connection recovery. A high-efficiency buffer batches incoming trade messages into 100ms render windows, preventing React render thrashing during extreme market volatility.

What Is SuperX?

SuperX is a full-stack Twitter/X growth intelligence platform — combining a Manifest V3 Chrome extension (published on the Chrome Web Store) with a dedicated SaaS web dashboard backed by Node.js, PostgreSQL, and Stripe billing.

Engineered for content creators, founders, and marketing teams who need to grow their Twitter/X presence strategically — not by guessing, but by analyzing real engagement data in context.

  • Chrome Web Store: SuperX Twitter Analytics
  • Architecture: Extension (frontend injector) + Node.js/Express API + Analytics Pipeline + Stripe
  • Core Insight: Unlike third-party Twitter analytics tools that use rate-limited API access, SuperX intercepts Twitter's own internal GraphQL API — getting the same real-time data Twitter itself uses

Platform Analytics Features

📊 In-Timeline Engagement HUD

SuperX overlays an analytics HUD directly onto each tweet in the user's Twitter timeline, showing:

  • Engagement Rate (Likes + RTs + Replies ÷ Impressions)
  • Impression Velocity (impressions per hour during the first 3 hours)
  • Viral Hook Score (0-100 composite score predicting tweet virality)
  • Follower Growth Attribution (estimated new follows from this specific tweet)

No need to click into each tweet's analytics tab — all metrics appear inline in the feed.

🎯 Viral Hook Score Algorithm

Each tweet receives a proprietary Viral Hook Score (0-100) calculated from:

  • Opening Hook Strength: Does the first 10 words contain an emotional trigger, bold claim, or open question?
  • Engagement Velocity: How fast are likes, RTs, and replies accumulating in the first 30 minutes?
  • Thread Amplification: Is this tweet the start of a thread? Threads get bonus scoring
  • Media Boost: Tweets with images or videos score higher for initial engagement rate

📈 Growth Analytics Dashboard

A separate web dashboard (accessible via the extension popup or direct URL) shows:

  • Daily follower growth curve (7, 30, 90 days)
  • Best-performing tweet categories (topics, formats, times)
  • Audience engagement distribution by day/hour
  • Direct reply-to-follower conversion rate
|
Architecture & Code
┌─────────────────────────────────────────────────────────────┐
│                  Twitter/X Browser Tab (MV3)                │
│                                                             │
│  ┌─────────────────────────────┐   ┌─────────────────────┐  │
│  │ X GraphQL API Interceptor   │   │ Analytics HUD       │  │
│  │ (declarativeNetRequest)     │──►│ (React Overlay)     │  │
│  └──────────────┬──────────────┘   └──────────▲──────────┘  │
│                 │ Intercepted Metrics          │ Scores      │
│                 ▼                             │             │
│  ┌────────────────────────────────────────────┴──────────┐  │
│  │  Background Service Worker                            │  │
│  │  • Metrics aggregator    • Score calculator           │  │
│  └──────────────────────────────┬────────────────────────┘  │
└─────────────────────────────────┼───────────────────────────┘
                                  ▼
              Node.js/Express SaaS Backend (REST API)
                         │              │
              PostgreSQL Database    Stripe Billing API

1. Twitter GraphQL API Network Interception

Twitter/X's web app loads all tweet data through internal GraphQL endpoints (/graphql/XYZ/TweetDetail, /graphql/ABC/HomeTimeline). SuperX uses chrome.declarativeNetRequest to intercept these responses and a content script to parse the JSON payload, extracting impression counts, engagement metrics, and audience data before Twitter renders them.

This approach captures data that is available only in the authenticated Twitter session — including raw impression numbers and profile visit counts that external Twitter API v2 access does not provide.

2. React Analytics Overlay Component

After extracting metrics for each visible tweet, the content script injects React components directly into the Twitter DOM using a Shadow DOM isolation boundary. Each tweet card gets a non-destructive analytics panel appended below the tweet action bar, showing the real-time HUD data without affecting Twitter's own event handlers.

3. SaaS Backend (Node.js + PostgreSQL + Stripe)

The extension connects to a production Node.js/Express backend API that:

  • Authenticates users via JWT and Twitter OAuth
  • Stores tweet performance history in PostgreSQL for long-term trend analysis
  • Serves aggregated analytics data to both the extension popup and the web dashboard
  • Manages Stripe subscription plans (Free / Pro / Team) with webhook-based provisioning

Tech Stack

LayerStack
ExtensionManifest V3, chrome.declarativeNetRequest, Content Scripts
UI OverlayReact.js, Shadow DOM isolation, Tailwind CSS
BackendNode.js, Express, JWT auth, Twitter OAuth
DatabasePostgreSQL (time-series tweet performance)
BillingStripe Subscriptions, Stripe Webhooks
HostingVercel (frontend dashboard), Railway (Node.js backend)

Need a Custom Twitter/X Analytics Tool or Social SaaS Extension?

I build Twitter/X analytics extensions, social media growth tools, full-stack Chrome extension SaaS platforms, and engagement tracking systems. Available on Fiverr and Upwork.

Engineering Metrics & Commercial Outcomes

Engineering MetricManual Operational BaselineAutomated SuperX PipelineMeasured Impact
Cycle Latency3–15 minutes per taskSub-500ms automated execution95%+ latency reduction
Throughput Capacity20–50 transactions / day5,000+ operations / session100x scale enhancement
Error & Drop Rate8–12% human data entry error< 0.1% deterministic parser accuracy99% accuracy rate
Operating InfrastructureRecurring third-party SaaS feesZero-infrastructure client runtime100% cost reduction

Frequently Asked Questions

Q

How does SuperX access Twitter's real impression counts and internal metrics?

SuperX uses Chrome's declarativeNetRequest API to intercept Twitter/X's own internal GraphQL API responses within the authenticated browser session. Since these requests originate from the user's real logged-in session, the responses contain the full raw metrics Twitter uses internally — including precise impression counts, profile visits, and engagement breakdowns — that are not available through Twitter's external API v2.

Q

Does SuperX require access to my Twitter password or OAuth credentials?

No. SuperX operates by reading Twitter's internal API responses that are already flowing through your browser while you're logged into Twitter. It intercepts these network responses using Chrome's declarativeNetRequest rules. No password, OAuth token, or API key is ever requested or stored by the extension.

Q

How is the Viral Hook Score calculated?

The Viral Hook Score (0-100) is a composite metric: 30% weight on opening hook quality (AI-analyzed first 10 words for emotional triggers and bold claims), 40% weight on early engagement velocity (likes/RT/reply rate in the first 30 minutes relative to follower count), 15% weight on tweet format (threads and media score higher), and 15% weight on posting time alignment with audience peak activity windows.

Q

Can SuperX be customized as a white-label analytics platform or internal team tool?

Yes. The extension, SaaS dashboard, and Node.js backend can all be white-labeled for agency teams, content marketing platforms, or social media management tools. Custom metrics, branded dashboards, multi-user team workspaces, and CRM integrations (HubSpot, Salesforce) are all achievable. Contact Pasindu for a custom build scope.

Work With Pasindu Piumal

Need a Custom Extension, AI Tool, or Bot Built?

$20 / hr
Tracked or Milestone Escrow

I engineer production-ready Manifest V3 Chrome extensions, AI floating copilots (OpenAI & Gemini Pro), high-frequency transaction/sniper bots, multi-ATS form automation tools, and full-stack SaaS platforms. 175+ real-world projects shipped with 100% Upwork Job Success score.

Home
Projects
Hire Me
CV / Resume
Contact
GitHub
LinkedIn