Inspiration
As a first-year student actively involved in student self-government at the Institute of Social Informatics, I often witnessed peers struggle to articulate their ideas in formal settings—whether drafting proposals to university administration, summarizing meeting notes, or communicating with international partners. Many brilliant suggestions were lost not due to lack of merit, but because of language barriers, inexperience with official writing, or fear of sounding “unprofessional.”
I wanted to build a tool that democratizes access to clear, confident communication—especially for young civic leaders—without compromising privacy or requiring internet access. That’s how CivicDraft was born: an AI-powered Chrome Extension that brings the power of Gemini Nano directly to students’ fingertips.
What it does
CivicDraft is a privacy-first Chrome Extension that empowers student leaders to write, refine, and share civic documents with confidence—entirely offline. Built on Chrome’s built-in AI (Gemini Nano), it helps users: ✍️ Rewrite informal drafts into formal, respectful language (e.g., proposals, emails to administration), 📝 Summarize long meeting notes into clear action items, ✅ Proofread grammar and punctuation in real time, 🌍 Translate text between languages (e.g., Russian ↔ English) for international collaboration. All processing happens locally on the user’s device—no data is sent to the cloud, ensuring privacy, offline access, and zero server costs.
How we built it
CivicDraft is a lightweight Chrome Extension using Manifest V3. The frontend is a clean popup interface built with HTML, CSS, and vanilla JavaScript. The core functionality leverages Chrome’s new client-side AI APIs:
chrome.ai.rewriter – for tone adjustment and formalization, chrome.ai.summarizer – to distill key points from verbose input, chrome.ai.proofreader – for instant grammar correction, chrome.ai.translator – for fast, offline-capable translation. The architecture is modular: each AI feature is encapsulated in its own utility function, enabling easy testing and future expansion (e.g., adding multimodal input via Prompt API). The extension requires no backend, authentication, or external dependencies—making it instantly deployable and highly resilient.
Challenges we ran into
Limited documentation: Chrome’s built-in AI APIs are in Early Preview, so official guides were minimal. I relied on experimental samples and community insights to implement robust error handling. Performance on low-end devices: Gemini Nano inference can lag on older hardware. I optimized UX with loading states, debounced inputs, and result caching. User intent ambiguity: Early testers struggled to phrase effective prompts. I added smart defaults and contextual examples (“Try: ‘Make this sound like an official request’”) to guide usage. Offline reliability: Ensuring consistent behavior without internet required extensive local testing across Chrome versions and OSes.
Accomplishments that we're proud of
✅ Built a fully functional, privacy-preserving AI tool in under a week—using only client-side technologies. ✅ Solved a real pain point for student self-governance communities, especially in resource-constrained academic environments. ✅ Demonstrated that powerful AI can be both ethical and accessible—no accounts, no tracking, no latency from remote servers. ✅ Created a scalable foundation that can grow to support more civic use cases (e.g., policy drafting, feedback analysis, multilingual town halls).
What we learned
Client-side AI is ready for real-world impact—especially in education, activism, and public service, where privacy and accessibility matter most. Constraints breed creativity: Building without cloud APIs forced smarter UX decisions and clearer user guidance. Small tools can drive big change: A simple rewrite button can give a shy student the confidence to speak up in governance. The future of web AI is hybrid: While CivicDraft runs offline, future versions could optionally integrate Firebase AI Logic for complex tasks—blending privacy with power.
What's next for CivicDraft – AI Assistant for Student Self-Governance
🔜 Add Prompt API support for generating document templates (e.g., “Write a petition about library hours”). 📱 Develop a Progressive Web App (PWA) version for mobile student use. 🌐 Enable collaborative drafting with end-to-end encrypted sync (via WebRTC or local-first CRDTs). 🎓 Partner with student unions at universities like IKNK and beyond to pilot CivicDraft in real governance workflows. ♿ Improve accessibility: voice input, screen reader support, and simplified UI modes. Our vision: Every student, everywhere, should have an AI ally that helps them be heard—without ever compromising their privacy.
Built With
- chrome.ai.proofreader
- chrome.ai.rewriter
- chrome.ai.summarizer
- css
- html
- javascript