geodaddy-cli
FORKreleasev0.8.0forked from borabiricik/geodaddy-cli
No description
README Snapshot
geodaddy

Open-source GEO (Generative Engine Optimization) analysis tool. Analyzes websites to help your content rank in AI-powered search engines — ChatGPT, Perplexity, Google AI Overviews, and similar generative engines.
- Runs completely locally — no accounts, no API keys, no cloud
- Outputs machine-readable JSON for CI/CD pipelines
- Gives actionable fix recommendations, not just scores
- Ships as a single binary — no runtime dependencies
Table of Contents
- Installation
- Quick Start
- Usage
- Compare (Competitor Analysis)
- Scoring
- Checks Reference
- JSON Report Schema
- CI/CD Integration
- MCP Server (AI Tool Integration)
- Contributing
- License
Installation
macOS / Linux (one-liner)
curl -fsSL https://raw.githubusercontent.com/borabiricik/geodaddy-cli/main/install.sh | sh
Works on macOS (Intel & Apple Silicon), Linux (x86_64 & arm64), and WSL.
Windows (PowerShell)
irm https://raw.githubusercontent.com/borabiricik/geodaddy-cli/main/install.ps1 | iex
Windows (CMD)
curl -fsSL https://raw.githubusercontent.com/borabiricik/geodaddy-cli/main/install.cmd -o install.cmd && install.cmd
From source (requires Rust 1.83+)
git clone https://github.com/borabiricik/geodaddy-cli.git
cd geodaddy-cli
cargo build --release
sudo cp target/release/geodaddy /usr/local/bin/
Verify installation
geodaddy --version
Quick Start
Analyze a single URL and print a human-readable report:
geodaddy https://example.com --beauty
Get a machine-readable JSON report:
geodaddy https://example.com
Crawl an entire site (up to 50 pages):
geodaddy https://example.com --max-pages 50 --beauty
Compare your site against competitors side-by-side:
geodaddy compare https://mysite.com https://rival.com --beauty
Usage
geodaddy <URL> [OPTIONS]
Flags & Options
| Flag | Type | Default | Description |
|---|---|---|---|
<URL> |
required | — | The URL to analyze. Supports http://localhost and http://127.0.0.1 for local dev. |
--max-pages <N> |
optional | — | Enable crawling and stop after N pages. Without this flag, only the given URL is analyzed. |
--enable-js |
boolean | false | Enable JavaScript rendering for pages detected as JS-heavy. Downloads Chromium (~150 MB) on first use. |
--vitals |
boolean | false | Measure Core Web Vitals (LCP, FCP, CLS, TTFB, TBT) via headless browser. Downloads Chromium (~150 MB) on first use. |
--beauty |
boolean | false | Output a colored, human-readable report instead of JSON. |
--fail-under <SCORE> |
optional | — | Exit with code 1 if the overall score is below this threshold (0–100). Useful for CI gates. |
Crawling Modes
Single URL mode (default — no --max-pages):
Analyzes only the URL you provide. No crawling is performed.
geodaddy https://example.com
Site-wide crawl mode (--max-pages required):
Discovers and analyzes up to N pages. Geodaddy uses a sitemap-first strategy:
- Fetches
/sitemap.xmland sorts URLs by priority (highest first) - Falls back to breadth-first search (depth 2) if no sitemap is found
- Filters out non-HTML resources (media, CSS, JS, feeds)
- Deduplicates URLs and strips fragments
- Respects
Crawl-delayfromrobots.txt(defaults to 1 second between pages)
Progress is written to stderr so the JSON report on stdout stays clean:
[3/42] https://example.com/about
[4/42] https://example.com/blog
Output Modes
JSON (default) — machine-readable, piped to stdout:
geodaddy https://example.com > report.json
Beauty mode — colored, human-readable, written to stdout:
geodaddy https://example.com --beauty
Example beauty output:
geodaddy — GEO Analysis Report
URL: https://example.com
Crawled: 2026-03-23T15:30:00Z
─────────────────────────────────────────────────
Overall Score: 75.5/100
Technical: 80.0 Content: 70.0 GEO: 65.0 Performance: N/A
━━━ Page 1/1: https://example.com/ ━━━
[PASS] tech-meta-title Title is 55 chars (optimal range 50-60)
[PASS] tech-https Page served over HTTPS with no mixed content
[WARN] geo-listicle No listicle format detected on this page
-> Consider restructuring content as a numbered list or 'Top N' format
[FAIL] tech-heading-h1 No H1 heading found
-> Add exactly one <h2> tag per page with your primary keyword
Compare (Competitor Analysis)
Analyze 2 or more URLs side-by-side to benchmark your site against competitors (or audit multiple sites you own). Runs the full GEO analysis on each target and produces a combined report with per-category winners and a per-check diff.
geodaddy compare <url1> <url2> [url3...]
Examples
# Minimum: 2 URLs. First URL is treated as "your site"; the rest are competitors.
geodaddy compare https://mysite.com https://competitor.com
# Human-readable side-by-side table
geodaddy compare --beauty https://mysite.com https://rival-a.com https://rival-b.com
# Per-target crawl budget (3 pages each) + JS rendering
geodaddy compare --max-pages 3 --enable-js \
https://mysite.com https://rival.com
# CI gate: fail (exit 1) if YOUR site falls below 80. Competitor scores are
# informational only — they do not affect the exit code.
geodaddy compare --fail-under 80 \
https://mysite.com https://rival-a.com https://rival-b.com
What You Get
- Per-site scores — overall + Technical / Content / GEO / Performance.
- Winners — the URL that scored highest in each category. Ties (scores within 0.1) resolve to
null. - Per-check diff — one row per check ID with each site's status (
pass/warn/fail/null), so you can see exactly which site wins which check. - Errors — any target that failed to analyze (unreachable, DNS error, timeout) is recorded in
errors[]but does not abort the run.
Flag Semantics in Compare Mode
All existing flags work under compare, with two first-URL-centric semantics:
| Flag | Behavior |
|---|---|
--max-pages <N> |
Applied per target (each site gets its own crawl budget). |
--enable-js / --vitals |
Applied to all targets, shared headless browser instance. |
--beauty |
Renders a side-by-side colored terminal table. |
--fail-under <SCORE> |
Applies to the first URL only (your site). CI pattern: "did my site drop below the bar?" Competitor scores never affect exit code. |
Exit Codes (Compare Mode)
| Code | Meaning |
|---|---|
0 |
All OK, or --fail-under threshold met on the first URL. |
1 |
First URL's aggregate score fell below --fail-under. |
2 |
First URL failed to analyze. Competitor failures do NOT produce exit 2. |
Limits & Notes
- Recommend up to ~10 URLs for readable
--beautyoutput (narrow terminals fall back to a vertical per-site report). - URLs are analyzed sequentially to stay polite to target sites and to share one headless browser instance. Total time ≈ sum of per-site analysis times.
- Duplicate URLs are deduplicated via the same URL-normalization used for crawling (e.g.
https://site.com/andhttps://site.comare treated as the same).
Example Beauty Output
geodaddy — Competitor Comparison Report
Compared: 2026-04-19T12:00:00Z
──────────────────────────────────────────────────────────────
mysite.com rival-a.com rival-b.com
Overall Score 87.3 72.1 45.8
Technical 92.0 88.5 60.0
Content 85.0 70.0 50.0
GEO 85.0 58.0 30.0
Performance 87.2 71.8 N/A
Winners
Overall: mysite.com
Technical: mysite.com
Content: mysite.com
GEO: mysite.com
Performance: mysite.com
Per-check Diff
tech-meta-title ✓ ✗ ⚠
tech-https ✓ ✓ ✗
geo-llms-txt ✓ ✗ ✗
...
JSON Output
Compare returns a stable top-level schema distinct from the single-URL report:
{
"schema_version": "1",
"compared_at": "2026-04-19T12:00:00Z",
"sites": [ /* full per-site Report, same shape as single-URL output */ ],
"winners": {
"overall": "https://mysite.com",
"technical": "https://mysite.com",
"content": "https://mysite.com",
"geo": null,
"performance": null
},
"check_diff": [
{
"check": "tech-meta-title",
"results": [
{ "url": "https://mysite.com", "status": "pass" },
{ "url": "https://rival-a.com", "status": "fail" },
{ "url": "https://rival-b.com", "status": "warn" }
]
}
],
"errors": [
{ "url": "https://unreachable.example", "message": "DNS error" }
]
}
The shape discriminates itself from the single-URL schema by the presence of sites[] (vs pages[]), so tooling can branch without version sniffing.
Scoring
Categories
Results are grouped into 4 categories:
| Category | Prefix | What it covers |
|---|---|---|
| Technical | tech- |
Meta tags, headings, HTTPS, redirects, robots.txt, sitemap |
| Content | cont- |
Heading structure, alt text, JSON-LD schema, semantic HTML |
| GEO | geo- |
Listicle detection, AI bot access, schema stacking |
| Performance | perf- |
Core Web Vitals — only populated when --vitals is used |
How Scores Are Calculated
Each check has a severity that determines its point value:
| Severity | Points | Examples |
|---|---|---|
| Critical | 10 | H1 presence, HTTPS, mobile viewport, JSON-LD, AI bot access |
| Medium | 5 | Meta description, redirect chains, alt text, listicle, Core Web Vitals |
| Minor | 2 | Sitemap presence, semantic HTML elements |
Statuses map to points earned:
- Pass → full points
- Warn → half points
- Fail → 0 points
Category score = (points earned / max possible points) × 100
Overall score:
- Without
--vitals:(technical + content + geo) / 3 - With
--vitals:(technical + content + geo + performance) / 4
A category with no applicable checks defaults to 100.0.
Checks Reference
Technical Checks
| Check ID | Severity | Pass condition |
|---|---|---|
tech-meta-title |
Critical | Title tag present, 50–60 characters |
tech-meta-description |
Medium | Meta description present, 120–158 characters |
tech-heading-h1 |
Critical | Exactly one <h2> tag |
tech-mobile-viewport |
Critical | <meta name="viewport" content="width=device-width..."> present |
tech-https |
Critical | Served over HTTPS with no mixed-content resources |
tech-robots-txt |
Medium | robots.txt exists and includes a Sitemap: directive |
tech-sitemap-xml |
Minor | Valid XML sitemap with ≤50,000 URLs |
tech-redirect-chains |
Medium | No chains longer than 2 hops |
tech-broken-links |
Me |
Changelog
## v0.8.0 - Tag snapshot (no GitHub release notes). --- ## v0.7.3 - Tag snapshot (no GitHub release notes). --- ## v0.7.2 - Tag snapshot (no GitHub release notes). --- ## v0.7.1 - Tag snapshot (no GitHub release notes). --- ## v0.7.0 - Tag snapshot (no GitHub release notes). --- ## v0.6.1 - Tag snapshot (no GitHub release notes). --- ## v0.6.0 - Tag snapshot (no GitHub release notes). --- ## v0.5.0 - Tag snapshot (no GitHub release notes). --- ## v0.4.0 - Tag snapshot (no GitHub release notes). --- ## v0.3.1 - Tag snapshot (no GitHub release notes). --- ## v0.3.0 - Tag snapshot (no GitHub release notes). --- ## v0.2.3 - Tag snapshot (no GitHub release notes). --- ## v0.2.2 - Tag snapshot (no GitHub release notes). --- ## v0.2.1 - Tag snapshot (no GitHub release notes). --- ## v0.2.0 - Tag snapshot (no GitHub release notes). --- ## v0.1.1 - Tag snapshot (no GitHub release notes). --- ## v0.1.0 - Tag snapshot (no GitHub release notes).
Releases
- v0.8.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.7.3Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.7.2Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.7.1Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.7.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.6.1Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.6.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.5.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.4.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.3.1Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.3.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.2.3Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.2.2Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.2.1Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.2.0Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.1.1Open on GitHub
Tag snapshot (no GitHub release notes).
- v0.1.0Open on GitHub
Tag snapshot (no GitHub release notes).