How monteduro/killmyidea works
Kill My Idea is a web app that evaluates a submitted startup idea and presents a KILL, FIX, or SHIP verdict. The main flow runs from the browser form through the evaluation API, which asks Jev questions via TypeSafe and turns the answers into a scored, clarity-gated result. Users can review and share results, keep private browser history, and view aggregate statistics; successful evaluations are archived unless opted out. The graph follows documented calls and imports; unsampled details are represented only where the README documents the capability.
Main entry points: App.tsx App flow · api/evaluate.ts Evaluation endpoint · Result.tsx Result view · lib/evaluate.ts Evaluation composition
Components 24
User experience
- App flow
src/App.tsx - Idea form
src/components/IdeaForm.tsx - Judging view
src/components/Judging.tsx - Result view
src/components/Result.tsx - History drawer
src/components/HistoryDrawer.tsx - Stats modal
src/components/StatsModal.tsx - Share actions
src/components/ShareActions.tsx
Evaluation logic
- Evaluation composition
src/lib/evaluate.ts - Jev questions
src/lib/questions.ts - Weighted scoring
src/lib/scoring.ts - Verdict thresholds
src/lib/verdict.ts - Share formatting
src/lib/share.ts
API and integrations
- Evaluation endpoint
api/evaluate.ts - TypeSafe client
src/lib/typesafe.ts - TypeSafe Jev
- Mock evaluator
api/_mock.ts - Stats endpoint
api/stats.ts - Stats client
src/lib/stats.ts
Persistence and analytics
- Evaluation archive
api/_analytics-db.ts - History store
src/lib/storage.ts - Event tracking
src/lib/analytics.ts
Other components
- Idea submitter
- Browser localStorage
- DataFast
Connections 30
- Idea submitter → Idea form: enters idea
README.md - App flow → Idea form: renders
src/App.tsx - App flow → Judging view: renders
src/App.tsx - App flow → Result view: renders
src/App.tsx - App flow → Evaluation endpoint: POSTs evaluation
src/App.tsx - Evaluation endpoint → Evaluation composition: validates and composes
api/evaluate.ts - Evaluation endpoint → Jev questions: selects questions
api/evaluate.ts - Evaluation endpoint → TypeSafe client: requests judgment
api/evaluate.ts - Evaluation endpoint → Mock evaluator: uses in local mock mode
api/evaluate.ts - TypeSafe client → TypeSafe Jev: sends questions
src/lib/typesafe.ts - Evaluation composition → Weighted scoring: normalizes and averages
src/lib/evaluate.ts - Evaluation composition → Jev questions: selects dimensions
src/lib/evaluate.ts - Evaluation composition → TypeSafe client: reads answer types
src/lib/evaluate.ts - Evaluation composition → Verdict thresholds: gets verdict
src/lib/evaluate.ts - Evaluation endpoint → Evaluation archive: archives unless opted out
api/evaluate.ts - App flow → History store: loads and saves history
src/App.tsx - History store → Browser localStorage: reads and writes
src/lib/storage.ts - App flow → History drawer: renders
src/App.tsx - App flow → Stats client: fetches stats
src/App.tsx - Stats client → Stats endpoint: requests stats
README.md - Stats endpoint → Evaluation archive: reads aggregates
api/stats.ts - App flow → Stats modal: renders
src/App.tsx - App flow → Event tracking: tracks submission
src/App.tsx - Event tracking → DataFast: sends cookieless event
README.md - Result view → Share actions: renders
src/components/Result.tsx - Result view → Share formatting: formats share content
src/components/Result.tsx - Share actions → Share formatting: uses share text
src/components/ShareActions.tsx - Result view → Weighted scoring: shows score breakdown
src/components/Result.tsx - Result view → Verdict thresholds: labels verdict
src/components/Result.tsx - History drawer → History store: displays stored ideas
src/components/HistoryDrawer.tsx