pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Cloudflare-native public sentiment dashboard for Microsoft 365 products
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗M365 Barometer is a Cloudflare-native public dashboard that automatically monitors recent public discussion about Microsoft 365 products.
For the live production state, remaining work, and exact resume steps, see Production Handoff.
No manual JSON import workflow is included.
Use Node.js 22.13 or newer. The worker integration tests import node:sqlite, which Node includes starting in 22.13.
npm install
Copy-Item .dev.vars.example .dev.vars
npx wrangler d1 create m365-barometer
Replace the D1 database_id in wrangler.jsonc, then:
npm run types
npx wrangler d1 migrations apply m365-barometer --local
npm run dev
The app builds the React frontend with Vite and serves it through Workers Static Assets at the URL printed by Wrangler. Local mode serves public, admin, Cron, and D1 behavior. Workers AI is remote-only, so test evidence ingestion against a logged-in remote development session or the deployed Worker.
Production deploys run from .github/workflows/deploy.yml after every push to main.
The workflow creates the D1 database when needed, applies migrations, deploys the Worker,
configures Worker secrets, and smoke-tests the public health endpoint.
Analysis is bot-driven. The external bot calls the internal API with INGEST_TOKEN. See Bot analysis.
CLOUDFLARE_API_TOKEN: Cloudflare token with Workers Scripts, D1, and Workers AI permissions.CLOUDFLARE_ACCOUNT_ID: Cloudflare account ID.INGEST_TOKEN: A separate long random token shared by the Worker and the analysis bot.PUBLIC_BASE_URL: The production origin, without a trailing slash. This can be added after the first deployment.CLOUDFLARE_DEPLOY_ENABLED: Set to true only after the secrets above are configured.CUSTOM_DOMAIN: Optional custom hostname. When set, deployment disables workers.dev.main or manually run the Deploy Cloudflare workflow.PUBLIC_BASE_URL to the deployed origin and rerun the workflow.Until CLOUDFLARE_DEPLOY_ENABLED=true, pushes still run the full check and build job but skip deployment.
The Cron Trigger runs daily at 06:15 UTC to time out stuck runs and delete expired snapshots. The external bot claims due products. A successful analysis schedules the next run seven days later, and a failure defers that product by one day.
INGEST_TOKEN protects run creation, runner context, lifecycle, and evidence ingestion. The analysis bot sends it as a bearer token. See Bot analysis.npm run dev
npm run test
npm run check
npm run build
npm run deploy