Skip to content
GEO AI
AnalyzerCLIDocumentationSpecificationContact
Documentation

Getting Started

  • Introduction
  • Quick Start
  • Choose Your Package

GEO Specification

  • Overview
  • llms.txt
  • AI Metadata
  • Crawler Rules
  • Structured Signals
  • Scoring
  • Recommendations

Packages

  • GEO AI Core
  • GEO AI Next
  • GEO AI NestJSnew
  • NestJS — Module Setup
  • NestJS — Configuration
  • NestJS — Service API
  • NestJS — Middleware
  • NestJS — Guard
  • NestJS — Interceptor
  • NestJS — Decorators
  • NestJS — Content Provider
  • GEO AI Woo
  • GEO AI Shopify

Analyzer

  • Overview
  • Scoring
  • Recommendations

CLI

  • GEO AI CLI

Integrations

  • Laravelsoon

Reference

  • Configuration
  • API Reference
  • FAQ
DocsPackagesNestjs

GEO AI NestJS

NestJS module for AI Search Optimization. Provides dependency injection, middleware, guards, interceptors, and decorators — all wrapping geo-ai-core.

npm install geo-ai-nestGitHub ↗

Requirements

  • Node.js 20+
  • NestJS 10+ (supports both v10 and v11)
  • TypeScript 5.5+

Installation

bash
npm install geo-ai-nest

This installs geo-ai-core as a dependency automatically. @nestjs/common and @nestjs/core are peer dependencies — they must already be installed in your project.

Quick start

Import GeoAIModule in your root AppModule:

typescript
import { Module } from '@nestjs/common';
import { GeoAIModule } from 'geo-ai-nest';

@Module({
  imports: [
    GeoAIModule.forRoot({
      siteName: 'My Store',
      siteUrl: 'https://mystore.com',
      provider: {
        Products: [
          { title: 'Widget', url: '/products/widget', description: 'A great widget' },
        ],
        Blog: [
          { title: 'Hello World', url: '/blog/hello', description: 'First post' },
        ],
      },
      crawlers: 'all',
      cache: '24h',
      crawlTracking: true,
    }),
  ],
})
export class AppModule {}

This automatically:

  • Serves /llms.txt, /llms-full.txt, /.well-known/llms.txt via middleware
  • Serves /robots-ai.txt via controller
  • Detects and tracks AI bot visits
  • Makes GeoAIService available for injection throughout your app
PreviousGEO AI NextNextNestJS — Module Setup

On this page

  • Requirements
  • Installation
  • Quick start
GEO AI

AI Search Optimization

AnalyzerCLIDocumentationSpecificationContactPrivacy Policy

© 2026 GEO AI · Open Source · MIT License