Live Website: truthsplit.com
TruthSplit is a web application that visualizes how different worldviews interpret controversial arguments. It helps users explore rational disagreement through values, assumptions, and perspectives.
- Claim Analysis - Submit any controversial claim and receive a multi-perspective breakdown
- Worldview Visualization - See how different ideological perspectives interpret the same argument
- Interactive Graphs - Explore the reasoning structure through interactive node-based visualizations
- VoteInfo Integration - Use claims from real Swiss voting data
- Export & History - Save analyses as PDF and track your exploration history
- Frontend Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- UI Components: shadcn/ui (Radix UI primitives)
- Backend: Supabase (Edge Functions, Database)
- Visualization: Cytoscape.js, Three.js (React Three Fiber)
- State Management: TanStack Query
- Node.js (v18 or higher)
- npm or bun
# Clone the repository
git clone https://github.com/Adrien-Z/TruthSplit.git
cd TruthSplit
# Install dependencies
npm install
# Start the development server
npm run devThe application will be available at http://localhost:8080.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
src/
├── components/ # React components
│ └── ui/ # shadcn/ui components
├── pages/ # Page components (Index, Analysis, History)
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
├── types/ # TypeScript type definitions
└── data/ # Static data
supabase/
└── functions/ # Edge Functions (API endpoints)
- Lion Six - lionyann.six@student.unisg.ch
- Adrien Zaradez - adrien.zaradez@student.unisg.ch
Bachelor's Project - University of St. Gallen, 2026
