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

推荐订阅源

D
Docker
I
InfoQ
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
Y
Y Combinator Blog
博客园_首页
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
C
Check Point Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Engineering at Meta
Engineering at Meta
B
Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
F
Fortinet All Blogs
月光博客
月光博客
GbyAI
GbyAI

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - tantara/worldcup-sim: Explore and simulate the 2...
tantara · 2026-06-11 · via Hacker News: 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.