Giter Site home page Giter Site logo

yuzawa-san / thin-gbfs Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 2.0 4.57 MB

A slim and low-network-use mobile web app for many common bike sharing systems.

Home Page: https://thin-gbfs.appspot.com/

License: MIT License

Python 32.26% JavaScript 65.07% HTML 2.67%
bike low-network gbfs low-latency cycling bikeshare bike-share bike-sharing bikesharing geolocation

thin-gbfs's Introduction

๐Ÿšฒ thin-gbfs ๐Ÿšฒ

https://thin-gbfs.appspot.com/

A thin and low-network-use mobile web app for many common bike sharing systems.

I enjoy biking while I travel. Unfortunately, I have grown tired using many bloated web and native apps whilst using limited international data plans.

The goals of this project are:

  • cache static assets (tiles, system lists, station lists) heavily on the client side.
  • be able to access a large number of open data sources for various popular bike sharing systems.
  • transmit data from server to app using a compact format.
  • cache system and station information server side to avoid hitting the source data API's too often.
  • limit number of TCP connections and number of hosts contacted
  • use HTTPS
  • privacy: the HTML5 geolocation APi is used, but the location is not transmitted elsewhere.

Development

Get google cloud sdk, load in dependencies using npm install.

There are more common tasks listed npm run.

To run a dev server: npm run dev and open your browser to localhost:8080. You will need to seed the DB by going to localhost:8000, then cron jobs and then run the only cron job.

Software License Info

In order to minimize the number of TCP connections between the web app and the server, the dependencies have been webpacked together. These projects have been utilized and bundled:

This project uses the MIT License.

Credits

This web app simple aggregates and transmits efficiently across the wire lots of very useful data provided by various entities:

  • GBFS - open API standard for (mostly large US) bike sharing systems
  • PyBikes - a collection of various scrapers for various different API's
  • Citibik.es - api on top of pybikes

Thank you for your work!

Note: Since GBFS is an open standard, GBFS systems are hit directly rather than using Citibik.es.

Data Errors

You will have to go to the respective projects / companies to their issue tracking systems. This project does not actually curate any data.

thin-gbfs's People

Contributors

dependabot[bot] avatar yuzawa-san avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.