Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

235 B
Raw Blame
import { getLLMText, source } from '@/lib/source';

export const revalidate = false;

export async function GET() {
  const scanned = await Promise.all(source.getPages().map(getLLMText));
  return new Response(scanned.join('\n\n'));
}