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

推荐订阅源

E
Exploit-DB.com RSS Feed
S
SegmentFault 最新的问题
aimingoo的专栏
aimingoo的专栏
H
Help Net Security
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
Last Week in AI
Last Week in AI
U
Unit 42
A
Arctic Wolf
博客园_首页
Engineering at Meta
Engineering at Meta
D
DataBreaches.Net
C
CXSECURITY Database RSS Feed - CXSecurity.com
罗磊的独立博客
B
Blog RSS Feed
W
WeLiveSecurity
Security Latest
Security Latest
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
腾讯CDC
Help Net Security
Help Net Security
NISL@THU
NISL@THU
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
S
Security @ Cisco Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Google Online Security Blog
Google Online Security Blog
C
CERT Recently Published Vulnerability Notes
F
Full Disclosure
GbyAI
GbyAI
Hacker News: Ask HN
Hacker News: Ask HN
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
Google DeepMind News
Google DeepMind News
T
Tor Project blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
MongoDB | Blog
MongoDB | Blog
O
OpenAI News
T
Threatpost
A
About on SuperTechFans
TaoSecurity Blog
TaoSecurity Blog
T
The Exploit Database - CXSecurity.com

Show HN

暂无文章

GitHub - perryraskin/world-cup-tui: Terminal live scoreboard and match timeline for the FIFA World Cup
perryraskin · 2026-06-16 · via Show HN

Terminal live scoreboard and match timeline for the FIFA World Cup.

The default data source is ESPN's public World Cup scoreboard and match summary endpoints. It works without an API key and can show live scores, match status, team stats, key events, and commentary when ESPN exposes those fields.

Features

  • Live World Cup match list with score, status, kickoff time, and venue
  • Match detail screen with scoreline, venue, team stats, and play-by-play
  • Auto-refreshing terminal UI with manual refresh
  • Keyboard controls modeled after lightweight sports TUIs
  • Opens the selected ESPN match page in your browser
  • No API key required for the default ESPN source

Install

Run

Development mode:

Build and run:

After build, you can also run the binary directly:

If installed globally or linked locally, the binary is:

Controls

  • j / down: move down or scroll timeline
  • k / up: move up or scroll timeline
  • enter: open selected match
  • b / esc: back to match list
  • r: refresh now
  • o: open selected match on ESPN
  • q: quit

Options

npm run dev -- --refresh 10
npm run dev -- --date 20260615
npm run dev -- --limit 20
  • --refresh <seconds>: auto-refresh interval, default 15
  • --date <YYYYMMDD>: request a specific ESPN scoreboard date
  • --limit <count>: scoreboard event limit, default 100

Data Source

The CLI currently uses:

  • Scoreboard: https://site.api.espn.com/apis/site/v2/sports/soccer/fifa.world/scoreboard
  • Match detail: https://site.web.api.espn.com/apis/site/v2/sports/soccer/fifa.world/summary

These endpoints returned live FIFA World Cup match data during development, including commentary for active matches. They are not a formal ESPN public API contract, so the adapter is kept small and isolated in src/espn.ts.

Development

npm run typecheck
npm test
npm run build

Notes

Paid sports data providers can be added as additional source adapters if richer or contract-backed live data is needed.