A CLI tool for requesting stream schedules implemented in Rust
Stream schedules are obtained from the holodex-api.
holofans/holoapi support was removed because the service does not appear to be actively maintained.
You can choose to compile the binary from source or download the precompiled binaries for tagged versions on the releases page.
First time setup intializes the initial config and will prompt for a Holodex API token. Instructions on how to obtain the token can be found here.
Config files are stored at ~/.holo-schedule/.config in TOML format.
Example config:
holodex_api_token = "REDACTED_TOKEN"
[format]
channel_name_col_length = 25
stream_title_name_col_length = 70
holo-schedule
Default config is to look back 12 hours and forwards 12 hours, showing only live and upcoming streams.
holo-schedule | grep "Ina" | awk 'BEGIN { FS = "\t" } ; { print $3 }'
Columns are delimited by the \t
character. The video id is the third column. Hopefully none of the channels use \t
in their names.
Be sure to use a portion of the channel name that is included in the output. If the bit of the channel name used in the search is cut off, you can increase the width in the config.