mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import { getLLMText, source } from '@/lib/source';
|
|
|
|
export async function loader() {
|
|
const scan = source.getPages().map(getLLMText);
|
|
const scanned = await Promise.all(scan);
|
|
|
|
return new Response(scanned.join('\n\n'));
|
|
} |