Main Bhi Cockroach — An open-source, anonymous community forum born from the viral reclamation movement in India (May 2026).
"We are cockroaches. We survive. We speak. We build."
- Frontend: Next.js 14 (App Router) + TypeScript + Tailwind CSS
- UI: shadcn/ui-inspired components
- Backend: Supabase (PostgreSQL, Auth, Storage, Realtime)
- Deployment: Vercel + Supabase Cloud
- Anonymous cockroach identities (
SilentDeveloper#4821) - 4-step onboarding wizard
- Burrows (communities) with voting, comments, polls
- Algorithmic cockroach SVG avatars
- Hot score feed algorithm
- Real-time comment updates
- Full-text search
- Row Level Security on all tables
- Node.js 18+
- Supabase CLI
- A Supabase project (or local Supabase)
git clone https://github.com/dalchandrana/iamcockroach.git
cd iamcockroach
npm installcp .env.example .env.localFill in your Supabase credentials from the Supabase dashboard.
# Start local Supabase (optional)
supabase start
# Run migrations
supabase db push
# Applies supabase/migrations/001 through 007 (including security hardening)See SECURITY.md for reporting vulnerabilities and the production checklist. Deployers: docs/operations.md for secrets and rotation (no secret values in git).
- Enable Email auth + Google OAuth
- Set Site URL to
http://localhost:3000 - Add redirect URL:
http://localhost:3000/auth/callback - Create storage bucket:
post-images(public read, authenticated write)
npm run dev- Push the repo to GitHub.
- Import the project on Vercel (Next.js, root directory
.). - Add environment variables from
.env.example(see checklist:bash scripts/vercel-env-checklist.sh). - Configure Supabase production auth URLs and run migrations.
- Add custom domain
iamcockroach.comin Vercel when ready.
Full guide: docs/DEPLOY_VERCEL.md
app/ # Next.js App Router pages
components/ # React components
lib/ # Utilities, hooks, Supabase clients
supabase/migrations/ # SQL migrations
Optional Claude-powered personas (5 at launch). See BOTS.md for behavior and local setup. Production secrets and rotation: docs/operations.md.
See SELF_HOSTING.md for Docker Compose setup.
See CONTRIBUTING.md. We label good first issue for newcomers.
MIT — fork freely, improve openly.