A WarioWare Culture Quizz minigames to play with friends
Find a file
AyoubBenziza c3e00ab9d9 refactor(web): generate DiceBear avatars locally instead of via HTTP API
Self-hosted over the HTTP API: no runtime dependency on api.dicebear.com,
works offline/LAN, and no player pseudo leaks to a third party.

- @dicebear/core@10 + @dicebear/styles@10 (lorelei.json), CC0 1.0
- Avatar builds a data URI locally (new Style/Avatar), memoized per seed
- same component API (seed/className) → no call-site changes
- enable resolveJsonModule for the style import

Cost: ~64 kB gzip added to the bundle — acceptable for a self-hosted game.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 10:58:23 +02:00
apps refactor(web): generate DiceBear avatars locally instead of via HTTP API 2026-06-09 10:58:23 +02:00
packages feat(quiz): show per-player answer status during the round 2026-06-09 10:30:03 +02:00
.gitignore feat(shared,server): scaffold @nerdware/shared types + Fastify/Socket.IO server 2026-06-08 14:55:52 +02:00
.npmrc feat: initial commit 2026-06-07 18:45:52 +02:00
.prettierignore feat: initial commit 2026-06-07 18:45:52 +02:00
.prettierrc feat: initial commit 2026-06-07 18:45:52 +02:00
ARCHITECTURE.md chore: initial scaffold (Turborepo + Vite/React + shadcn) 2026-06-08 14:24:04 +02:00
bun.lock refactor(web): generate DiceBear avatars locally instead of via HTTP API 2026-06-09 10:58:23 +02:00
CLAUDE.md chore: initial scaffold (Turborepo + Vite/React + shadcn) 2026-06-08 14:24:04 +02:00
package.json feat(server): generic game engine — GameRound interface + orchestration loop 2026-06-08 15:29:49 +02:00
README.md feat: initial commit 2026-06-07 18:45:52 +02:00
tsconfig.json feat: initial commit 2026-06-07 18:45:52 +02:00
turbo.json feat(server): generic game engine — GameRound interface + orchestration loop 2026-06-08 15:29:49 +02:00

shadcn/ui monorepo template

This is a Vite monorepo template with shadcn/ui.

Adding components

To add components to your app, run the following command at the root of your web app:

pnpm dlx shadcn@latest add button -c apps/web

This will place the ui components in the packages/ui/src/components directory.

Using components

To use the components in your app, import them from the ui package.

import { Button } from "@workspace/ui/components/button";