16 releases (9 stable)
1.2.2 | Oct 20, 2022 |
---|---|
1.2.0 | Mar 5, 2022 |
1.1.1 | Nov 1, 2021 |
1.0.4 | Jun 4, 2021 |
0.2.5 | Jan 29, 2021 |
#217 in Command line utilities
65 downloads per month
245KB
747 lines
nhl-235
NHL results on your command-line with a familiar feel.
For decades, number 235 has been an important part of the morning routine of Finnish hockey fans. YLE's (Finnish Broadcasting Company) teletext page 235 displays on-going or latest results for NHL games. Its cultural importance is so big that I wanted to pay homage to it with this project.
Install
Cargo
You can either install via Rust's Cargo:
cargo install nhl-235
I recommend adding a symlink to have a traditional 235
feeling:
ln -s ~/.cargo/bin/nhl-235 /usr/local/bin/235
If you're storing your cargo packages in a different folder, replace ~/.cargo/bin/nhl-235
with your folder path.
Download binaries
or download the latest binaries from GitHub.
Store the file with filename 235
in a folder that is in the path.
Usage
Basic usage
235
Highlight favorite players
235 (from 1.2.0
onwards) supports configurable highlights of individual players.
To do this, you first need to create a config file to your home directory called .235.config
and then call the script with
235 --highlight
Current version
235 --version
License
This project is licensed under the MIT License
Acknowledgements
nhl-score-api
This project uses peruukki/nhl-score-api for the data.
Futurice Spice Program
Development of 235 has been a grateful recipient of the Futurice Open Source sponsorship program.
YLE Tekstitv
None of this would exist without the cultural importance of YLE's teletext and the page 235 has had in Finnish hockey fan culture.
Dependencies
~9–17MB
~329K SLoC