shopify-speed-bloat-auditor

Free, MIT-licensed headless Chromium CLI to expose third-party app script bloat, slow DOM loads, broken images, 390px mobile horizontal overflow, and missing JSON-LD structured data on Shopify & DTC storefronts.
Built by NordForge AI Studio (Norway).
What's New in v2.0.0
- Live 167-Store Black Friday 2026 Dataset (CSV + JSON): Expanded benchmark dataset attached to Release v2.0.0 covering US, UK, CA, AU, and Nordic storefronts.
- App Bloat Cost Estimator: Estimates replaceable monthly & annual Shopify app subscription costs (
~$29/mo per detected heavy widget embed).
- Broken DOM Image Diagnostics: Prints exact sample URLs of broken DOM images (
naturalWidth === 0) directly in CLI output.
- Mobile 390px Overflow & JSON-LD Checks: Flags horizontal layout overflow at
390x844 viewport and missing application/ld+json schemas.
Quick Start
git clone https://github.com/BoluS095/shopify-speed-bloat-auditor.git
cd shopify-speed-bloat-auditor
npm install
npx playwright install chromium
node bin/audit.mjs https://your-store.com
JSON output for CI / automated monitoring:
node bin/audit.mjs https://your-store.com --json
Sample CLI Output
$ node bin/audit.mjs https://example-store.myshopify.com
Auditing https://example-store.myshopify.com (Playwright Chromium, 390x844 mobile + desktop)...
[Performance & Script Bloat]
DOMContentLoaded : 2,410 ms
External Scripts : 41 third-party <script> tags
Heavy App Embeds : 6 detected (~$174/mo / ~$2,088/yr replaceable app spend)
[Layout, Media & Structured Data]
390px Overflow : PASS (scrollWidth 390 <= clientWidth 390)
Broken Images : 2 broken DOM images (naturalWidth === 0)
-> https://cdn.shopify.com/s/files/1/.../hero-banner-old.webp
-> https://cdn.shopify.com/s/files/1/.../badge-trust.png
JSON-LD Schemas : 1 detected (Organization) — missing Product / WebSite schema
Audit complete. Run with --json for machine-readable CI output.
Real Live Store Benchmark Findings
We ran this exact headless Chromium audit across live US, Canadian, UK, Australian, and Nordic e-commerce brands ahead of Black Friday 2026 (inspect the live benchmark report):
- Average external
<script> tags loaded per homepage: 44.2 (64% load 35+ external scripts)
- Average
DOMContentLoaded timing: 2,422 ms
- Zero
application/ld+json structured data schemas: 26% of audited storefronts
- Broken DOM images (
naturalWidth === 0): 17% of audited storefronts
License
MIT — use freely on personal, brand, and client storefronts.