Rather stupid webapp showing location and availability of automated bike rental stations.
- Be very kind and try to make it behave OK on hand-held thingies
- Option to disable background to save bandwidth
- Move away from jQuery
- Etc.
You can check the demo out.
Some say there's a REST API you can use to access a city or station directly.
- Get the code.
- Create the
data
folder in the Vélimonde root folder. - Get your API hey here and put it into the
update_stations
file (if you use git you probably want to use a copy of that file). - Setup whatever cron program you use to run
python update_stations
periodically. Make sure tochdir
to the Vélimonde root folder. - Setup your webserver, and ensure that the
static
anddata
folders are served directly. Those are separated to make it easier to setupExpires
headers sincedata/*
is updated much more frequently. Note thatcities.json
has a different format than the one served by JCDecaux to speed up lookups.
This work is license under the likable WTFPL.
- Cookies.js, by Scott Hamper
- LeafletJS
- Flask
- Tango icon theme
- jQuery
Real time data:
- JCDecaux, under ODC-BY, CC-BY 2.0 license.
- Transport for London, licensing does not allow distribution.
- Keolis Rennes
- LACUB
Map courtesy of OpenStreetMap contributors and OpenCycleMap.