Coder Social home page Coder Social logo

TPGwidget logo

Download on the App Store Download on Google Play

TPGwidget

TPGwidget is an iOS/Android app for public transport in Geneva. It uses the free Open Data API provided by the transit operator (transports publics genevois).

TPGwidget includes many features such as :

  • stops shortcuts on the home screen
  • real-time lines schedules
  • routes planning
  • vehicles informations
  • and much more!

The projet is made with Framework7 in the front end, and PHP in the back end. The app users download on the App Store or on Google Play is powered by Apache Cordova.

TPGwidget screenshots

Getting Started

Prerequisites : PHP 7+, MySQL, Node.js (dev only)

Install

To run an instance of TPGwidget, you have to :

  1. Create a copy of the .env.example file named .env and fill in your TPG Open Data API key and your database credentials.
  2. Create on your MySQL Server the required tables (use the dump.sql file)

On the production server,

Develop

Front-end files are compiled with Gulp. To install it, use npm install gulp-cli -g from the command line. You can then compile the assets using gulp ios-css, gulp android-css, gulp ios-js and gulp android-js.

Contributing

If you have a question or an idea, you can create an issue. Pull requests are welcome! If you want to contribute, don’t hesitate to look into the unassigned issues.

Authors

  • Nicolas Ettlin (@Nicolapps)
  • Adam Mathieson (@AMathieson) - Help in transition to alternative API & Updates to vehicles

License

TPGwidget code is released under the MIT license, see the LICENSE file for details. This repository includes maps (Β© transports publics genevois), and the vehicle icons are CC BY 4.0 licensed.

TPGwidget's Projects

bot icon bot

πŸ€– Twitter bot (transports publics genevois disruptions)

data icon data

πŸ“Š Composer package to improve the TPG API results

ios icon ios

🍎 iOS TPGwidget app

tpgwidget icon tpgwidget

🚍 iOS/Android app for public transport in Geneva

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.