Pictionary, in reverse. An AI generates an image from a secret prompt; players guess the prompt.
Live at promptionary.io.
bun install- Copy
.env.local.exampleto.env.localand fill in keys (see comments in the example) bun dev
- Next.js 16 + App Router
- Tailwind v4 + shadcn/ui (base-nova style on Base UI primitives)
- Supabase (Postgres, Auth, Realtime, Storage)
- Gemini 2.5 Flash (prompt authoring) + Gemini 3.1 Flash Image Preview (image gen, with
gemini-2.5-flash-imagefallback) +gemini-embedding-001(scoring) - Bun runtime, Playwright e2e, Vitest unit tests
- Hosted on Vercel
Linked to the promptionary project (ref cuevgbducxnbdslbhlxe). Migrations in supabase/migrations/ are the source of truth.
supabase db push— apply local migrations to the linked projectsupabase gen types typescript --linked --schema public > lib/supabase/types.ts— regenerate TS types- Anonymous sign-ins and Realtime replication (replica identity FULL on the gameplay tables,
supabase_realtimepublication onrooms,room_players,rounds,guesses,room_messages) are already enabled
bun test:unit— Vitest unit suite (tests/unit/); fast, no DBbun test:e2e— Playwright against the production deployment (defaulthttps://promptionary-three.vercel.app)bun test:e2e:local— Playwright againsthttp://localhost:3000(runbun devin another terminal first)- See
playwright.config.tsforPROMPTIONARY_TEST_URLandPROMPTIONARY_MOCK_GEMINIknobs
See AGENTS.md for the live architecture, conventions, gotchas, and the full feature/test list. It's the load-bearing doc — keep it ahead of this README.
Implementation plans live in docs/superpowers/plans/ as historical context — Phases 1–4 (foundation, lobby, round engine, landing) all shipped in April 2026 and the docs there have not been updated since. For the live state of the codebase, read AGENTS.md.