Skip to content

cedricblondeau/nhl-cli-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

screenshot

NHL CLI Dashboard

forthebadge forthebadge forthebadge

Run it in docker ๐Ÿณ

Pull it from Docker Hub:

docker pull cedricbl/nhl-cli-dashboard && \
docker run -ti -e TZ=America/Toronto -e TERM=xterm-256color cedricbl/nhl-cli-dashboard

Replace America/Toronto with your actual timezone. This image is for amd64 arch only.

Or build it:

Want to build this image from a Dockerfile instead? Or do you want to run this dashboard on a non-amd64 arch, let's say arm? On a Raspberry Pi?

docker build -t cedricbl/nhl-cli-dashboard github.com/cedricblondeau/cedricbl/nhl-cli-dashboard && \
docker run -ti -e TZ=America/Toronto -e TERM=xterm-256color cedricbl/nhl-cli-dashboard

Install using npm or yarn

NPM:

npm install -g nhl-cli-dashboard

Yarn:

yarn global add nhl-cli-dashboard

Requires NodeJS 6+.

Usage

nhl-cli-dashboard
  • Use โฌ…๏ธ and โžก๏ธ keys to navigate through different different matches.

How does it work?

Data is sourced from the undocumented NHL Stats API. Matches get updated on every minutes.

Terminal interface built with react-blessed. Inspired by world-cup-2018-cli-dashboard.

FAQ

Q: Data is not showing up?

If an API call fails, we log a debug message. Press F12 to see the debug console, some helpful messages may show up (a 503 or a 429 HTTP code for instance).

Development

git clone https://github.com/cedricblondeau/nhl-cli-dashboard
cd nhl-cli-dashboard
yarn install
yarn start

Contributions are very welcome.

LICENSE

MIT

About

๐Ÿ’๐Ÿ†NHL CLI dashboard โ€“ Watch hockey games in your terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published