GitHunt
SQ

squidarth/nyc-transit-hud

NYC Transit heads-up display

Summary

This is an application that displays an arrivals board for
the New York City subway. It's in very early stages, and at
the moment, only works for a single subway station.

See https://nyc-transit-hub.onrender.com/ for what this looks like.

Development

Running the backend

$ pip install -r requirements.txt
$ MTA_API_KEY=API_KEY FLASK_APP=app PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python flask run

Running frontend in dev

$ cd webapp
$ npm run start

Production

To deploy this, there is a ./build.sh script that you can run, and then after that,
start the Flask app with a WSGI server, like gunicorn.

$ ./build.sh
$ MTA_API_KEY=API_KEY FLASK_APP=app PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python gunicorn app:app

Languages

JavaScript44.0%Python35.4%HTML13.5%CSS6.4%Shell0.7%

Contributors

Created July 6, 2022
Updated January 13, 2026
squidarth/nyc-transit-hud | GitHunt