尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗What's on for families, week by week. Compass is a local guide to playgroups, baby groups, rhymetime, classes and one-off family events, kept up to date by the people who go.
It starts in Spelthorne (Staines, Ashford, Stanwell, Sunbury, Shepperton and Laleham) with the council's playgroups leaflet, and is built to grow into other areas and other kinds of event.
| App | TanStack Start (React 19, server functions, SSR so shared links preview properly) |
| Data | Neon Postgres through Drizzle, or an in-memory store when there's no database |
| Rules | A pure TypeScript core in src/core, shared by the browser and the server |
| Checks | zod schemas for every listing, on both sides |
| Styling | Tailwind 4, colours checked for WCAG AA contrast in light and dark |
| Tests | Vitest for the core, the server rules and real Postgres (PGlite); Playwright on desktop and mobile |
src/core Listing schema, dates, term times, the week, filters, freshness, trust, changes
src/data The launch data (from src/data/sources) and Surrey term dates
src/server Storage, sign-in, the service rules, and the server functions pages call
src/routes Pages: the week, coming up, search, a listing, add, change, moderate
The design notes are in CONTEXT.md and docs/adr.
pnpm install
pnpm dev # http://localhost:3000, with in-memory data
pnpm test # unit and Postgres tests
pnpm test:e2e # browser tests (builds first)
pnpm lint && pnpm typecheck
Locally there's no email, so the sign-in page shows the link instead. To moderate, put your
email in MODERATOR_EMAILS. See .env.example for every setting.
DATABASE_URL). Migrations run on each deploy, and an empty database fills itself with the
launch listings on first use.SESSION_SECRET (32+ random characters), MODERATOR_EMAILS, RESEND_API_KEY,
EMAIL_FROM and SITE_URL.VITE_GOOGLE_MAPS_API_KEY.
Restrict it: in Google Cloud, limit it to HTTP referrers https://your-domain/* and to the
Maps JavaScript API only, and set a budget alert. The key is visible in the browser, so the
restriction is what keeps it safe. Without a key the site works; the map just isn't shown.The launch listings come from Spelthorne's playgroups leaflet (September 2025), kept unchanged in src/data/sources. Term dates come from Surrey County Council.