The mobile app for public transportation. Built in Flutter and made by the Trufi Association, a social startup, to provide smartphone apps for informal traffic.
Please visit the website for more information!
If you find any issues within this app, please report them at the issue tracker. Contributions are both encouraged and appreciated.
Get the Trufi App
The mobile application is currently available for the following cities:
- Cochabamba, Bolivia - Website, Google Play, App Store
- Accra, Ghana - Website, Google Play, App Store
Please contact the Trufi Association to get one for your city, too.
Building From Source
If you want to start working on the Trufi App. Get started by reviewing the Flutter documentation first. Then you can follow the next steps:
- Install the environment
- Clone the source code repository:
$ git clone https://github.com/trufi-association/trufi-app.git
- Copy the configuration file:
$ cp assets/cfg/app_config.json.dist assets/cfg/app_config.json
- Update the configuration and add your private MapTiler key
- For Android: Create a key store or use an existing key, fill the
android/key.propertieswith path and password.
- Build a test version of the application with
$ flutter run
osm-search-data-export - Generates offline search data that includes POIs, streets and street junctions. The app currently uses the json-compact format.
osm-public-transport-export - Fetches OSM data and generates GeoJSON and additional files.
geojson-to-gtfs - Turns generated GeoJSON and additional data into GTFS.
gtfs-bolivia-cochabamba - Config package that internally uses osm-public-transport-export and geojson-to-gtfs to generate a GTFS file to be used in OTP. Use this as a template to generate your own GTFS.
OpenTripPlanner - Trip planning server that uses GTFS feeds for routing.
Copyright 2019 - Trufi Association
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Big thanks to Lokalise for supporting our localization efforts with a free Open Source Enterprise plan.