pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Real-time world events control room: 3D globe, live feed, AI briefs and watchlist alerts. Next.js 16 + Supabase + MapLibre, built with Claude Code parallel agents.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A real-time world events dashboard in a green-on-black "control room" style: earthquakes, wildfires, storms, volcanoes and world news, plotted live on a 3D globe, with a daily AI World Brief and personal watchlist alerts.
Inspired by koala73/worldmonitor. Built end to end with Claude Code, using parallel sub-agents in separate git worktrees (see How it was built).檢視完整 README ↗A real-time world events dashboard in a green-on-black "control room" style: earthquakes, wildfires, storms, volcanoes and world news, plotted live on a 3D globe, with a daily AI World Brief and personal watchlist alerts.
Inspired by koala73/worldmonitor. Built end to end with Claude Code, using parallel sub-agents in separate git worktrees (see How it was built).
| Layer | Tech |
|---|---|
| App | Next.js 16 (App Router, Server Actions), React 19, TypeScript, Tailwind CSS v4 |
| Data | Supabase — Postgres + Row Level Security, Auth, Realtime, pg_cron |
| Map | MapLibre GL JS v6 + OpenFreeMap vector tiles (no API key) |
| Charts | Recharts |
| Tests | Vitest (unit), Playwright (e2e, desktop + mobile), GitHub Actions CI |
| Hosting | Vercel |
Data sources: USGS Earthquakes · NASA EONET · The GDELT Project (15-minute event exports) · GDACS disaster alerts · WHO Disease Outbreak News (© WHO, CC BY-NC-SA 3.0 IGO) · world news RSS from across the political spectrum (Guardian, HuffPost, Vox, NPR, Al Jazeera, BBC, DW, France 24, Crisis Group, Washington Times, Fox News, New York Post, plus Reuters, AP and Washington Examiner headlines via Google News), with each outlet's lean from AllSides Media Bias Ratings · opt-in sports RSS (BBC Sport, Guardian, Sky Sports, ESPN). Headlines remain © their publishers and always link to the original.
pg_cron (every 10 min) ──POST /api/ingest──▶ ingesters (USGS, EONET, GDELT, RSS)
│ fetchRaw → zod-validated normalize()
▼
Postgres `events` (upsert on source+external_id)
│ │ AFTER INSERT trigger
Supabase Realtime ▼
│ `alerts` for matching watchlists
▼
Browser: globe + live feed + SITREP (filters in URL)
pg_cron (daily) ──POST /api/brief──▶ select top events → LLM (or extractive) → `briefs`
lib/types.ts — the shared NormalizedEvent contract every ingester outputslib/ingest/* — one file per source, pure normalize() tested against saved fixturessupabase/migrations/* — schema, RLS policies, alert trigger, column grantscomponents/map/* — MapLibre globe and the custom green vector stylenpm install
cp .env.example .env.local # fill in your Supabase URL/keys and a random CRON_SECRET
# apply supabase/migrations/*.sql to your Supabase project (SQL editor or `supabase db push`)
npm run dev
# pull data once by hand:
curl -X POST -H "Authorization: Bearer $CRON_SECRET" http://localhost:3000/api/ingest
curl -X POST -H "Authorization: Bearer $CRON_SECRET" http://localhost:3000/api/brief
npm run lint && npm run typecheck && npm test # unit tests
npm run test:e2e # Playwright (builds + starts the app)
The project was built in phases with Claude Code, with independent modules developed in parallel by sub-agents in isolated git worktrees, then reviewed and merged by a lead agent:
Module ownership per agent is documented in CLAUDE.md.