Crates.io | liiga_teletext |
lib.rs | liiga_teletext |
version | |
source | src |
created_at | 2025-04-11 07:05:45.216664+00 |
updated_at | 2025-04-16 18:48:21.794704+00 |
description | A terminal application that displays Finnish Liiga hockey results in a teletext style |
homepage | https://github.com/nikosalonen/liiga_teletext |
repository | https://github.com/nikosalonen/liiga_teletext |
max_upload_size | |
id | 1629340 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A Rust terminal application that displays Finnish Liiga hockey results in a YLE Teksti-TV style interface.
cargo install liiga_teletext
You can create a symlink to the binary to make it available from anywhere:
sudo ln -s ~/.cargo/bin/liiga_teletext /usr/local/bin/221 # 221 is the channel number of YLE Teksti-TV
Make sure Rust and Cargo are installed on your system. If not, install them from rustup.rs.
Clone this repository:
git clone https://github.com/nikosalonen/liiga_teletext.git
cd liiga_teletext
cargo build --release
cargo run --release
liiga_teletext/
└── src/ # Source code directory
├── main.rs # Main application logic and event handling
├── teletext_ui.rs # UI components and rendering
├── data_fetcher/ # Data fetching related modules
├── data_fetcher.rs# API integration and data processing
├── config.rs # Configuration handling
└── schemas/ # JSON schema definitions
├── game_schema.json # Game data structure schema
└── game_schedule_schema.json# Game schedule data structure schema
q
to quit the application-d
or --date
to specify a date to show games for.-o
or --once
to show scores once and exit immediately.-p
or --plain
to disable clickable video links.-c
or --config
to update the API domain.-l
or --list-config
to list the current configuration.On first run, you will be prompted to enter your API domain. This will be saved to a config file at:
~/.config/liiga_teletext/config.toml
~/Library/Application Support/liiga_teletext/config.toml
%APPDATA%\liiga_teletext\config.toml
The configuration can be manually edited at any time by modifying this file. You can:
Contributions are welcome! Please feel free to submit a Pull Request. See CONTRIBUTING.md for more details.
This project is licensed under the MIT License - see the LICENSE file for details.