geoptimize
English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português do Brasil
Formerly aeoptimize. This is the same project, continued under the geoptimize name from version 0.8.0. Existing aeoptimize users can follow the migration guide.
Current npm package · Legacy npm package and download history · Last release under the old name

Content quality lint for CI. Catch regressions before you publish.
geoptimize runs content lint in CI or pre-commit to catch regressions in documentation and static sites before publication. Its deterministic checks flag document-structure issues, source signals missing from quantitative claims, metadata problems, JSON-LD structural issues, indexing controls such as noindex and canonical, and repetitive wording. Review findings in pull requests, audit built HTML, and choose a project-specific threshold when you are ready to block regressions.
https://github.com/user-attachments/assets/5dafd888-92c9-428b-b372-62864c58059a
30-second introduction · Download the MP4 · Video source and credits

Open the offline example · After improvements

Who it is for
- Documentation teams that want repeatable content checks in pull requests.
- Frontend engineers and maintainers of static or documentation sites built with Astro, Docusaurus, VitePress, MkDocs, or similar tools that output HTML.
- Teams that want CI to flag content regressions and block changes below an accepted project baseline.
After your workflow builds the site into dist, add this GitHub Actions step. Review the baseline before enabling blocking mode; 60 is an example threshold, not a universal quality target.
- uses: cucuwang/[email protected]
with:
path: dist
fail-on-low-score: 'true'
min-score: '60'
The Action is advisory by default. See the CI contract for outputs and reproducibility details.
It does not predict ranking, indexing, rich results, Google AI Overviews, or citation by ChatGPT, Perplexity, or another AI system. Google states that its AI search features need no special AI text file or schema, and valid structured data does not guarantee a search feature. See methodology and limitations.
Quick start
Requires Node.js 22.12 or newer.
npm install --save-dev geoptimize
npx geoptimize scan https://example.com
npx geoptimize scan ./dist --dir
npx geoptimize scan ./dist --dir --json
npx geoptimize scan ./dist --dir --fail-under 60 --json
npx geoptimize audit https://example.com --json
npx geoptimize audit-site https://example.com --max-pages 20 --json
Version 0.12.0 includes a guided terminal menu for scanning a target and saving an offline HTML report. See the interactive CLI guide for npm install and npx usage; explicit commands remain available for scripts and non-TTY environments.
Example output:
Content Readiness Report
Score: 71/100
Structure 20/25
Citability 18/25
Schema 16/20
AI Metadata 10/15
Content Density 7/15
The score is a versioned heuristic for catching regressions within the same project. Do not treat it as a percentage chance of search or AI visibility, and do not compare unrelated sites as if it were an outcome metric.
What is scored