Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
sitr.us/buscatcher ================== A location-aware web application that displays arrival times for nearby bus and lightrail lines. Currently supported transit services include Portland's Trimet. Note that this application is under heavy development. buscatcher in text mode ------------------------- create a script that looks like this: #!/bin/sh curl -qLF "location=$*" http://buscatcher.sitr.us/location 2>/dev/null | lynx -dump -stdin | perl -pe 's/^(\s+\*)/*/; s/^(\s+)/ /g' and then run a command like this: [orz:~] % buscatch "SE Taylor & Grand" Stops near your location * SE Grand & Taylor StopID: 11483 distance: 0.018 miles + 6 M L King Jr to Jantzen Beach arriving in 8 minutes + 6 M L King Jr to Jantzen Beach arriving in 12 minutes * SE Grand & Belmont StopID: 11484 distance: 0.092 miles + 6 M L King Jr to Jantzen Beach arriving in 8 minutes + 6 M L King Jr to Jantzen Beach arriving in 13 minutes * SE Grand & Main StopID: 2170 distance: 0.118 miles + 6 M L King Jr to Jantzen Beach arriving in 7 minutes + 6 M L King Jr to Jantzen Beach arriving in 12 minutes ... Thanks go to Matt for designing this script. License ======== The MIT License Copyright (c) 2008 Jesse Hallett <email@example.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.