chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:08:27 +08:00
commit 497fab5332
1008 changed files with 594824 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { NextResponse } from "next/server";
import { fetchFeed } from "@/lib/github";
import { getEnv } from "@/lib/kv";
export const revalidate = 600;
export const dynamic = "force-dynamic";
export async function GET() {
const env = await getEnv();
const items = await fetchFeed(env.GITHUB_TOKEN, 50);
return NextResponse.json({ items, fetchedAt: new Date().toISOString() });
}