Files
create-better-t-stack/apps/web/src/app/llms-full.txt/route.ts
2025-07-29 00:13:51 +05:30

12 lines
291 B
TypeScript

import { getLLMText } from "@/lib/get-llm-text";
import { source } from "@/lib/source";
export const revalidate = false;
export async function GET() {
const scan = source.getPages().map(getLLMText);
const scanned = await Promise.all(scan);
return new Response(scanned.join("\n\n"));
}