Skip to content
Trufi - A Flutter app for Public Transportation
Dart Ruby Other
Branch: master
Clone or download

README.md

Trufi App

contributions welcome

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.

Trufi Logo

Please visit the website for more information!

Twitter Logo Follow @TrufiAssoc

If you find any issues within this app, please report them at the issue tracker. Contributions are both encouraged and appreciated.

Screenshots

Get the Trufi App

The mobile application is currently available for the following cities:

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.properties with path and password.
  • Build a test version of the application with $ flutter run

Complementary projects

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.

Free Software

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.

Shout-outs

Big thanks to Lokalise for supporting our localization efforts with a free Open Source Enterprise plan.

You can’t perform that action at this time.