liveline /

Filename Size Date modified Message
41 B
A little bit of polish (and trying lines with splits in)
875 B
This is LiveLine, my own attempt at writing a live Underground trains viewer
(with many thanks to


You'll need a reasonably recent version of Python, simplejson, and eventlet.

Once you have those, just run from the directory it's in, and point
your web server at the web/ directory

Implementation notes

The interface uses canvas and font embedding so it looks reasonably like the
real line maps you see on the Underground, albeit without the interchange
circles (they make it hard to see the trains).

The backend uses the detailed train API for each station, so it fires off a hell
of a lot of requests (the main reason eventlet is used, we can interleave them).


Deal with split lines/double lines (everything except the Jubilee, Victoria and
Bakerloo, really).
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.