summaryrefslogtreecommitdiff
path: root/Readme.md
blob: a34e921837ede62b48ed5e6a69049fa6b00dcef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# human-readable gtfs realtime feeds

a tool to answer to the question "how to check that the gtfs realtime feed says
what it's supposed to if for some unfortunate reason you can't read binary?".

At 188 crates, it might be suspected that it gives a *slightly* over-engineered
answer.

~~~
Usage: showrt [OPTIONS] <URL>

Arguments:
  <URL>  uri of the GTFS RT feed to fetch & display

Options:
      --json             emit the feed as json
  -i, --ignore-nonfatal  ignore things that look wrong as long as possible
      --no-colors        don't do terminal colours
  -h, --help             Print help information
  -V, --version          Print version information
~~~

### Features:
 - fetch feeds from some url
 - display feeds in protobuf pseudo-format, optionally with fancy colours
 - dump the entire feed as json to process it with `jq` & friends
 - error messages with entirely too many arrows in them

### Still Todo:
 - open local files (why do people even have these?)
 - play nice with (input-)pipes
 - optionally convert all dates into something more human-friendly than seconds
   since the unix epoch
 - optionally collapse translations that contain only one language in the output