Bhara Koto
Crowdsourced Public Transit Fare & Route Reference Platform
Empowering everyday commuters across Bangladesh with transparent, verified public transit fare references.


Bhara Koto ('How much is the fare?') is an open civic tech platform created to resolve the rampant lack of fare transparency across Bangladesh's public transportation network. Commuters can look up government-approved and crowdsourced fares for buses, Metro Rail, CNGs, and local transport, backed by a community consensus verification pipeline.
Millions of commuters across Dhaka and regional corridors experience daily disputes and overcharging due to unannounced fare hikes and lack of accessible fare charts. Official fare guidelines are published as fragmented PDF circulars that are impossible to search on a mobile phone during a transit commute.
Fare transparency directly protects daily wage earners, students, and urban commuters from predatory pricing. Public transport is essential infrastructure; civic tools must be lightweight, instant, and work on spotty 3G/4G cellular connections.
Engineering Objectives
System Architecture
The platform couples a high-performance Django REST API with a reactive Next.js client. Transit stops and corridors are modeled as directed graphs in PostgreSQL, allowing fast stage calculation and distance-based fare approximations. Redis caches popular commuter routes.
Graph-Based Transit Staging
Routes are represented as ordered sequence nodes, calculating base fare, per-kilometer rates, and minimum allowable pricing.
Consensus-Driven Community Approvals
Crowdsourced fare updates undergo an automated consensus verification engine before human moderator approval.
Sub-50ms Cached Route Lookup
Frequently queried origin-destination pairs are cached in Redis with pre-calculated fare bands.
Core & Backend Implementation
- Django REST Framework endpoints for route discovery, stage calculating, and fare querying.
- Community contribution pipeline with IP-based rate limiting and reputation weighting.
- Admin moderation dashboard for verifying community submissions against official transport circulars.
- Automated database benchmark suite measuring query latency under synthetic commuter load.
- Geo-coordinate spatial data indexing for locating nearby bus stops.
Client & Interface Layer
- Next.js App Router with instantaneous client-side stop filtering.
- MapLibre GL / OpenStreetMap integration for visual route previews without expensive proprietary map APIs.
- Tailwind CSS mobile-first responsive layout with tactile touch targets.
- Bilingual support (Bangla & English) with zero performance overhead.
- Progressive offline caching of recent fare lookups in browser LocalStorage.
Data & Schema Design
Relational transit models connecting transit lines, route variants, ordered stops, and fare matrices.
Authentication & Security Controls
- Anti-spam bot protection and IP throttling on fare contribution submissions.
- Role-based moderation permissions for transit community leads.
- Rigorous input validation preventing erroneous fare outlier entries.
Engineering Challenges & Technical Decisions
Key Challenges Solved
Trade-Off Decisions
Testing & Verification Methodology
- Benchmark load tests simulating 1,000 concurrent commuter route queries.
- Mathematical verification of Dhaka Metro Rail fare formula versus stage stops.
- Cross-browser mobile compatibility verification.