Make friendly bets with friends and family, where the closest guess wins a prize
AI summary · website content
SocialTypeScript · SvelteGitHub @GlaxerOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full 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.