This repository serves as a centralized database for all civic issue reports from reportcard.fun. Instead of expensive backend infrastructure, we use GitHub Issues as a free database with automated analytics processing.
- π Unlimited Storage - Store millions of civic reports for free
- π€ Automated Analytics - GitHub Actions process data every 6 hours
- π Real-time Dashboard - Live statistics and insights
- π·οΈ Smart Categorization - Automatic labeling by issue type and location
- π Search & Filter - Built-in GitHub search capabilities
- π± Community Insights - Track trends and hotspots
- π° Zero Cost - Completely free forever!
User generates certificate β GitHub Issues API β Issue created β Analytics processed β Dashboard updated
Each civic report becomes a GitHub issue with:
- Title: Issue type + location
- Body: Structured data (type, location, date, notes, etc.)
- Labels: Categorization (issue-type, location, year, etc.)
- State: Open (active) or Closed (resolved)
The system automatically generates:
- Total reports count
- Issue type distribution
- Geographic hotspots
- User activity tracking
- Daily activity trends
- Top contributors
- Database: GitHub Issues (unlimited, free)
- Automation: GitHub Actions (2,000 free minutes/month)
- Processing: Node.js scripts
- Analytics: JSON data files
- Frontend: React dashboard component
- Visit reportcard.fun
- Report a civic issue (pothole, garbage, etc.)
- Generate certificate with photo and location
- Your report is automatically stored in this database
- View community analytics and insights
- Clone this repository
- Install dependencies:
npm install
- Run analytics:
npm run analytics
- View generated data in
analytics/
folder
civic-issues-database/
βββ .github/
β βββ workflows/
β βββ analytics.yml # Automated analytics
βββ scripts/
β βββ analytics.js # Data processing
β βββ create-summary.js # Summary generation
β βββ comment-analytics.js # Issue comments
βββ analytics/ # Generated analytics files
β βββ summary.json
β βββ issue-types.json
β βββ locations.json
β βββ daily-activity.json
βββ package.json # Dependencies
βββ README.md # This file
- Triggers: Every 6 hours, on issue events
- Processes: All civic reports
- Generates: Analytics and summaries
- Updates: Dashboard data automatically
- Frequency: Every 6 hours
- Data: All issues in repository
- Output: JSON files + Markdown summary
- Storage: Committed to repository
- GitHub Issues: Unlimited
- GitHub Actions: 2,000 minutes/month (free)
- Repository size: 1GB (sufficient for metadata)
- API rate limits: 5,000 requests/hour
- Multiple repositories for different regions
- Advanced analytics with external tools
- Real-time processing with webhooks
- Machine learning insights
We welcome contributions! Here's how you can help:
- Report Issues: Use GitHub Issues for bugs or feature requests
- Submit Pull Requests: Improve the analytics or automation
- Share Ideas: Suggest new features or improvements
- Spread the Word: Tell others about this free civic tech solution
- No personal information stored
- Anonymous user IDs only
- Public repository for transparency
- Community-driven data sharing
- Read-only access for public data
- GitHub Issues: Use this repository for questions
- Documentation: Check the setup guide
- Community: Engage with civic tech community
- Contributions: Welcome pull requests and improvements
- Transparent data storage
- Community insights
- Issue tracking
- Impact measurement
- Data-driven decision making
- Resource allocation
- Accountability tracking
- Policy influence
- Data-driven advocacy
- Government accountability
- Resource allocation
- Policy influence
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub for providing free unlimited storage
- GitHub Actions for free automation
- Community for contributing reports and insights
- Open source community for inspiration
This system gives you enterprise-level analytics capabilities at $0/month cost! π―
Made with β€οΈ by @Mehonestperson
π Links:
- π Live App
- π Analytics Dashboard
- π Setup Guide
- π° Support the Project