RaipurOne
One stop solution for ALL civic issues.
Created on 18th November 2025
•
RaipurOne
One stop solution for ALL civic issues.
The problem RaipurOne solves
The Problem It Solves
Cities lack a unified and efficient way for citizens to report civic issues. Existing systems are fragmented, hard to use, or limited to one platform. Because of this, people often face:
- Difficulty submitting complaints with proper context (photos, location, descriptions).
- Delays caused by misrouted or unstructured complaints.
- No transparency or updates once a complaint is submitted.
- No reliable way to check how safe a place is before traveling.
- Limited accessibility for users who prefer WhatsApp or Telegram instead of dedicated apps.
RaipurOne solves these problems by providing a single platform where citizens can submit complaints through a mobile app or through WhatsApp/Telegram bots. The system supports text, images, and live location, ensuring complete and structured reports.
AI is used to classify and route complaints to the right department and assign priority.
The Travel Saathi module offers time-based safety scores, weather and AQI integration, and contextual risk insights, helping users make safer travel decisions.
All updates are sent back to users instantly, creating a smoother and more reliable civic reporting experience.
Challenges we ran into
Media Upload Normalization
WhatsApp (via Twilio) and Telegram send media in different temporary formats.
To handle this, I built a custom media proxy that:
- Downloads temporary media URLs
- Normalizes formats
- Uploads them to Supabase Storage
- Attaches the correct metadata and paths to the complaint entry
Twilio Rate-Limit Handling
Twilio’s WhatsApp API has strict message rate limits.
Messages were failing silently during testing.
To fix this, I created an outbound_queue system that:
- Stores failed outbound messages
- Retries them using exponential backoff
- Ensures delivery even under heavy load
AI Routing Inconsistency
LLM-based routing was inconsistent depending on how a user phrased the complaint.
I implemented a hybrid approach:
- A lightweight offline keyword classifier inside the mobile app
- Backend AI for refinement when available
This made department routing far more stable.
Expo File Upload Issues
Expo returns different URI structures across platforms (Android, iOS, Web).
Uploads to Supabase failed due to MIME type conflicts and FormData formatting.
I resolved this by setting explicit MIME types, fixing FormData encoding, and adjusting Supabase bucket upload policies.
Location Data Differences
Bots and mobile apps send location coordinates in different shapes (lat/lng vs. nested objects).
I built a normalizeLocation() utility to convert all location formats to a single consistent schema.
Technologies used
