3 ms·
Show HN: Munimet.ro – ML-based status page for the local subways in SF
During a recent subway outage in San Francisco I decided to build a webapp in the spirit of "Do I Need an Umbrella," basically to answer the question "Should I take the subway or a bus?"
In the interest of learning new tools I decided to vibe code it as much as possible.
First, I had Claude Code write a background script to download images of the real-time circuit diagram of the subway, which are publicly available here:
http://sfmunicentral.com/ http://sfmunicentral.com/
Next I had it build an image labeler tool in tkinter, which turned out to need a lot of manual tweaking before I could even get to the labeling. Seemed like the right tool for the job, but it would have saved time if I'd built it from scratch myself.
The most interesting part was turning the labeled image data into predictions with pytorch. Claude wrote the initial script fairly quickly, but as these things go it required manual tweaking and second guessing myself on the images flagged as outliers. I'll admit I got embarrassingly far along before realizing that Claude hadn't enabled pytorch's GPU support; a real facepalm moment on my part.
For those curious, brave, or crazy enough to dive in the source code is available here under an MIT license:
https://github.com/MrEricSir/munimet.ro https://github.com/MrEricSir/munimet.ro
- hommelix 9mo agoI'm wondering why you chose a domain name of Romania for something local to San Francisco in California, USA?
- aaronbrethorst 9mo agomunimetro.com was probably taken
- laughing_snyder 9mo agoNope https://www.whois.com/whois/munimetro.com https://www.whois.com/whois/munimetro.com
- MrEricSir 9mo agoIt spells out the term "Muni Metro" using a "domain hack": https://en.wikipedia.org/wiki/Domain_hack https://en.wikipedia.org/wiki/Domain_hack Basically it's fewer characters to type than munimetro.[whatever]
- rob74 9mo agoActually I'm surprised there isn't a .metro TLD yet...
- bobthepanda 9mo agoThis is cool, but I feel like rather than use an image labeler it would probably make more sense to use the real-time GTFS feed Muni has
- MrEricSir 9mo agoWhile I could be wrong (and often am) I don't think there's a way to tell which track segments are switched on/off or which station platforms are in "hold" mode from the GTFS feed.