Package Exports
- geo-optimization-cli
- geo-optimization-cli/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (geo-optimization-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
geo-optimization-cli
AI-powered Generative Engine Optimization (GEO) tool — generate
llms.txt,robots.txtAI crawler rules, andSchema.orgmarkup to make your website discoverable and citable by ChatGPT, Claude, Perplexity, and Gemini.
Installation
# Global install
npm install -g geo-optimization-cli
# Or run directly with npx (no install needed)
npx geo-optimization-cli --helpQuick Start
# 1. Analyze a website
geo analyze https://example.com
# 2. Generate all optimization files
geo generate -t saas -o ./geo-artifacts
# 3. Deploy (copies llms.txt, prepares schema files)
geo deploy ./geo-artifacts
# 4. Verify current GEO status
geo verifyCommands
| Command | Description |
|---|---|
geo analyze <url> |
Analyze website GEO readiness |
geo generate [file] |
Generate llms.txt, robots.txt rules, Schema JSON |
geo deploy [dir] |
Deploy generated files to website root |
geo verify |
Check current GEO implementation status |
geo init |
Initialize project config (.geo-optimization.json) |
Options
| Flag | Description |
|---|---|
-t, --type |
Business type: saas | ecommerce | publisher | local | general |
-o, --output |
Output directory (default: ./geo-artifacts) |
--dry-run |
Preview without writing files |
-v, --version |
Show version |
-h, --help |
Show help |
Generated Files
geo-artifacts/
├── llms.txt # AI data usage policy
├── robots-txt-update.txt # Rules to add to your robots.txt
├── schema/
│ ├── organization.json # Organization Schema.org markup
│ ├── creative-work.json # CreativeWork / Manga Schema
│ ├── person.json # Person / Creator Schema
│ ├── article.json # Article / BlogPost Schema
│ └── faq-page.json # FAQPage Schema
├── deploy.sh # Deployment helper script
└── verify.sh # Verification scriptBusiness Types
| Type | Best For |
|---|---|
saas |
Software products, SaaS platforms |
ecommerce |
Online stores, product catalogs |
publisher |
Blogs, news sites, media |
local |
Restaurants, shops, local services |
general |
Everything else |
API Usage
import { GeoOptimizer } from 'geo-optimization-cli';
const optimizer = new GeoOptimizer({ businessType: 'saas' });
const artifacts = await optimizer.generateArtifacts({ type: 'saas' });
await optimizer.saveArtifacts(artifacts, './output');Requirements
- Node.js >= 18
- Zero external dependencies
License
MIT © redredchen01