Skip to content

About

Static browser-only Revenue Leak Roast offer teardown tool

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revenue Leak Roast

Paste-only browser MVP for finding weak spots in offer, pricing, CTA, proof, and objection handling.

Positioning: "Paste your offer. Get a painfully specific Revenue Leak Score. Fix the leaks before you buy ads."

Scope

  • Static files only.
  • No backend, auth, database, analytics, crawler, screenshot service, AI runtime, or payment runtime.
  • No storage for pasted text: no localStorage, sessionStorage, IndexedDB, cookies, or remote persistence.
  • No new dependencies.

Files

  • index.html - app shell.
  • src/app.js - UI state, demo presets, and button handlers.
  • src/scoring.js - scoring, report generation, and submission normalization.
  • src/landing-page-parser.js - deterministic whole-page paste inference.
  • src/phrase-bank.js - curated leak bullets and roast one-liners.
  • src/demo-presets.js - demo examples.
  • src/card.js - native Canvas card renderer and PNG download.
  • src/styles.css - responsive app styling.
  • tests/scoring.test.mjs - scoring and report contract tests.
  • tests/static-contract.test.mjs - no-storage, no-network, static HTML contract tests.

Run Tests

node --test tests/scoring.test.mjs tests/static-contract.test.mjs

Local Preview

Use any static server from this folder. Do not install a package just to preview.

python -m http.server 4177

Then open:

http://127.0.0.1:4177

About

Static browser-only Revenue Leak Roast offer teardown tool

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages