Database of AI safety grants — trace.manifund.org. See CLAUDE.md for architecture and commands.
bun install
cp .env.example .env.local
bun run devFill .env.local with the two public values (safe to share — they are in every page load of the live site):
NEXT_PUBLIC_SUPABASE_URL=https://ylckglpbctcxdohxwsnv.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_YWdgab7tIAysyLNPYGxmhQ_Zffh5duQ
The database is read-only for anonymous users; no other keys are needed.
- Create a Supabase project and apply
supabase/migrations/in order. - Put your project's URL, anon key, and service-role key in
.env.local(the service-role key is used by scripts only — never expose it with aNEXT_PUBLIC_prefix or commit it). bun run seed, thenbun run ingest. Every ingester is idempotent; the checked-in files underdata/(aliases, overrides, dedup resolutions, curated snapshots) reproduce all curation decisions.ingest-manifund --directadditionally wantsMANIFUND_SUPABASE_URL/MANIFUND_SUPABASE_ANON_KEY(Manifund's public anon credentials); without them the Manifund API fallback is used.
If you just want the data, the live site serves it without any setup:
/api/v0 (JSON, CC0), /api/mcp (MCP), and /grants.csv.