Inspiration
In the 1949 song "Charlie on the M.T.A.", Charlie can't pay the extra nickel to get off the subway, so he rides under Boston forever. (It's why the fare card is called the CharlieCard.) New students have the opposite problem: they never get on. Priya landed from India in August: no car, about $10 for dinner, and she'd never left campus. Boston is full of cheap food, quiet study spots and free things to do, all on the T, but new students stay in the campus bubble, and the housing search is full of scams. Line Collector makes a student's first week feel like exploring a city, not surviving one.
What it does
- Live T map with every station, live trains and alerts, on Google's photoreal 3D Boston, with our lines and pins on top.
- First Week in Boston: five quests to real places (food that tastes like home, a free landmark, a study spot, a T line you've never ridden, and how to rent without getting scammed).
- Find food and study spots by budget, craving, diet, allergens and open-on-arrival, with search by meaning ("cozy dumplings, cheap"), real Google ratings, and travel times by walk, T, bus, Blue Bikes and rideshare.
- Check in with a photo to collect stops for your school's weekly board, ranked fairly per active player. Gemini verifies the photo.
- Stop Planner: a visible 6-step Mastra workflow ("$10, two hours, spicy, then somewhere quiet to study").
- Live: a rental scam check, verified student sublets, and a housing finder.
- $0 Boston: free places, day trails and live events.
- Local partners: punch cards for slow hours, with reward receipts written on Solana.
- Street Runner: be Charlie, but better. Run any T or Commuter Rail line through photoreal 3D Boston, jump onto trains, roll under low bridges, grab a blue bike.
How we built it
TypeScript, React and Express. MapLibre GL, with Google Photorealistic 3D Tiles rendered in three.js and kept in sync with the map camera. MBTA V3 API (live trains, predictions, alerts) on a poller. OpenStreetMap places with diet and allergen tags. Google Routes and Places. Gemini for photo verification, a menu reader, scam scans, embeddings and translation. A Mastra workflow for planning. Tiger Data (TimescaleDB) with hypertables, continuous aggregates for the school board, delays and busy hours, and pgvector for search. Solana devnet receipts.
Challenges we ran into
- Drawing Google's 3D city inside an interactive map, in sync with the camera, so pins sit on the right buildings.
- Much of the T runs underground, but a 3D city is captured from above, so Street Runner starts each line on its best open-air stretch and never jumps onto roofs.
- Two 3D cities on one page shared one tile cache and starved each other until we gave each its own.
- Keeping photo check-ins strict without making the demo impossible.
Accomplishments that we're proud of
Everything on screen is real and live: trains, alerts, 3D Boston, ratings, travel times, Tiger aggregates and Solana receipts. We shipped more than 15 pull requests overnight without a single merge conflict.
What we learned
How 3D tile streaming works (screen-space error, caches, queues), how to retarget motion capture between skeletons, and that honest labels ("est.", "sample", "demo") make a demo more convincing, not less.
What's next
Pilot partners near campus, student menu scans at scale, a September move-in launch, then new residents and visitors. Unlike Charlie, every student gets off at their stop.
Built With
- cloudflare
- docker
- express.js
- gemini
- google-maps
- google-places
- google-routes
- maplibre
- mastra
- mbta-api
- node.js
- openfreemap
- openstreetmap
- pgvector
- postgresql
- react
- solana
- three.js
- tiger-data
- timescaledb
- typescript
- vite
- vultur