ZeroStarterRC

llms.txt

Auto-generated documentation endpoint for AI assistants.

Overview

llms.txt is an auto-generated documentation endpoint that provides structured content for AI assistants. It's accessible at /llms.txt, /blog.md, /blog.txt, /blog/*.md, /blog/*.txt, /docs.md, /docs.txt, /docs/*.md, and /docs/*.txt.

How It Works

The endpoint automatically scans documentation and blog content, generating markdown files that include:

  • Complete documentation pages
  • Blog articles
  • Structured navigation
  • Cross-references between pages

Access Points for AI Assistants

  • llms.txt - Index for complete documentation for ZeroStarter
  • blog.md - Index for latest articles and updates about ZeroStarter
  • .md and .txt aliases are available for individual blog and docs pages under /blog/* and /docs/*
  • llms-full.txt - Complete documentation in one page for AI assistants

Implementation

The endpoint is implemented in web/next/src/app/(llms.txt)/llms.txt/[[...slug]]/route.ts and uses:

  • Automatic markdown generation with links and metadata
  • docsSource from Fumadocs for documentation
  • blogSource from Fumadocs for blog content