Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

🌐 GEO Audit Tool

A web app that audits any URL for on-page SEO and Generative Engine Optimization (GEO) signals β€” the things that help both search engines and AI answer engines (ChatGPT, Perplexity, etc.) understand a page.

Paste a URL, get a 0–100 score plus a breakdown of pass / warn / fail checks.

Checks

  • Title tag β€” present, 15–65 chars
  • Meta description β€” present, 50–165 chars
  • H1 heading β€” exactly one
  • Structured data (JSON-LD) β€” schema.org markup (key GEO signal)
  • Canonical URL
  • Open Graph tags β€” og:title / og:description / og:image
  • Twitter card
  • Mobile viewport
  • HTML lang attribute
  • Image alt text coverage
  • Content depth β€” rough word count
  • Indexability β€” no noindex
  • HTTPS

Architecture

Rendering mermaid diagram...

Files

FilePurpose
main.tsxHTTP entrypoint (Hono): serves the UI, the /api/audit endpoint, and /source
audit.tsCore audit logic β€” fetches a URL, parses the HTML, returns scored checks
client.tsxReact frontend (Twind for styling)
index.htmlHTML shell

API

POST /api/audit
{ "url": "example.com" }

Returns the full AuditResult JSON (score, checks, and extracted metadata).