Inspiration It started with a frustrating Tuesday night in my hostel room at Chandigarh University Lucknow. The WiFi had been down for three hours before my midnight assignment deadline. I opened five WhatsApp groups, messaged seniors, got no response. Eventually I walked to the warden's room at 11 PM and was told — "Submit a written complaint tomorrow morning." Then it got more serious. A friend told me about a junior who had a medical episode in the hostel and nobody knew which number to call. Another student missed the TCS placement drive because the notice was buried in a forwarded WhatsApp message. These weren't edge cases. These were everyday failures of communication at a university that deserved better. That one question — what if every student had a single intelligent platform that actually responded? — became CampusHub.
What It Does CampusHub is an AI-powered smart campus platform built exclusively for Chandigarh University Lucknow. Seven modules, one app, powered by Gemini AI. Complaint System — Students describe issues in plain language. Gemini automatically assigns the right department, sets priority, and suggests action. No admin involvement. Emergency SOS — One tap from any page. Gemini classifies the emergency type and dispatches the exact authority — Medical Officer, Anti-Ragging Cell, Security, Counsellor — with live GPS and estimated arrival time. Lost & Found — Upload a photo. Gemini analyses the image and matches it against reported items across campus. Campus Location Finder — 120+ locations mapped with block, floor, LHS/RHS corridor, and room number. Type anything, find it instantly. Events, Announcements, and Admin Dashboard — replacing broken WhatsApp chains with a proper, real-time system.
How We Built It We made one deliberate decision — no frameworks, no backend, no setup friction. CampusHub runs as a single HTML file that opens on any device in under ten seconds. The app runs on a reactive state object in vanilla JavaScript. The UI was built with a custom CSS design system — Poppins, Plus Jakarta Sans, Fira Code — intentionally designed so a non-technical first-year student can use it without any training. Gemini 1.5 Flash powers the AI layer with temperature set to 0.3 — low enough for consistent, reliable classifications. Every AI call also has a smart local fallback so the demo never breaks regardless of API availability.
Challenges We Ran Into Getting Gemini to return consistent output was the hardest technical challenge. Early prompts returned conversational text or broken JSON. We solved it by being extremely explicit — specifying exact field names, exact value options, and strict JSON-only instructions in every prompt. A CSS class conflict bug nearly broke the demo. During redesign we renamed 40+ CSS classes but old JavaScript render functions still referenced the original names — making text invisible and cards unstyled. Auditing every render function took longer than building any single feature. Balancing AI depth with demo reliability was a product challenge. We couldn't afford a broken demo in front of judges. The solution was complete local fallback logic for all three Gemini integrations — the app always works, Gemini just makes it smarter. Mapping 120+ real campus locations — block numbers, floors, LHS/RHS corridors, room numbers, timings, contact numbers — was tedious but it's what makes the product feel genuinely built for this campus.
Accomplishments That We're Proud Of Every single button in this application does something real. Not a mockup. Not a placeholder. Every module is fully functional and connected. Three distinct, meaningful Gemini integrations — not a chatbot, not a text generator, but AI that routes complaints, dispatches emergency authorities, and matches physical objects. The AI is load-bearing, not decorative. We designed for non-technical users from the start — clean typography, intuitive navigation, clear feedback on every action. A fresher who has never seen the app should file an emergency report in under 30 seconds. The Emergency SOS system — Gemini classification, authority mapping, live GPS, real helplines, floating button on every page — is something that could genuinely help a student in a real crisis.
What We Learned The hardest part of building a product is not the code — it's the decisions. Which features to include, which to cut, how much AI is useful versus overwhelming. Gemini is powerful but needs to be guided precisely. Prompt engineering is a real skill — vague inputs produce vague outputs, and in an emergency classification system, vague is dangerous. UI consistency is harder than UI design. Our biggest bugs were not logic errors — they were mismatched class names and CSS variables. Discipline matters more than creativity when maintaining a large codebase. Fallbacks are features. A system that works 100% of the time without AI and works better with AI is a resilient system. That is how real products should be built. Building for your own community hits differently. Every location we mapped, every helpline we included — we knew exactly why it was there.
What's Next for CampusHub Backend & Persistence — Firebase or Supabase for real user accounts, persistent data, and cross-device sync. The frontend logic is already written — the backend is a one-day integration. Mobile App — React Native version with native push notifications and a home screen SOS widget that works without opening the app. Real-time Authority Alerts — When a Critical emergency is filed, the relevant authority's phone rings. WhatsApp Business API or SMS for instant real-world alerting. AI Analytics — Aggregate complaint data into a campus heatmap showing which locations, departments, and issue types generate the most problems. Data-driven university management. Multi-Campus Expansion — The architecture is config-driven. Location data, department names, authority mapping — all swappable per campus. CampusHub could deploy at any university in India within a week.
"We didn't build CampusHub to win a hackathon. We built it because we needed it."
Demo: UID 25lmmc3036 · Password akshat123
Log in or sign up for Devpost to join the conversation.