尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Friendly bets for friends and family. Make a group, create a bet like "When will X give birth?", and everyone claims a timeslot. Closest guess takes the pot. Points only, no money.
npm install
cp .env.example .env
npm run dev
.env.example points at the Supabase project. The publishable key is safe to expose; it only allows what the RLS policies permit.
The schema lives in supabase/migrations. In short:
groups, group_members, group_invites: private groups are joined with an invite link, public ones by anyone logged in.bets: a question with a timeslot grid (answer_config), a fixed buy-in and a closing time.wagers: one claimed slot per person per bet; each slot can only be claimed once.group_leaderboard: net points per member, over resolved bets.Placing wagers, joining groups and resolving bets go through database functions (place_wager, join_group, resolve_bet, …) so the rules are enforced in one place.
To regenerate the TypeScript types after a schema change:
npx supabase gen types typescript --project-id djqhwqogbcgahawabylz > src/lib/database.types.ts
Strings live in messages/en.json and messages/da.json. Use them with m.key() from #lib/paraglide/messages.js. The language comes from a cookie (set by the language picker), then the browser's language, then English. URLs are the same in every language.