Skip to content
/ nextbus Public

A TUI to show the waitime in the TBM (Transport Bordeaux Métropole) line for buses and tram

License

Notifications You must be signed in to change notification settings

drawbu/nextbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextbus

This project aims to provide a terminal-based realtime dashboard for monitoring buses and tram in the city of Bordeaux, France, from the TBM transport company.

/!\ This project is not an official TBM project /!\

How to install

$ git clone https://github/drawbu/nextbus.git
$ cd nextbus
$ go build -o nextbus main.go

How to use

$ ./nextbus
Usage: nextbus [transport] [line] [stop]
Options and arguments (and corresponding environment variables):
-h, --help : print help (this message) and exit (also print this message if no
             argument is provided)
transport  : type of transport (bus, car, tram...)
line       : line number
stop       : stop name, optional, will print all stop in the line if missing

Examples

$ ./nextbus bus 10 Peixotto
Bus 10, Peixotto (Tram B), direction Beausoleil
- 3 minutes
- 14 minutes
- 21 minutes
Bus 10, Peixotto, direction Jardin Botanique Terminus
- 9 minutes
- 14 minutes
- 24 minutes
$ ./nextbus bus 10
Bus Lianes 10

GRADIGNAN  BEAUSOLEIL
- Jardin Botanique Terminus
- Stalingrad (Tram A)
- Pôle emploi Bastide
etc...

About

A TUI to show the waitime in the TBM (Transport Bordeaux Métropole) line for buses and tram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages