Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗pnpm workspace containing the Next.js dashboard and the Void API (Cloudflare worker).
| Package | Path | Deploy |
|---|---|---|
| Web | apps/web | Vercel — root directory apps/web |
| API | apps/api | Void / Cloudflare — see below |
From the repo root:
pnpm install
pnpm dev:web # Next.js at http://localhost:3000
pnpm dev:api
Other root scripts: pnpm test, pnpm typecheck, pnpm build:web.
| App | Env file | Required variables |
|---|---|---|
apps/web | .env (see .env.example) | WORKER_URL, WORKER_API_KEY, NEXT_PUBLIC_POSTHOG_* |
apps/api | Cloudflare secrets (void secret put) | PAGESPEED_INSIGHTS_API, WORKER_API_KEY |
If you still have .env at the repo root from before the monorepo move, copy it to apps/web/.env.
apps/web)In the Vercel project for web-perf-reporting:
Root Directory — apps/web
Install Command (monorepo lockfile at repo root):
cd ../.. && pnpm install --frozen-lockfile
Build Command — pnpm build (runs in apps/web)
Environment variables — WORKER_URL (Void API, for example https://web-perf-report-api.<account>.workers.dev) and WORKER_API_KEY (same value as the API worker secret). The Google API key and Turso credentials stay on the API worker.
Ignored Build Step (optional):
git diff HEAD^ HEAD --quiet -- apps/web pnpm-lock.yaml pnpm-workspace.yaml package.json
apps/api)The API worker is a separate Cloudflare worker, web-perf-report-api. It reuses the existing KV namespace and api-results R2 bucket, stores CrUX history in a new D1 database, and queues Google PageSpeed and CrUX calls.
From apps/api, with the Void CLI logged into the same Cloudflare account:
pnpm --filter api dev
void secret put PAGESPEED_INSIGHTS_API
void secret put WORKER_API_KEY
pnpm --filter api import:history
void deploy --platform cloudflare
import:history copies Historical_Metrics from Turso into a local SQLite file and prints row counts. After the first deploy creates D1, load that file into the remote database with void db (or wrangler d1 execute) before pointing WORKER_URL at the new worker.
apps/web/README.md