Difference between revisions of "Lastcall"

From RevSpace
Jump to navigation Jump to search
(Created page with "Tells you your last chance to get home via public transit. Currently a small Python project making use of the Google Maps Directions API; soon to be a Revspace wall display (a...")
 
m (Environment and Hardware)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Tells you your last chance to get home via public transit. Currently a small Python project making use of the Google Maps Directions API; soon to be a Revspace wall display (and possibly small printer for on-the-go train schedules?).
+
{{Project
 +
|Name=lastcall
 +
|Status=Completed
 +
|Contact=User:qguv
 +
}}
 +
 
 +
Tells you your last chance to get home via public transit. Currently [http://10.42.14.8/ a small website] giving leaving/arrival time estimates from Google Maps Directions API, but will soon have a (much) nicer web interface (automatic updating/cycling and so).
  
 
== Software ==
 
== Software ==
  
~140 lines of Python, see [https://github.com/qguv/lastcall the project on Github.] Probably should've used Haskell, but the Python library bindings were somewhat nicer (i.e. don't require globbing together URLs and parsing JSON).
+
~200 lines of Python running in a Docker container, see the [https://github.com/qguv/lastcall Github] and [https://hub.docker.com/r/qguv/lastcall/ Docker] pages. Probably should've used Haskell, but the Python library bindings were somewhat nicer (i.e. don't require globbing together URLs and parsing JSON).
 +
 
 +
== Environment and Hardware ==
  
== Hardware ==
+
lastcall runs as a web service on shell.space.revspace.nl. It is controlled with systemd. Once it's been built (from the development directory), the image is available on the local machine for anyone to use.
  
To be determined. [[Talk:Lastcall|Any ideas?]]
+
<pre>
 +
ssh shell.space.revspace.nl
 +
sudo systemctl {start,stop,enable,disable} lastcall
 +
</pre>

Latest revision as of 19:32, 17 October 2015

Project lastcall
Status Completed
Contact User:qguv
Last Update 2015-10-17

Tells you your last chance to get home via public transit. Currently a small website giving leaving/arrival time estimates from Google Maps Directions API, but will soon have a (much) nicer web interface (automatic updating/cycling and so).

Software

~200 lines of Python running in a Docker container, see the Github and Docker pages. Probably should've used Haskell, but the Python library bindings were somewhat nicer (i.e. don't require globbing together URLs and parsing JSON).

Environment and Hardware

lastcall runs as a web service on shell.space.revspace.nl. It is controlled with systemd. Once it's been built (from the development directory), the image is available on the local machine for anyone to use.

ssh shell.space.revspace.nl
sudo systemctl {start,stop,enable,disable} lastcall