Debate Wise is an AI-assisted debate platform for structured, evidence-based discussion.
The project is now prepared as an English-first open-source repository while keeping German and English in-product language support.
Most social platforms optimize for engagement velocity, not reasoning quality. Debate Wise explores a different model:
- structured argument threads instead of flat comment streams
- incentives for argument quality instead of popularity alone
- AI support for fallacy checks, steel-manning, and summaries
If this project is shared broadly, requiring every adopter to build a separate community from scratch creates high friction.
A better open-source path is:
- Public Commons Mode (recommended default): one shared, open instance where anyone can participate.
- Self-Hosted Space Mode: organizations can run their own instance for private/curated communities.
This repository now documents both directions so contributors can build features for either mode.
- people who want structured debates instead of chaotic comment threads
- educators and communities that want argument quality as a first-class signal
- builders who want an open-source base for public or private debate spaces
- Start the app locally with your Supabase project.
- Create a debate and add sample arguments.
- Review AI-assisted argument analysis and bilingual navigation (EN/DE).
- Contributor guide:
CONTRIBUTING.md - Good first issues:
docs/GOOD_FIRST_ISSUES.md - Release quality snapshot:
docs/RELEASE_AUDIT_2026-02-22.md - Pinned starter issues:
- Repository social preview image source:
docs/assets/social-preview.png(1280x640) - Recommended: upload this file in GitHub repository settings under social preview.
Structured debate platform, AI argument analysis, civic discourse, critical thinking, evidence-based discussion, argument mapping, open-source debate app, bilingual debate software.
- Star the repository and watch releases.
- Open one high-quality issue with reproduction steps or a concrete feature proposal.
- Pick one item from
docs/GOOD_FIRST_ISSUES.mdand open a focused PR. - Share the project with one community (education, civic tech, or moderation tooling).
- If this project helped you or made you smile, consider buying us a coffee: https://ko-fi.com/rockywuest
- Frontend: React + TypeScript + Vite + Tailwind
- Backend: Supabase (Postgres, Auth, RLS, Realtime, Edge Functions)
- AI functions present for:
- argument/fallacy analysis
- steel-man validation
- thread summarization
- Localization: EN + DE available with English-first defaults
- CI quality gates enabled (
lint,typecheck,test,build, productionaudit)
- English-first
READMEand repository docs - Added
LICENSE(MIT) - Added
CONTRIBUTING.md,CODE_OF_CONDUCT.md, andSECURITY.md - Added governance and support files (
GOVERNANCE.md,MAINTAINERS.md,SUPPORT.md) - Added RFC process docs (
docs/RFC_PROCESS.md,docs/RFC_TEMPLATE.md) - Added
.env.examplefor self-hosting setup - Removed hard-coded frontend Supabase instance values in favor of environment variables
- Set English as default UI language fallback
- React 18 + TypeScript
- Vite
- Tailwind CSS + shadcn/ui
- React Router
- TanStack Query
- Supabase JS
- Node.js 18+
- npm 9+
- A Supabase project
npm run bootstrapCreate .env from the template:
cp .env.example .envSet values:
VITE_SUPABASE_URL="https://your-project-ref.supabase.co"
VITE_SUPABASE_PUBLISHABLE_KEY="your-supabase-anon-key"npm run devnpm run build- Link your Supabase project.
- Apply the SQL migrations in
supabase/migrations. - Deploy edge functions in
supabase/functionsif AI features are needed. - Set
OPENAI_API_KEYin Supabase secrets for AI endpoints.
npm run dev- start local dev servernpm run bootstrap- install dependencies and initialize local environmentnpm run check- run full local quality gate (lint, typecheck, test, build, audit)npm run check:i18n- fail on legacy inline EN/DE text helper duplicationnpm run check:bundle- enforce JS/CSS bundle budgets ondist/assetsnpm run smoke:routes- run production-preview smoke checks for critical routesnpm run build- production buildnpm run build:dev- development-mode buildnpm run typecheck- TypeScript checknpm run lint- ESLintnpm run test- run unit tests (Vitest)npm run test:e2e- run Playwright end-to-end tests (Chromium)npm run test:watch- run tests in watch modenpm run audit:prod- production dependency vulnerability scannpm run preview- preview production build
- Build pipeline: green (
lint,check:i18n,typecheck,test,build,check:bundle,smoke:routes,audit:prod) - Test baseline: unit + integration tests plus Playwright E2E smoke flows for auth, debates, and language toggle
- i18n guardrail: consistency check in local/CI quality gates (
check:i18n) - Security baseline: no production dependency vulnerabilities in current lockfile
- Security automation: Dependabot + CodeQL + Scorecard workflows configured
- Release automation: release drafter workflow configured
- Maintainer operations: stale issue/PR triage workflow configured
- Performance baseline: route and vendor chunk splitting enabled in Vite build
- Open-source baseline: contribution docs, issue/PR templates, and security policy in place
- Localization baseline: core debate/auth/admin/rating flows support EN/DE with English-first behavior
Detailed launch checklist: see docs/MARKET_READINESS.md.
Release audit snapshot: see docs/RELEASE_AUDIT_2026-02-22.md.
Architecture and roadmap:
docs/ARCHITECTURE.mddocs/adr/README.mddocs/ROADMAP.mddocs/RELEASE_PROCESS.mddocs/SELF_HOSTING.mddocs/PUBLIC_COMMONS_OPERATIONS.mddocs/MONTHLY_UPDATE_TEMPLATE.md
- complete EN/DE translation coverage in less-used legacy component variants
- consolidate remaining duplicated logic across legacy and optimized hooks/components
- expand automated tests beyond current validation coverage (integration/e2e)
- document and implement multi-space tenancy (
space_id) for public + private deployments - add observability dashboards and runtime SLO alerts for production deployment
- Repository language: English
- UI language support: English + German
- New docs, issues, and PR descriptions should be in English
- Code of Conduct: see
CODE_OF_CONDUCT.md - Contributing: see
CONTRIBUTING.md - Governance: see
GOVERNANCE.md - Maintainers: see
MAINTAINERS.md - Support: see
SUPPORT.md - Changelog: see
CHANGELOG.md - Contributors: see
CONTRIBUTORS.md - Community operations: see
docs/COMMUNITY_PLAYBOOK.md - Maintainer runbook: see
docs/MAINTAINER_RUNBOOK.md - Security reporting: see
SECURITY.md - Security code-scanning status: see
docs/SECURITY_CODE_SCANNING_STATUS.md
MIT License. See LICENSE.
