{"repo":"rocristoi/nextb-web","free":true,"listed":false,"github":"https://github.com/rocristoi/nextb-web","clone":"git clone https://github.com/rocristoi/nextb-web.git","description":"Get live transit data from the official TPBI API and GTFS datasets, on any device","language":"TypeScript","stars":11,"topics":["gtfs","nextjs","public-transport","stb"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"NexTB NexTB is a Next.js PWA for real-time Bucharest transit (STB trams, buses, and trolleybuses). It shows when vehicles are arriving at a stop, which vehicle it is (inventory ID, plate, illustration), how crowded it is, and whether the AC is likely working. The frontend is a Next.js App Router PWA (no App Router API routes). The API lives in backend/ — a standalone Fastify service you run on your own infrastructure. Set NEXT PUBLIC API URL to point the app at your API base URL. UI copy is Romanian-only. --- What you get on screen - Map - GTFS stops from TPBI, clustered. Tap a stop for live arrivals. - Lines - Pick a route and see vehicles moving along the shape on a map (Tour / Retour). - Faulty A/C - Report broken AC; community votes update confidence over time. - Alerts - Service notifications from STB ( info.stbsa.ro ). - Vehicle lookup - Search by inventory ID or license plate. - Fleet stats - Breakdown of vehicle types in the STB fleet. Each arrival row can show: ETA, vehicle image, inventory ID, plate, passenger count, AC status, comfort tier, and estimated stops away. --- How it works When you tap a stop, the app calls GET /api?stationID=… every 45 seconds . The server pulls live data from mo-bi.ro , combines it with GTFS files and local fleet registries, runs sanity checks, and sends back JSON the UI renders. The app (frontend) The PWA loads stop locations from the API ( GET /api/getstops ). The map is MapLibre; favorites and settings live in the browser (Zustand + ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rocristoi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rocristoi/nextb-web/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}