We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a44f40 commit a6eecc9Copy full SHA for a6eecc9
docs/app/llms-full.txt/route.ts
@@ -0,0 +1,11 @@
1
+import { getLLMText } from '@/lib/get-llm-text';
2
+import { source } from '@/lib/source';
3
+
4
+export const revalidate = false;
5
6
+export async function GET() {
7
+ const scan = source.getPages().map(getLLMText);
8
+ const scanned = await Promise.all(scan);
9
10
+ return new Response(scanned.join('\n\n'));
11
+}
0 commit comments