LLM Generator
Turn website content into llms.txt files, with companion tools for the browser
Project Overview
LLMGenerator generates llms.txt, llms-full.txt, and Markdown files from website content. Firecrawl maps and scrapes the pages, OpenAI enhances titles and descriptions, and Trigger.dev handles background processing. The project spans the React application, an Astro marketing website, and companion browser extensions.
What is llms.txt?
llms.txt is a proposed format for providing website content in a form that large language models can read:
- llms.txt: A concise index of all pages with AI-enhanced titles and descriptions
- llms-full.txt: Complete content of all pages for comprehensive access
Key Features
Fast Generation
Direct map + scrape with background processing
Reliable Jobs
Trigger.dev integration with automatic retries
AI-Enhanced
OpenAI-powered titles and descriptions
Usage Credits
Credit-based generation and subscription plans
Analytics
Track generation stats and usage
Real-time Updates
Live progress tracking
API Docs
OpenAPI/Swagger 3.0 interactive docs
Flexible Pricing
Credits (never expire) + subscriptions
Generation Methods
Simple Generation (1x Credits)
- Fast generation (15-30 seconds)
- Uses Firecrawl's /llmstxt endpoint
- Cost-effective for free tier users
- Locked for free plans, optional for paid
Enhanced Generation (2x Credits)
- AI-enhanced titles and descriptions
- Uses map + scrape + OpenAI integration
- Premium quality for paid plans
- Default for paid users
Tech Stack
Frontend
- React 19 with TypeScript
- Vite for fast builds
- Tanstack Router & Query
- Tailwind CSS & shadcn/ui
- React Hook Form with Zod
Backend
- Hono on Cloudflare Workers
- Cloudflare D1 (SQLite) with Drizzle ORM
- Better Auth for authentication
- Trigger.dev for background jobs
- tRPC for type-safe APIs
Integrations
- Firecrawl API for web scraping
- OpenAI API for content enhancement
- Stripe for payments
- Cloudflare KV for session caching
- Sentry for error tracking
Development
- Biome for linting/formatting
- Bun for package management
- Wrangler for deployments
- Vitest for automated testing
- OpenAPI/Swagger documentation
Website & Browser Extensions
An Astro marketing site introduces the product alongside its documentation. Companion Chrome and Firefox extensions check for llms.txt and llms-full.txt at both the site root and the docs directory. A badge shows which files were found, and the popup lets users open them directly.
The extensions cache detection results and follow the system color theme, bringing the file-checking workflow into the browser.
Have a useful problem to solve?
Tell me what you are making, where it is getting stuck, and what a good outcome looks like.