Real Identity. Real Issues. Real Solutions.
An open-source civic engagement platform where verified citizens discuss real issues, moderated by AI, with direct routes to government action.
Problem • Solution • How It Works • Tech Stack • Contributing
Social media today is fundamentally broken:
- Anonymous accounts enable abuse without accountability
- Heated discussions lead to bans instead of resolution
- Real issues get drowned in noise and outrage
- No bridge between public discourse and government action
- Echo chambers prevent meaningful dialogue
RIP Social is a civic engagement platform where:
- Real people discuss real issues with verified identities
- AI moderates content pre-publish — no nudity, abuse, or spam ever reaches the platform
- Solutions emerge from community discussion, summarized by AI
- Authorities receive structured, actionable petitions with verified citizen signatures
| Principle | Implementation |
|---|---|
| No Anonymity | Phone/ID verification required |
| No Blocking | Reputation system instead of bans |
| No Abuse | AI pre-filters all content before posting |
| Full Transparency | All threads are evidence, permanently archived |
| Civic Action | Issues route to relevant government authorities |
User posts issue → AI validates (no abuse/spam) → Community discusses
↓
AI summarizes actionable solution
↓
Routes to relevant Govt/Authority
↓
Public tracking until resolved
| Category | Routes To |
|---|---|
| Infrastructure | Municipal Corp, PWD |
| Crime/Safety | Police, Cyber Cell |
| Education | State Education Dept |
| Environment | Pollution Board |
| Corruption | Vigilance, Lokayukta |
| Consumer | Consumer Forum |
Content passes through AI before publishing with zero tolerance:
| Layer | Technology | Purpose |
|---|---|---|
| Vision Models | NudeNet, CLIP | Detect and block nudity/NSFW |
| Text Models | Llama Guard, Detoxify | Block abuse, threats, hate speech |
| Spam Detection | Rate limiting + pattern analysis | Block spam and bot activity |
Zero tolerance — blocked content never reaches the platform.
RIP Social ensures petitions carry legal weight through official channels:
| Channel | Description | Legal Standing |
|---|---|---|
| CPGRAMS | Central govt grievance portal - mandatory 30-day response | Official |
| State Portals | CM Helpline, Samadhan, IGRS portals | Official |
| RTI Act 2005 | Right to Information - govt must respond in 30 days | Legal Right |
| Aadhaar eSign | Digital signatures legally valid under IT Act 2000 | Legally Binding |
| PIL Route | Public Interest Litigation for systemic issues | Court Enforceable |
Issue reaches threshold (verified signatures)
↓
AI generates formal petition
↓
Users eSign via Aadhaar (legally binding)
↓
Auto-submit to official portals (CPGRAMS, State)
↓
Complaint number issued → Public tracking
↓
CC to MP/MLA + Media partners
↓
RTI filed if no response in 30 days
↓
PIL escalation for ignored systemic issues
| System | Integration Method |
|---|---|
| CPGRAMS | API / Automated form submission |
| State Portals | API where available, else RPA |
| Aadhaar eSign | UIDAI eSign API (legally valid) |
| DigiLocker | Identity verification |
| RTI Online | Auto-generate RTI applications |
| MP/MLA Directory | Auto-email to elected representatives |
- IT Act 2000: Digital signatures are legally valid
- RTI Act 2005: Citizens' right to government information
- Grievance Redressal: CPGRAMS mandates 30-day response
- Data Protection: Compliant with DPDP Act 2023
- Evidence Preservation: All threads timestamped and archived
| Layer | Technology | Purpose |
|---|---|---|
| Web App | Next.js 15 (TypeScript) | Server-side rendering, SEO |
| Mobile | PWA + Capacitor | Cross-platform mobile apps |
| UI | Tailwind CSS + shadcn/ui | Modern, accessible components |
| State | Zustand + TanStack Query | Client state & data fetching |
| Layer | Technology | Purpose |
|---|---|---|
| Runtime | Bun | Ultra-fast JavaScript runtime |
| Framework | Hono / Elysia | High-performance API framework |
| API | tRPC | End-to-end type safety |
| Real-time | WebSockets | Live updates & notifications |
| Layer | Technology | Purpose |
|---|---|---|
| LLM | Llama 3.1 (self-hosted) | Content summarization |
| Content Safety | Llama Guard 3 | Text abuse detection |
| Image Safety | NudeNet + CLIP | NSFW image detection |
| Hosting | AWS SageMaker / EC2 | GPU inference |
| Layer | Technology | Purpose |
|---|---|---|
| Primary DB | PostgreSQL (AWS RDS) | Relational data |
| Cache | Redis (AWS ElastiCache) | Session, rate limiting |
| Search | OpenSearch (AWS) | Full-text search |
| File Storage | AWS S3 | Media uploads |
| CDN | AWS CloudFront | Global content delivery |
| Service | Purpose |
|---|---|
| ECS Fargate | Containerized backend deployment |
| Lambda | Serverless functions (webhooks, cron) |
| API Gateway | API management & throttling |
| Cognito | User authentication |
| SNS + SES | Push notifications & email |
| CloudWatch | Monitoring & logging |
| WAF | Security & DDoS protection |
| Layer | Technology | Purpose |
|---|---|---|
| Auth | AWS Cognito + NextAuth | Secure authentication |
| Phone Verify | AWS SNS / Twilio | OTP verification |
| ID Verify | DigiLocker API (India) | Aadhaar/PAN verification |
| Encryption | AWS KMS | Data encryption at rest |
This project uses a Turborepo monorepo with Bun as the package manager for optimal performance and type safety across all packages.
rip_social/
├── apps/
│ ├── web/ # Next.js 15 frontend
│ │ ├── src/
│ │ │ ├── app/ # App router pages
│ │ │ ├── components/ # React components
│ │ │ └── lib/ # Utilities & hooks
│ │ └── package.json
│ │
│ └── api/ # Hono backend (Bun runtime)
│ ├── src/
│ │ ├── routes/ # API routes
│ │ ├── services/ # Business logic
│ │ └── middleware/ # Auth, rate limiting
│ └── package.json
│
├── packages/
│ ├── db/ # Drizzle ORM
│ │ ├── schema/ # Database schema
│ │ ├── migrations/ # SQL migrations
│ │ └── seed/ # Seed data
│ │
│ ├── ai/ # AI moderation services
│ │ ├── moderation/ # Content filtering
│ │ ├── summarization/ # Thread summarization
│ │ └── routing/ # Issue classification
│ │
│ ├── ui/ # Shared UI components
│ │ └── components/ # shadcn/ui components
│ │
│ ├── types/ # Shared TypeScript types
│ │ └── src/ # Type definitions
│ │
│ └── config/ # Shared configurations
│ ├── eslint/ # ESLint config
│ ├── typescript/ # TSConfig base
│ └── tailwind/ # Tailwind config
│
├── infrastructure/ # AWS CDK / Terraform
│ ├── cdk/ # AWS CDK stacks
│ └── docker/ # Docker configurations
│
├── docs/ # Documentation
├── turbo.json # Turborepo configuration
├── package.json # Root package.json
└── bun.lockb # Bun lockfile
| Benefit | Description |
|---|---|
| End-to-end type safety | Share types between frontend & backend via tRPC |
| Cached builds | Only rebuilds what changed, significantly faster CI/CD |
| Bun performance | Ultra-fast installs and runtime for the API |
| Atomic deploys | Single PR updates both frontend and backend together |
| Shared packages | Reuse UI components, configs, and utilities |
Note: This project is currently in the planning phase.
# Clone the repository
git clone https://github.com/akshayaparida/rip_social.git
cd rip_social
# Install dependencies (coming soon)
bun install
# Start development server (coming soon)
bun devThis project is 100% Open Source and welcomes contributions!
- Report bugs and issues
- Suggest features and improvements
- Submit pull requests with code changes
- Improve documentation
- Audit algorithms to ensure AI neutrality
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Fully open source (MIT License)
- Run on community donations and minimal, ethical ads
- No data selling — ever
- Transparent governance with community oversight
-
Phase 1: Foundation (Current)
- Monorepo setup (Turborepo + Bun)
- Database schema design (Postgres + Drizzle)
- Auth & Identity verification prototypes
-
Phase 2: MVP
- AI Moderation Pipeline (Llama Guard + NudeNet)
- Basic Issue Posting & Commenting
- Government Agency Directory
-
Phase 3: Beta
- Petition Generation Engine
- Aadhaar eSign Integration
- Public Beta Launch
We believe in open, transparent governance.
- Code of Conduct - Our standards for participation
- Contributing Guide - How to get started
- Security Policy - How to report vulnerabilities
- Governance - How decisions are made
- Architecture - System architecture overview
- DevOps Guide - Git strategy, CI/CD, and deployment
This project is licensed under the MIT License — free for everyone.
See LICENSE for more details.
Currently in planning phase
Created by Akshaya Parida
Building a better internet, one verified conversation at a time.