#nhl #scores #command-line #results #command-line-tool #teletext #hockey

app nhl-235

NHL latest scores CLI tool with Finnish YLE teletext aesthetics

19 releases (12 stable)

new 1.4.1 Dec 11, 2024
1.4.0 Oct 8, 2024
1.3.0 Oct 27, 2023
1.2.2 Oct 20, 2022
0.2.5 Jan 29, 2021

#181 in Command line utilities

Download history 15/week @ 2024-09-19 6/week @ 2024-09-26 122/week @ 2024-10-03 43/week @ 2024-10-10 3/week @ 2024-10-17

1,230 downloads per month

MIT license

250KB
1K SLoC

235 - hockey results with a familiar feel

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.

Status of the project

I consider 235 as pretty much feature-complete at this point. I'll fix bugs if I run into them and at some point I'll take a look at learning how to build it for other platforms than just Mac. Other than that, the project is not dead or abandoned even though it won't receive updates – it's just, you know, working.

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

Show player stats for favorite players

From 1.3.0 onwards, you can see your favorite players' game stats (goals + assists) by defining those players in $HOME/.235.config (a list of last names, one per line) and running

235 --stats

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

~11–24MB
~343K SLoC