Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norn/bustime
Web and API for public transport real-time monitoring and visualization.
https://github.com/norn/bustime
bus django gps gtfs gtfs-rt opendata public-transport public-transportation realtime tracking transportation
Last synced: 3 months ago
JSON representation
Web and API for public transport real-time monitoring and visualization.
- Host: GitHub
- URL: https://github.com/norn/bustime
- Owner: norn
- License: mit
- Created: 2015-10-05T12:34:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-11T21:13:24.000Z (over 1 year ago)
- Last Synced: 2024-06-13T20:54:16.806Z (5 months ago)
- Topics: bus, django, gps, gtfs, gtfs-rt, opendata, public-transport, public-transportation, realtime, tracking, transportation
- Language: JavaScript
- Homepage: https://busti.me
- Size: 890 KB
- Stars: 79
- Watchers: 4
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bustime - public trasport online
Checkout [busti.me](https://busti.me/) for live example.Python/Django app process and visualize public transport vehicle positions using GPS coordinates.
This collection of programs are able to detect current nearest stop, vehicle direction,
real-time timetable, sleeping state (not moved for a long time), zombie state (broken vehicles).## Supported transport types:
* bus
* trolleybus
* tramway
* inter-city bus
* shuttle bus## Features
* high optimization for rapid server replies
* websocket real-time updates
* modern HTML5 standard compliance
* simplified version for older devices and browsers (even with no JS)
* OpenStreetmap support
* Rainsys system updates only changed information (broadcasted via websocket)
* "MultiBus" technology allows to track all vehicles of selected route## How to install
1. Install Ubuntu 14.04 LTS (tested)
2. Make virtualenv and install pip packages from ```docs/pips/pips.freeze```
3. Initialize Django environment
4. Fill in city, bus, bus stop and route tables
5. Generate list of stops for JS at ```utils/nbusstops-export.py```
6. Edit zbusupd.py according to active cities
7. Install supervisor and daemons from the ```addons``` list
8. RunOptionally you could install:
* [Semantic UI](http://semantic-ui.com/) (CSS framework)
* [r.js optimizer](http://requirejs.org/docs/optimization.html) (compile collection of JS in one file)
* [GeoLite2](http://dev.maxmind.com/geoip/geoip2/geolite2/) (for user's city detection by IP address)Scripts for building CSS and JS: 99-release-*.sh
#### License
Published under [MIT](LICENSE) license.