
World Cup 2022 CLI Dashboard


Features
- β½ Live matches (goals, bookings, substitutions)
- ποΈ Team lineups
- π
Scheduled and past matches
- π Standings
Install
Method 1: Homebrew πΊ
Install:
brew tap cedricblondeau/cedricblondeau
brew install world-cup-2022-cli-dashboard
Run:
world-cup-2022-cli-dashboard
Method 2: Docker π³
Build from the main
branch:
docker build --no-cache https://github.com/cedricblondeau/world-cup-2022-cli-dashboard.git#main -t world-cup-2022-cli-dashboard
Run it:
docker run -ti -e TZ=America/Toronto world-cup-2022-cli-dashboard
Replace America/Toronto
with the desired timezone.
Method 3: Go package
Requirements:
- Go 1.19+ (with
$PATH
properly set up)
- Git
go install github.com/cedricblondeau/world-cup-2022-cli-dashboard@latest
world-cup-2022-cli-dashboard
Method 4: Pre-compiled binaries
Pre-compiled binaries are available on the releases page.
Data
Data can be sourced from:
- worldcupjson.net
- football-data.org
By default, the dashboard uses worldcupjson.net
- which is an awesome free and open source project but with limited availability and accuracy guarantees.
To use football-data.org
instead, you'll need to register and get an API token (it's easy and free). Then, start the dashboard with an env variable:
FOOTBALLDATA_API_TOKEN=my_fake_token world-cup-2022-cli-dashboard
Or with Docker:
docker run -ti -e TZ=America/Toronto -e FOOTBALLDATA_API_TOKEN=my_fake_token world-cup-2022-cli-dashboard
Note that the free football-data.org
plan comes with less features than worldcupjson.net
.
|
worldcupjson.net |
football-data.org |
Live scores |
β
|
β
|
Schedule |
β
|
β
|
Standings |
β
|
β
|
Bracket |
β
|
β
|
Lineups |
β
|
β |
Goal scorers |
β
|
β |
The data source gets polled every minute.
UI
UI is powered by bubbletea and lipgloss.
For optimal results, it's recommended to use a terminal with:
- True Color (24-bit) support;
- at least 102 columns and 35 rows.
LICENSE
MIT