Skip to content

About

German lotto statistics dashboard — Next.js, SQLite, ECharts, 9/9 vitest.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lotto Patterns

For-fun German lottery stats dashboard. Every draw is independent; no system predicts. Dark-neon 2026 UI: presets + date picker, 4 live sliders, ECharts panels, animated ball strip.

Games

  • 6aus49 — 5,045 draws, 1955 → present (auto-updated). Source: daowa89/lottery-archive.
  • Eurojackpot — source pending (tab shows placeholder; schema + game code ready).

Run

npm run dev        # http://localhost:3000 (or next free port)
npm run import -- --init     # full 6aus49 seed
npm run import -- --update   # delta (idempotent)
bash scripts/update.sh       # cron entrypoint (flock + log to logs/update.log)

Data lives in data/lotto.db (git-ignored, WAL mode, single writer).

Auto-update

See docs/CRON.md — two Europe/Berlin lines (Wed + Sat 20:00). Rokesh installs the crontab. Same engine serves the in-app Update button (POST /api/update).

Stack

Next.js 16 + TypeScript + Tailwind v4 + better-sqlite3 + echarts + framer-motion. Space Grotesk + JetBrains Mono. npm run build green, npx vitest run 9/9.

Launch

Double-click lotto-patterns.desktop (setsid-scoped, no broadcast kill).

About

German lotto statistics dashboard — Next.js, SQLite, ECharts, 9/9 vitest.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages