TheSeptaTimes.rs is an easy-to-use commandline utility to fetch information about regional SEPTA trains
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dotzenith/TheSeptaTimes.rs/releases/latest/download/the-septa-times-installer.sh | sh
brew tap dotzenith/tap
brew install the-septa-times
irm https://github.com/dotzenith/TheSeptaTimes.rs/releases/latest/download/the-septa-times-installer.ps1 | iex
cargo install the-septa-times
Pre-Compiled binaries for linux, mac, and windows are available in Releases
- First, install rust
git clone https://github.com/dotzenith/TheSeptaTimes.rs.git
cd TheSeptaTimes.rs
cargo build --release
./target/release/tst
Usage: tst <COMMAND>
Commands:
next Search for the next train going from an origin to a destination
arrivals Find the next arrivals at a given train station
train Track a given train
stations Get all valid station names
refresh Refresh the cache for station names
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
tst next '30th Street Station' 'North Philadelphia'
tst next 'suburban' '30th'
tst arrivals '30th Street Station' --count 6
tst train 9374
tst stations
tst refresh
0.5.4 - use rustls for reqwest