TPT Transport

TPT Transport – Open Source Public Transport Platform | TPT Solutions
Open Source Software

open source β€” tpt solutions

🚌

TPT Transport

A comprehensive open-source public transportation platform designed for cities, municipalities, and transport authorities. Not a ride-sharing app β€” a complete solution for managing scheduled public transport, real-time transit information, and passenger services at city scale.

PHP 8.1+ JavaScript PostgreSQL + PostGIS GPS Tracking PWA Docker MIT License

What is TPT Transport?

TPT Transport is an open-source platform built specifically for public transportation operators β€” not ride-sharing. It gives cities and transport authorities the tools to manage bus, train, tram, and ferry networks in one unified system, with real-time passenger information, GPS fleet tracking, integrated fare management, and AI-powered route optimisation.

The platform ships with three Progressive Web Apps: a passenger-facing transit app, a driver interface, and a comprehensive admin dashboard. All three work offline, push live notifications, and install as native apps on any device.

Key Features

πŸ“‘

Real-Time Transit

Live bus and train locations, arrival predictions, delay notifications, and service disruption alerts pushed to passengers instantly.

πŸ—ΊοΈ

GPS Fleet Tracking

Real-time vehicle location monitoring with geofencing. PostGIS spatial indexing for fast location-based queries.

🎟️

Fare Management

Integrated ticketing, fare calculation, and revenue collection. Stripe payment processing included out of the box.

πŸ”€

Multi-Modal

Unified system for buses, trains, trams, and ferries. Journey planning across transport modes with walking segments.

πŸ“Š

Analytics

Real-time KPI dashboards, revenue tracking, passenger behaviour analysis, and performance monitoring.

πŸ”’

Security & GDPR

JWT authentication, RBAC, end-to-end encryption, audit logging, fraud detection, and GDPR-compliant data anonymisation.


Quick Start

# Clone and start with Docker
git clone https://github.com/PhillipC05/tpt-transport.git
cd tpt-transport
docker-compose up -d

# Run database migrations
docker-compose exec backend php setup.php

# Build frontend assets
docker-compose exec frontend npm run build

Public Transport vs Ride-Sharing

FeatureTPT Transport (Public)Ride-Sharing
Target UsersGeneral public, daily commutersIndividual travellers
Service ModelScheduled, fixed routesOn-demand, flexible routes
IntegrationMulti-modal transport systemsStandalone ride service
AccessibilityUniversal design requirementsCommercial service standards

Tech Stack

PHP 8.1+ PostgreSQL + PostGIS Redis JavaScript ES6+ React (Passenger PWA) Webpack Nginx Docker Jest PHPUnit Stripe