PulseGov is an AI-powered civic tech platform designed to streamline public feedback, intelligently prioritize municipal issues, and engage only the relevant communities through hyperlocal decision-making and dynamic mapping. Built for transparency, efficiency, and smarter governance.
- π Features
- π§ Architecture
- ποΈ Data Models
- π Civic Referendum System
- π§ AI Capabilities
- πΊοΈ Feedback Map & Population Scaling
- π§© Departmental Dataset
- β±οΈ Rate Limiting & Abuse Prevention
- π οΈ Installation
- βοΈ Tech Stack
- πΈ Screenshots
- AI-Powered Feedback Prioritization based on season, location, and urgency
- User-Specific Referendum Links for hyperlocal decisions
- Smart Text Analysis that mimics Redditβs hot ranking
- Geospatial Feedback Map with pin-based issue clustering
- Spam & Toxicity Detection
- Sentiment Analysis & Department Assignment
- Duplicate Detection (StackOverflow-style suggestion system)
- Threaded Comments & Status Tracking
- Population Density Awareness for scalable impact
- Structured Departmental Routing System
- AI BOT Assistance for real-time feedback and engagement
- Nice looking UI
π PulseGov Feedback Lifecycle β How It Works This process illustrates how a piece of feedback from a citizen travels through the PulseGov system, from submission to resolution and continuous improvement:
-
A user submits a complaint, suggestion, or question.
-
Optional fields: title, photo, and location (can be auto-detected or manually selected).
-
π Location Identification: Detects the citizenβs location.
-
π§ AI Analysis:
- Performs sentiment detection (positive, neutral, negative).
- Spam and toxicity filtering to prevent abuse.
- Assigns priority level and routes the issue to the appropriate municipal department.
- π Feedback Grouping: Detects and suggests similar feedback to avoid duplication.
-
Citizens can upvote/downvote the feedback.
-
Allows comments and reports for moderation.
-
A rate limit ensures each user can only submit up to 3 feedbacks per hour.
-
Government dashboards receive structured feedback with maps and analytics.
-
Officials assign status: Open, Working, Resolved, or Closed.
-
May publicly respond or take direct action.
-
The system triggers reminders/updates to citizens.
-
A changelog may be added for transparency.
- Citizens are notified of changes or updates to their feedback.
- The system remains active for follow-up feedback or new submissions, keeping the loop alive and dynamic.
[ Citizen ]
β
βΌ
π Submits Feedback (complaint/suggestion/question)
β
βΌ
[ PulseGov Platform ]
ββ π Identifies location (auto/manual)
ββ π§ AI tags & analyzes feedback
β ββ Sentiment detection
β ββ Spam/toxic filtering
β ββ Priority & department assignment
ββ Groups with similar issues (avoid duplicates)
β
βΌ
[ Community Engagement ]
ββ Citizens vote up/down
ββ Comment and report
ββ Rate-limited to avoid abuse
β
βΌ
[ Government ]
ββ Receives structured insights + maps
ββ Assigns status (Open, Working, Resolved)
ββ Replies publicly or takes action
ββ System sends citizen reminders & updates
ββ Add a Changelog
β
βΌ
π¬ [ Citizen Receives Update ]
β
βΌ
π Loop Continues with New or Follow-up Feedback
Field | Description |
---|---|
Type | Suggestion, Complaint, Question |
Details | Full description of the issue |
Photos | Optional media upload |
Title | Optional short title |
Location | Auto/manual input |
Field | Description |
---|---|
Tags | Keywords extracted from text |
Spam Detection | Flag for inappropriate or duplicate content |
Priority Type | High, Medium, Low |
Priority Time | Estimated time for resolution |
Sentiment | Negative, Positive, Neutral |
Department | Assigned based on context |
Recommendation | Suggested next action |
Total Score | Composite priority rating |
Field | Description |
---|---|
Upvotes / Downvotes | Community voting system |
Comments | Threaded public discussion |
Reports | Abuse/inappropriate flagging |
Status | Open, Working, Resolved, Closed |
Reminders | Follow-up notifications |
PulseGov enables hyperlocal referendums by generating:
- User-specific, time-limited links
- Delivered only to citizens in affected areas
- Valid for short durations to ensure relevance
- Ensures decisions are voted only by those impacted
- Keyword Learning: Identifies which complaints are resolved quickly or satisfy citizens.
- Dynamic Priority Score: Ranks feedback like Redditβs βHotβ section.
- Feedback Grouping: Suggests similar complaints to avoid duplicates.
- Language & Toxicity Filters: Auto-flags harmful feedback.
- Geographic + Seasonal Prioritization: Example β higher priority for fire-related issues during summer.
- Each complaint is pinned on a dynamic map
- Uses population density radius to scale priority
- Helps focus on areas with greater public impact
Field | Description |
---|---|
Name | Department Name |
Description | Scope and responsibilities |
Keywords | Tags for routing relevant feedback |
Priority Window | Season/time of heightened activity |
Geographic Relevance | Areas with recurring or critical issues |
- Max 3 Feedbacks/User/Hour
- Spam filtering with user reputation check
- Only one valid report is required to flag feedback
- Community moderation for transparency
- Clone the repo:
git clone https://github.com/alpetgexha/pulsegov.git
cd pulsegov
composer install
npm install && npm run dev
cp .env.example .env
php artisan migrate --seed
php artisan key:generate
composer run dev
Start the queue worker in another terminal (ssl is required for OpenAI):
php artisan queue:work --queue=analytics
- Laravel 12 (Backend)
- React (Frontend)
- Tailwind CSS (Styling)
- OpenAI (AI for language/sentiment/keywords)
PulseGov β Capturing the βpulseβ of the people for government services.
PulseGov β Modern and intuitive; reflects real-time citizen sentiment.