尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證nykelab.nyc: photographs, clips and a journal on one Cloudflare Worker (Astro)
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Nyke Harewood's site, nykelab.nyc: photographs and short clips from trips, a journal, and an endless scroll of all of it (Infinite Azure). One Astro app on one Cloudflare Worker, with no servers to keep.
| Path | What it is |
|---|---|
astro-site/ | The site. Astro pages, the Hono API and D1 migrations in worker/, the library publish scripts, the Playwright tests. Its README is the full guide. |
.github/workflows/ | CI: type-check and build on every push and pull request. |
astro-site/src/worker.ts): static assets, then the Hono API (/api/*; /m/* serves media from R2 with Range support and makes sized WebP copies on demand with Cloudflare Images; /api/event writes to Analytics Engine), then the Astro pages.nykelab (collections, media, counters), R2 nykelab-media (originals, clips, sized copies), a KV namespace for Astro sessions./admin, behind Cloudflare Access. The Worker fails closed (503) until the Access identifiers are set, so a fresh deploy never exposes it.scripts/publish-library.mjs (resumable and idempotent: files to R2, rows to D1, nothing deleted). The originals are not in this repository.cd astro-site
npm install
cp .dev.vars.example .dev.vars # ENVIRONMENT=development: /admin works locally without an Access login
npm run seed # once: fills the local D1 + R2 with sample photos (never production)
npm run dev # http://localhost:4322
npm run check # types + content schema
npm test # Playwright, desktop + phone, with the installed Chrome; starts the dev server if it is not running
npm run deploy # astro build + wrangler deploy (needs `npx wrangler login` as the account owner)
wrangler.jsonc are identifiers every visitor is redirected with, not secrets; the optional analytics token is a Wrangler secret (CF_API_TOKEN). Local settings go in .dev.vars, which is ignored.npm run check and npm run build. The Playwright suite needs the seeded local database and Chrome, so it stays a local step.All photographs and videos are by Nyke Harewood.