Show HN: Courtside – NBA 赛事的终端用户界面 (TUI)
Show HN: Courtside – TUI for NBA Games

原始链接: https://github.com/NolanFogarty/courtside

**Courtside** 是一款基于键盘操作的终端 UI 工具,用户可通过它关注 NBA 比赛、查看详细的技术统计、追踪逐球实况以及查询联盟排名。该应用程序直接从非官方的 NBA JSON 接口获取数据,因此无需任何 API 密钥或账户。 主要功能包括: * **实时更新:** 进行中的比赛每 15 秒自动刷新一次。 * **历史查询:** 用户可跳转至任意日期查看过往比赛结果。 * **直观导航:** 整个界面均通过键盘快捷键控制,方便浏览比分牌、查看比赛详情及查询排名。 **安装方式:** 您可以通过 Go 安装此工具: `go install github.com/NolanFogarty/courtside@latest` 或者,您也可以克隆该仓库、构建二进制文件,并将其移动到您的本地路径中。 *注意:由于该应用依赖于未公开的 NBA 接口,其功能可能会受到频率限制或接口变动的影响。*

抱歉。
相关文章

原文

A terminal UI for following NBA games, box scores, and standings.

Browse the day's games, drill into a live or finished game for its full box score and play-by-play, jump to any date to see past results, and check the league standings. Games in progress refresh on their own while you watch.

Courtside pulls directly from the NBA's public JSON endpoints via nba-sdk:

  • cdn.nba.com — the live "today" scoreboard
  • stats.nba.com — scoreboard by date, traditional box scores, play-by-play, and league standings

These are unofficial, undocumented endpoints, so there's no API key or account required but they can change or rate-limit without notice. Live games auto-refresh roughly every 15 seconds.

git clone https://github.com/NolanFogarty/courtside.git
cd courtside
go build -o courtside
sudo mv courtside /usr/local/bin/
go install github.com/NolanFogarty/courtside@latest

The app opens on today's games. Everything is keyboard-driven:

Key Action
/k, /j Move between games
enter Open the selected game's details
/h, /l Previous / next day
d Jump to a specific date
s League standings
/ Filter games
q Quit
Key Action
/k, /j Scroll the play-by-play feed
o Toggle expanded stats
q/esc Back to the game list
Key Action
q/esc Back to the game list

Game list view

Detailed game view

Standings view

联系我们 contact @ memedata.com