惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
V
Visual Studio Blog
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
L
LangChain Blog
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
P
Proofpoint News Feed
博客园_首页
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - tantara/worldcup-sim: Explore and simulate the 2...
tantara · 2026-06-11 · via Show HN

WorldCupSim

Explore and simulate the 2026 FIFA World Cup.

Browse every group, venue, fixture, squad, and bracket path, then run unofficial match simulations with a typed tournament dataset and an LLM-friendly simulation kernel.

License: MIT Built with Next.js TypeScript pnpm

Features | Examples | Repository Layout | Setup | Development | Packages | Verification | Disclaimer

WorldCup Simulator — AI-powered match simulation

WorldCupSim is a pnpm workspace centered on a Next.js app for the 2026 FIFA World Cup. It combines a browsable tournament command center, a processed WC26 dataset, and a lightweight TypeScript agent kernel for simulation workflows.

Features

  • Tournament browser - inspect all 12 groups, 48 teams, 104 fixtures, and 16 host venues.
  • Bracket view - follow the group-stage and knockout structure from opener to final.
  • Match simulations - run minute-by-minute unofficial simulations from the web app.
  • Playground - experiment with simulation inputs and generated match narratives.
  • Voice narration - play any commentary line aloud with on-device text-to-speech (Supertonic 3 via ONNX Runtime Web, WebGPU with WASM fallback). Ten voices and 31 languages, synthesized entirely in the browser inside a Web Worker - no server inference. Models stream from the Hugging Face CDN on first use.
  • Typed data package - import teams, squads, fixtures, venues, and qualification campaigns from @worldcupsim/wc26-data.
  • Cache-aware agent kernel - use @worldcupsim/sim-agent for provider-neutral streaming agents tuned for stable prompt prefixes.

Examples

Open a match to kick off a minute-by-minute simulation and read the full-time result with scorers, cards, and assistant activity.

Live match simulation with full-time result

The app opens on a fixture and tournament dashboard with links into match, team, and playground views.

Tournament dashboard and schedule

Repository Layout

client/
  src/
    app/                  Next.js App Router pages and route handlers
    app/_components/      Bracket, simulator, and page-level UI
    components/           Shared UI, navigation, theme, and auth components
    lib/                  Tournament, team, match-engine, and playground logic
    lib/supertonic/       In-browser TTS engine + Web Worker (ONNX Runtime Web)
    server/
      agent/              Match simulation agent orchestration and tools
      api/                tRPC root and routers
      auth/               NextAuth configuration
      db/                 Drizzle schema and database client
      simulations/        Simulation model, archive, and store
  drizzle.config.ts       Drizzle configuration
  start-database.sh       Local Postgres helper

packages/
  sim-agent/              Runtime-agnostic TypeScript agent kernel
  wc26-data/              Typed 2026 World Cup squads, schedule, venues, and qualification data

infra/                    Local infrastructure notes and environment examples

Requirements

  • Node.js compatible with the Next.js app and tooling
  • pnpm 11.2.2
  • Docker or Podman for the local Postgres helper
  • Auth provider credentials for sign-in flows
  • Optional DeepSeek-compatible API key for LLM-backed simulation routes

Use the package manager declared in package.json.

Setup

From the repository root, run pnpm install. Then create local environment values with cp .env.example .env in client/, and start the local database when working with persistence:

cd client
./start-database.sh && pnpm db:push

Local Development

Run pnpm dev from the repository root and open http://localhost:3000.

Common workflows, all prefixed with pnpm --filter worldcupsim: lint, typecheck, test:unit, and check (the full gate). Database helpers run from client/: db:generate, db:migrate, db:push, and db:studio. Cloudflare/OpenNext deploys use pnpm preview, pnpm deploy, and pnpm cf-typegen.

Packages

@worldcupsim/wc26-data

Processed 2026 FIFA World Cup data exported as typed TypeScript values and raw JSON. Exposes teams, matches, and venues collections alongside lookup helpers like getTeam, getMatch, and getTeamsByGroup.

@worldcupsim/sim-agent

A dependency-free, OpenAI-compatible streaming agent kernel designed for stable prefix caching and append-only histories. The core Agent pairs a provider (e.g. createOpenAICompatProvider) with a ToolRegistry and a system prompt.

Verification

Run pnpm check before considering changes complete. For narrower checks, filter per workspace — e.g. pnpm --filter worldcupsim lint, typecheck, or test:unit, plus typecheck on @worldcupsim/wc26-data and @worldcupsim/sim-agent, and git diff --check for whitespace. Do not run the production build unless you specifically need to validate build output.

Acknowledgements

WorldCupSim builds on and takes inspiration from several projects:

Disclaimer

WorldCupSim is an unofficial fan project and is not affiliated with, endorsed by, or sponsored by FIFA or any tournament organizer. All match outcomes, scorers, cards, commentary, and statistics are AI-generated simulations — they are fictional, produced for entertainment, and do not reflect or predict real results.

License

WorldCupSim is licensed under the MIT License.