Discover. Understand. Access.
Making civic services simpler, more accessible, and easier to navigate for everyone.
π Live Demo β’ π¦ Repository β’ π Report an Issue β’ π§ Pull Requests
Civic Help Setu is a modern civic-tech platform designed to make public services easier to discover, understand, and access.
Proudly part of Nexus Winter of Code β (NWOC), the project brings together open-source collaboration, practical problem-solving, modern frontend engineering, and technology for public good.
Government services are often distributed across multiple websites, departments, and complicated application processes. Citizens may struggle to understand eligibility requirements, identify the correct documents, or determine what to do next.
Civic Help Setu addresses these challenges through a unified, citizen-friendly digital experience that helps users explore public services, access simplified guidance, save useful resources, track service journeys, and manage important documents.
Our goal is simple:
Make civic information easier to understand and public services easier to navigate.
To build an accessible, intuitive, and user-centered digital platform that helps citizens navigate civic services with greater clarity and confidence.
We aim to:
- π§ Simplify the discovery of public services.
- π Make service requirements and procedures easier to understand.
- π€ Provide AI-assisted civic guidance.
- π Help users organize and follow their service journeys.
- π Support secure authentication and document management.
- π Encourage inclusive access through responsive and accessible design.
- π€ Build a collaborative open-source community through NSOC.
An assistant designed to help users understand civic information, explore public services, and navigate common service-related questions.
Explore a catalog of civic and government services through a structured interface designed to make information easier to find.
Understand service eligibility, requirements, application steps, and other relevant information through dedicated service pages.
Use Copy instructions under How to apply for a plain-text summary of the service's steps, document requirements, jurisdiction (when verified), and official sources. If automatic copying is unavailable, the page selects a read-only text area so you can copy manually. This summary uses public service details only; saved notes, assessment answers, and vault data are not included. Always verify current requirements with the official source.
On Appointment preparation (/appointment-prep), use the service checklist and local document naming helper to prepare clearly named PDF/JPG/PNG copies. Files remain in the browser and are not uploaded to Civic Help Setu; government portal requirements must be checked at the linked official source. See the document naming helper guide.
Save useful services for convenient access and revisit important information when needed.
On the Saved page, a collection switcher groups guides by their folder. A guide lives in exactly one folder, so nothing is duplicated and removing a guide updates every collection. Collections exist only while a saved guide uses them; a collection created empty is kept in memory for the current visit and is not stored.
Use the tracking dashboard to organize service journeys and review available progress information.
Each tracked application also has a timeline replay. It shows append-only event records grouped by submission, acknowledgement, review, query, and outcome; keeps citizen notes separate from official-source events; and compares two stored snapshots field by field. Conflicting or out-of-order evidence is routed to review instead of being overwritten. AI-style summaries are labelled as suggestions, cite event IDs and exact source dates, and never infer an official decision. See the timeline replay and event-difference documentation.
Authentication powered by Clerk, with support for email-based authentication and Google sign-in where configured.
A dedicated interface for organizing important citizen documents and credentials, subject to the application's configured storage and security implementation.
Access profile-related features and a more personalized platform experience.
Preview and export profile, account-owned saved services, journey metadata, checklist progress, and consent history through short-lived, account-bound, single-use JSON downloads. Recent authentication is required; vault metadata needs separate consent and an encrypted-vault passphrase. See the export schema and field index.
Provide authorized administrators with tools for reviewing and managing service resources.
Support importing service records from CSV or JSON files, with validation and duplicate checks.
A responsive design with theme support, built to provide a consistent experience across supported screen sizes.
Clear navigation, readable content, consistent interaction patterns, and a user-centered approach to public-service information.
Compare charges on an assisted-service-centre receipt with verified, versioned fee schedules. Government, portal, authorised-centre, and optional service charges are shown separately; receipt identifiers are redacted by default and unknown components are marked unverified. The assistant never collects payment credentials or initiates transactions. See the fee evidence guide.
Generate reproducible, schema-aware service guides, citizen applications, and grievance records with zero production PII, complete referential integrity, and one-click local development database loading (#778).
A dedicated preparedness workspace for municipal authorities and disaster response teams. Model critical service dependencies, detect single points of failure (SPOF) and dependency cycles with graph analysis, run tabletop exercises with timed inject simulations, record tactical decisions, calculate recovery time objective (RTO) gaps, generate printable offline continuity runbooks, and track corrective action items to closure. See architecture and operational documentation.
Isolated administration workspaces for distinct municipal and district civic authorities, supporting sovereign staff memberships, anti-IDOR scoped datasets, tamper-evident SHA-256 audit logs, bounded local AI guidance, and controlled cross-tenant public catalogue sharing.
A reviewer-only workspace for responsive service-card layout checks. Render the production card against deterministic synthetic long-title, multilingual and missing-metadata fixtures at named desktop, tablet and mobile viewports; inspect bounding boxes, overflow warnings and metadata gaps; review synthetic suggestions; compare a saved screenshot baseline; and export a private snapshot. It never reads or publishes production catalogue or citizen data, and review progress is not an official application status. See architecture, API and accessibility documentation.
A role-scoped workspace for local-authority climate reporting. Departments submit activity data with units, periods, source-document metadata and correction notes; the service calculates explainable tCO2e with immutable versioned emission factors, separates measured, estimated and excluded values, and keeps every calculation reproducible. Reviewers approve submissions before totals are published, missing-data estimates require a human decision, and the public view exposes only approved aggregates. See architecture, methodology and rollback documentation.
Runs untrusted civic document parsers / agent tools in isolated workers with CPU, memory and time limits; network disabled by default; restricted filesystem access; output validation; dependency and threat scanning. Results are illustrative and untrusted, and must be reviewed by a human before any civic action. Available at /agent-sandbox. See architecture, data-flow, threat model and deployment documentation.
A policy-team workspace for exploring how process changes could affect service demand, travel burden and document requirements before rollout. Uses synthetic personas and deterministic rules (never an AI model for simulation maths), reports sensitivity and uncertainty, validates against aggregate public statistics, and prohibits individual prediction or unsupported causal claims. Available at /policy-simulation. See architecture, data-flow, threat model and deployment documentation.
A citizen workspace for sharing selected case documents with a trusted helper
without exposing the entire account. Supports item-level sharing, expiry,
revocation, view/download scopes, recipient authentication, watermarked
exports, audit access, link-guessing prevention and blocked cached access after
revocation. Results are illustrative and untrusted. Available at
/case-collaboration. See architecture, data-flow, threat model and
deployment documentation.
A maintainer workspace for comparing a proposed service workflow against current behavior before publishing. Creates versioned staging snapshots, replays synthetic journeys, compares completion / validation / accessibility outcomes, blocks writes to production during shadow runs, and supports rollback and deterministic replay. Results are illustrative and untrusted. Available at /service-change-sandbox. See architecture, data-flow, threat model and deployment documentation.
A public directory with map and list search, facility-type and accessibility filters, accessible route details, and timestamped water, handwashing, lighting, accessible-stall and maintenance status. Authority-confirmed facility data is kept separate from moderated community observations; last verification date, confidence and source status are shown, correction/closure reports are anonymous and moderated, and duplicate facilities can be merged with an auditable tombstone. The board never requests or exposes visitor location history. See the status-board guide and architecture notes.
A standardized evaluation benchmark and open synthetic dataset for evaluating public service navigation, multilingual understanding (Hindi, Urdu, English), statutory citation grounding, and abstention safety against unverified claims or tout recommendations. Keeps deterministic rules outside LLM prompts and provides anti-contamination canary tokens. Available at /journey-benchmark. See architecture, threat-model, and evaluation documentation.
A local-first emergency card for residents that keeps working without a network. Every public contact must link to an official government source and show the date a human last verified it; numbers are never generated by AI. Citizens can search, install, refresh and delete the card on their device. Operators draft and submit contacts, reviewers verify and publish them, and administrators manage retention and rollback. Deterministic, versioned recommendations flag stale or missing coverage but never change a contact without a human decision. Available at /offline-emergency-card. See architecture, state machine, retention, rollback and data-source documentation.
| Category | Details |
|---|---|
| Project | Civic Help Setu |
| Domain | Civic Technology / GovTech |
| Program | Nexus Spring of Code β Winter Edition |
| Frontend | React 19 |
| Build Tool | Vite |
| Routing | React Router |
| Authentication | Clerk |
| Icons | Lucide React |
| Code Quality | ESLint |
| Deployment | Vercel-ready |
| License | MIT |
| Contribution Model | Open Source |
The platform includes the following major application areas:
| Route / Section | Purpose |
|---|---|
| Home | Introduction and service highlights |
| Assistant | AI-assisted civic guidance |
| Services | Explore available services |
| Service Details | Review individual service information |
| Saved | Revisit saved services |
| Track | Organize service journeys |
| Vault | Access the document vault |
| Profile | Manage profile-related information |
| Login / Sign Up | Authenticate with the platform |
| Open Source | Explore community contributions |
| Privacy Policy | Review privacy-related information |
| Admin | Access authorized administrative features |
| Form Explainer | Multilingual UP form field guidance & error-prevention assistant (#1001) |
| Catalogue Visual QA | Reviewer-only responsive service-card layout checks with synthetic fixtures and private review snapshots |
| Synthetic Datasets | Generate privacy-safe civic datasets (/synthetic-datasets) |
| Authority Workspaces | Multi-authority sovereign administration, isolated staff, datasets, and audit logs |
| Greenhouse-Gas Inventory | Department activity data, versioned factors, approvals and public emissions totals (/ghg-inventory) |
| Offline Emergency Card | Verified local emergency contacts, offline install/refresh, stale warnings, reviewer workflow and deterministic recommendations (/offline-emergency-card) |
| Agent Sandbox | Isolated workers for untrusted civic document parsers with CPU/memory/time limits, no network by default, output validation and threat scanning (/agent-sandbox) |
| Policy Scenario Simulator | Agent-based simulation of how policy changes affect demand, travel burden and document requirements (/policy-simulation) |
| Case Collaboration Space | Item-level, time-bound, revocable sharing of selected case documents with a trusted helper; view/download scopes, passcode gating, audit log and watermarking (/case-collaboration) |
| Service Change Sandbox | Versioned staging snapshots and synthetic shadow-traffic comparison of completion, validation and accessibility outcomes (/service-change-sandbox) |
| Journey Benchmark & Dataset | Standardized synthetic benchmark & evaluation dataset for civic navigation, vernacular comprehension and citation grounding (/journey-benchmark) |
| Public Toilet Status Board | Map/list search, essential-facility status, verification source, anonymous corrections and duplicate merging (/toilet-status-board) |
The availability of individual features depends on the application's current implementation and configuration.
| Technology | Purpose |
|---|---|
| React 19 | Component-based user interface |
| Vite | Development server and build tooling |
| React Router | Client-side navigation |
| Clerk | Authentication and identity management |
| Lucide React | Interface icons |
| CSS | Styling, responsive layouts, and animations |
| ESLint | Code quality and linting |
| Vercel | Deployment and hosting |
Civic-Help-Setu/
βββ .github/
βββ public/
βββ src/
β βββ ai/
β βββ assets/
β βββ components/
β βββ context/
β βββ data/
β βββ pages/
β βββ App.css
β βββ App.jsx
β βββ index.css
β βββ main.jsx
βββ .env.example
βββ .gitignore
βββ CONTRIBUTING.md
βββ CODE_OF_CONDUCT.md
βββ CHANGELOG.md
βββ SECURITY.md
βββ eslint.config.js
βββ index.html
βββ package.json
βββ package-lock.json
βββ refactor.js
βββ vercel.json
βββ vite.config.js
βββ LICENSE
βββ README.md
Follow these steps to run Civic Help Setu locally.
Make sure you have installed:
- Node.js 18 or newer, compatible with the project's dependencies.
- npm.
- Git.
git clone https://github.com/GoldRay19/Civic-Help-Setu.git
cd Civic-Help-Setunpm installCreate a local environment file using the example provided in the repository.
cp .env.example .envOn Windows PowerShell, you can also run:
Copy-Item .env.example .envConfigure the variables required by the application:
VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_keyImportant security notes:
- Use only the environment variables required by the actual implementation.
- Variables prefixed with
VITE_are exposed to client-side code and must not contain private API secrets. - Do not expose an OpenAI secret key in a React frontend. Route AI requests through a secured backend or another appropriate server-side integration.
- Never commit
.envfiles containing credentials. - Verify that the document vault uses appropriate access controls and secure storage before uploading sensitive documents.
- Create an account through the Clerk Dashboard.
- Configure your application and authentication methods.
- Add the publishable key to your local environment file.
- Configure the required sign-in methods and allowed application URLs.
- If the application uses Clerk metadata for roles, ensure administrative permissions are assigned and verified server-side.
Important: Hiding administrative controls in the frontend is not sufficient to secure administrative operations. Any privileged backend actions must independently verify the user's permissions.
npm run devOpen the local URL printed by Vite. The default is generally:
http://localhost:5173
npm run buildnpm run lintnpm testRun this command if a test script is configured in package.json. If the script is not configured, use the test command provided by the project.
Dependency update pull requests follow the dependency maintenance policy.
Civic Help Setu includes a Vercel configuration and is structured for frontend deployment.
- Import the repository into Vercel.
- Configure the required environment variables.
- Configure authentication redirect URLs.
- Verify that the production domain is allowed by the authentication provider.
- Confirm that client-side routes work after refreshing a page.
- Test the AI assistant and any required backend integrations.
- Check mobile responsiveness and accessibility.
- Verify that sensitive information is never exposed through frontend bundles or public API responses.
Live Application: https://civic-help-setu.vercel.app/
Civic Help Setu is part of Nexus Spring of Code β Winter Edition, encouraging developers to collaborate on practical software projects and contribute to meaningful open-source development.
We welcome contributors interested in frontend engineering, UI/UX, accessibility, AI-assisted civic guidance, data validation, testing, documentation, and improving the citizen experience.
Whether you are new to open source or an experienced developer, you can help make civic information easier to navigate.
Ideal for: First-time contributors and developers learning open source.
Example tasks:
- Fix minor UI inconsistencies.
- Improve typography, spacing, and responsive layouts.
- Correct spelling or grammar in the interface.
- Improve README documentation.
- Add accessibility labels and descriptive text.
- Fix simple CSS or styling bugs.
- Improve empty states and loading messages.
- Report reproducible bugs.
Goal: Build confidence with the repository, Git, GitHub, and the contribution workflow.
Ideal for: Contributors comfortable working across components and application logic.
Example tasks:
- Improve reusable React components.
- Enhance service discovery and filtering.
- Improve form validation and error handling.
- Strengthen responsive behavior across pages.
- Improve service data normalization and validation.
- Enhance authentication-related UI flows.
- Add tests for existing components or utility functions.
- Improve the usability of saved services and tracking pages.
Goal: Deliver focused improvements to application functionality, maintainability, and user experience.
Ideal for: Experienced contributors ready to handle complex features or architectural improvements.
Example tasks:
- Improve the architecture of the AI assistant.
- Implement robust service data import and validation workflows.
- Strengthen authorization and administrative workflows.
- Improve secure document-management integrations.
- Design reliable backend API integrations.
- Develop comprehensive testing and error-handling strategies.
- Optimize application performance and accessibility.
- Address complex bugs spanning multiple components.
Goal: Deliver substantial, well-tested improvements with clear documentation and appropriate security considerations.
Contribution levels are indicative complexity categories. The actual level, eligibility, assignment, and acceptance criteria should follow the relevant issue labels and NSOC program rules.
We appreciate contributions of every size, from a small documentation fix to a substantial feature.
Visit the Civic Help Setu repository.
Review the README, contribution guidelines, open issues, and existing pull requests.
Browse the open issues.
Look for tasks marked with:
level1β beginner-friendly tasks.level2β intermediate tasks.level3β advanced tasks.bugβ fixes for existing functionality.enhancementβ feature improvements.documentationβ documentation-related work.
Use the labels that actually exist in the repository; the names above are suggested conventions.
Comment on the issue describing your proposed approach.
Wait for the project maintainer or authorized issue assignee to confirm the task and clarify the expected outcome.
Avoid duplicating another contributor's work.
git clone https://github.com/YOUR-USERNAME/Civic-Help-Setu.git
cd Civic-Help-SetuAdd the upstream repository:
git remote add upstream https://github.com/GoldRay19/Civic-Help-Setu.gitCreate a focused branch:
git checkout -b fix/short-descriptionKeep changes focused, readable, and consistent with the existing codebase.
Run the available checks:
npm run lint
npm run buildRun the project's configured tests where applicable.
Push your branch and open a pull request against the appropriate repository branch.
Include:
- The issue number.
- A clear description of the problem.
- The changes you implemented.
- Testing performed.
- Screenshots for significant UI changes.
- Any relevant accessibility or security considerations.
Respond constructively to review feedback, make requested changes, and keep your branch updated when necessary.
Contributions are reviewed according to project standards and applicable program rules.
Open source grows through people who share ideas, solve problems, review code, improve documentation, and help others learn.
A big thank-you to everyone who contributes to Civic Help Setu!
Contributor avatars are generated using the repository's public contribution graph. Displayed contributors may vary as repository activity changes.
You do not need to build a complete feature to make a difference.
You can contribute by:
- Writing or improving documentation.
- Reporting bugs with clear reproduction steps.
- Reviewing pull requests.
- Improving accessibility.
- Testing the application on different devices.
- Improving the quality and accuracy of service information.
- Helping new contributors understand the codebase.
Every thoughtful contribution helps make the platform better.
Civic Help Setu is intended to help citizens navigate public services responsibly.
Because the platform may involve authentication, administrative permissions, AI integrations, and document-related features, security and privacy deserve particular attention.
Contributors should:
- Never commit credentials, API keys, or personal documents.
- Avoid including real identity documents in screenshots or test data.
- Validate imported service records before accepting them.
- Ensure administrative actions enforce authorization checks.
- Avoid sending sensitive personal information to AI services unnecessarily.
- Report potential vulnerabilities privately according to
SECURITY.md.
Please review the repository's security policy before reporting sensitive issues.
Potential areas for future development include:
- π Multilingual civic information.
- π§ More reliable AI-assisted service guidance.
- π Better service search and filtering.
- βΏ Further accessibility improvements.
- π± Enhanced mobile usability.
- π Notifications for relevant service updates.
- π§ͺ Expanded automated testing.
- π‘οΈ Stronger privacy and security controls.
- π Improved service tracking and progress visibility.
- ποΈ More robust service data management.
These are potential directions rather than a promise that every feature is already implemented or scheduled.
Civic Help Setu is released under the MIT License.
See the LICENSE file for details.
Have a question, discovered a bug, or want to contribute?
- Repository: GoldRay19/Civic-Help-Setu
- Live Application: Civic Help Setu
- Issues: Report a bug or suggest a feature
- Pull Requests: Explore contributions
- Contributors: Meet the contributors
For collaboration, please use the repository's issue and pull-request workflows.
Built with β€οΈ for citizens, by the open-source community.
Part of Nexus Spring of Code β Winter Edition.
Civic Help Setu β Connecting People with Public Services.