Giter Site home page Giter Site logo

josemiguelguerrerotapia / trufi-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trufi-association/trufi-core

0.0 0.0 0.0 38.27 MB

Trufi - A Flutter app for Public Transportation

Home Page: https://www.trufi-association.org

License: GNU General Public License v3.0

Shell 0.25% Ruby 0.24% Objective-C 0.01% Kotlin 0.02% Dart 99.08% Swift 0.07% HTML 0.32%

trufi-core's Introduction

Trufi Core

GPLv3 License style: lint contributions welcome Twitter Follow Flutter Test

A cross-plattform multi-modal public transport app based on open data. Built in Flutter by the Trufi Association, a social startup.

Trufi Logo

Get the Trufi App for your city

The mobile application is currently available for the following cities:

Please contact the Trufi Association to get one for your city, too. But if you prefer to do it yourself then see below:

Getting started

Trufi Core is the base dependency used to create your public transport app. Have a look at the example implementation that contains further instructions.

Preparing environment

  1. Copy the contents of the folder example into a new repository. See trufi-app for an example because we did it like what described below.

  2. Modify pubspec.yml: Replace the content

      trufi_core:
        path: ../

    with

      trufi_core:
        git:
          url: https://github.com/trufi-association/trufi-core.git
          ref: main

    to be able to use this library - trufi-core

  3. Prepare your development environment so you can compile it successfully

Making necessary modifications

  1. Edit main.dart and modify the necessary things

    1. Offline search POI functionality: remove photonUrl and generate your own version of the assets/data/search.json using osm-search-data-export.
    2. Online search POI functionality: remove searchAssetPath
  2. Change drawer-bg.jpg

Contributing

See CONTRIBUTING and our Code of Conduct prior to contributing.

Translations

Do not modify the files in /translations they are managed from Lokalise. If you need to update the translations checkout the Translations Update Guide Please reach out to the Contributers to get access.

If you need to overwrite translations of the Host app checkout the following article here.

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 2020-present - 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. Thanks to the FMI - Finnish Meteorological Institute for the Open Weather Data

trufi-core's People

Contributors

raimundwege avatar mdoelker avatar md-weber avatar natalyablanco avatar gustavotch avatar samuelriotz avatar andreashelms avatar amenk avatar xamanu avatar josemiguelguerrerotapia avatar dileep9490 avatar danielthegray avatar valornaram avatar ayamil avatar hoodi avatar rmstaanait avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.