Skip to content

Shiva1803/explain.again

Repository files navigation

Explain Again

A React 18 + TypeScript + Vite build of the public wall for everything people are tired of re-explaining to AI every single session.

Stack

Local setup

  1. Install dependencies:
npm install
  1. Run the SQL in supabase.sql in your Supabase SQL editor.

  2. Fill in .env:

VITE_SUPABASE_URL=https://xxxx.supabase.co
VITE_SUPABASE_ANON_KEY=eyJ...
  1. Start the frontend:
npm run dev

Notes:

  • The app will still submit locally if /api/categorize is unavailable by falling back to a lightweight client-side category guess.
  • To exercise the real Claude path locally, run the app through Vercel dev tooling instead of plain Vite.

Deployment

  1. Add CLAUDE_API_KEY in the Vercel dashboard.
  2. Deploy:
npx vercel --prod
  1. Confirm:
  • submissions load from Supabase
  • voting increments once per browser
  • opening two tabs reflects new submissions in realtime
  • POST /api/categorize returns { "category": "..." }

Project structure

About

A crowdsourced wall for one of the most prevelant problem in modern day LLMs - forgetting context.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors