Inspiration

Every day, millions of people encounter civic issues like potholes, garbage dumps, broken streetlights, and water leakages — but there's no simple, tech-driven way for them to report and track them. We were inspired to build CivilSense_AI to empower citizens with AI tools to not just report issues but also hold civic systems accountable using data and awareness.

What it does

CivilSense_AI is an AI-powered civic platform that allows users to:

Report civic issues with descriptions and (optionally) images

Use AI (via Cohere) to automatically analyze the complaint and suggest category, urgency, and action

View and track issues using a live dashboard (Firebase + Chart.js)

View all submitted reports in one place

Participate in civic awareness through voting and a quiz

Access via a login interface with demo credentials

It's a complete system for issue tracking, analysis, engagement, and awareness.

How we built it

Frontend: HTML, CSS, Bootstrap 5 for responsive UI

Backend: Firebase Firestore for storing complaints in real-time

AI Integration: Cohere API (Command-R+) for categorizing civic complaints and estimating urgency

Data Visualization: Chart.js to build dynamic insights dashboards

Hosting: Deployed using Netlify

Other Tools: JavaScript, Font Awesome for icons, and manual login logic for demo flow

Challenges we ran into

Integrating the Cohere AI API into a front-end only app securely

Structuring Firebase Firestore for live complaint tracking

Designing a clean UI across multiple pages (login, report, insights, quiz)

Making it user-friendly enough for real-world usage in just 1 day

Accomplishments that we're proud of

Successfully used AI to interpret and classify real-world civic issues

Designed an engaging and informative awareness system (quiz + voting)

Achieved end-to-end data flow from submission → AI → dashboard

What we learned

How to quickly integrate third-party AI (Cohere) into a practical, real-world app

Real-time Firebase + Chart.js integration

Managing multi-page static site apps using Netlify

How design, UX, and public engagement all matter for civic impact

What's next for CivilSense_AI – Report. Analyze. Improve.

Build a mobile version (PWA or Flutter app)

Add support for multiple Indian languages

Create a government-side dashboard for issue resolution

Improve AI to include image classification using models like Google Vision

Map-based cluster analytics to find problem hotspots

Enable user authentication (Firebase Auth) to personalize reports

Built With

Share this project:

Updates