Thanks to GitHub's hostile policy the repository has migrated to Gitlab.
This repository won't be updated anymore.
Transportation timetambles for command line.
cargo install --git https://github.com/im-n1/transpors
Note: When installed the binary is named trs
for convenience.
When you run the app for the first time a wizard will welcome you and walk you thru the setup process. All you need is GTFS file URL or location on your drive.
Such GTFS file can be found on the internet on your local transporation company website. Apps like Citymapper use exactly these files. There is also this portal where you can try to find your city.
Except wiping (-w
) the app always prints out the timetables of your stations.
$ trs
Skloněná -> Sídliště Čakovice
-----------------------------
136 - 13:20 (+14 min)
136 - 13:35 (+29 min)
136 - 13:50 (+44 min)
When a new version of GTFS file is available you can simply refresh your app database with just one command. If the GTFL file location is URL it will be downloaded automatically.
$ trs -r
$ trs -a # to add new stops
$ trs -d # to delete existing stops
$ trs -w # wipes whole app database - cannot be undone.
This feature adds live delays and air-condition info to each connection (departure)
Instalation is simple - just activate feature prague
with -F prague
in cargo install command
.
This feature uses Golemi API where you need to register to generate API key.
- added
prague
feature which enables live delays and air-condition info - it's necessary to wipe and rebuild whole database -
-w
param
- added
-l
param for better peek to the future
- log messages (CLI output) unified
- dependencies bumped to newer versions
- timetables are now sorted by stop name
- dependencies bumped to newer versions which brings notably better performance
- ! you need to rebuild your database after this update
- added relative times
- added a few words about GTFS to README filte
- updated dependencies
- initial release