A web application that generates and analyzes startup ideas using Google's Gemini AI, featuring a daily "bad idea" generator, an AI-powered idea roaster, and a cynical business consultant chatbot.
Every day at midnight UTC, a new "trap" startup idea is generated and stored. These ideas sound revolutionary on the surface but have catastrophic flaws that make them terrible businesses. View the history of ideas over time.
Submit your startup idea and watch it get brutally analyzed by a ruthless venture capitalist AI. Get harsh, witty, and deeply analytical feedback on why your idea will fail.
Chat with a cynical AI business consultant who assumes every idea is doomed to fail. Get dry, sarcastic, and technically precise feedback on your business plans.
- React 18 + TypeScript
- Vite - Build tool
- TailwindCSS - Styling
- Heroicons - Icons
- react-markdown - Markdown rendering
- Supabase - PostgreSQL database & edge functions
- Google Gemini 3 Pro - AI model (via edge functions)
- Deno - Runtime for edge functions
This app uses a serverless architecture with Supabase:
- Daily Idea Generation: A cron job runs at midnight UTC to generate and store ideas
- Database Caching: All ideas are stored in PostgreSQL for fast retrieval
- Edge Functions: API logic runs in Supabase edge functions (Deno)
- Secure API Keys: Gemini API key is stored server-side, never exposed to clients
See SETUP.md for detailed migration and deployment instructions.
-
Install dependencies:
npm install
-
Configure environment variables (
.env):VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_anon_key
-
Run development server:
npm run dev
-
Build for production:
npm run build
This project requires:
- Database Table:
ideastable for storing daily ideas - Edge Functions: 4 functions (
generate-daily-idea,get-idea,roast-idea,chat) - Cron Job: Daily task at midnight UTC
- Secrets:
GEMINI_API_KEYenvironment variable
See supabase/README.md for backend setup instructions.
ideascower/
βββ components/ # React components
β βββ DailyBadIdea.tsx # Daily idea display
β βββ IdeaRoaster.tsx # The Incinerator
β βββ ChatBot.tsx # The Liquidator
βββ services/ # API services
β βββ supabaseService.ts
βββ lib/ # Utilities
β βββ supabaseClient.ts
βββ supabase/ # Backend code
β βββ functions/ # Edge functions
β βββ migrations/ # Database schema
β βββ cron/ # Cron job setup
βββ SETUP.md # Setup guide
βββ CLAUDE.md # Project documentation
βββ DEPLOYMENT_CHECKLIST.md
- Model: Gemini 3 Pro Preview (
gemini-3-pro-preview) - Thinking Budget: 32,768 tokens
- Deterministic Ideas: Each date generates the same idea using date-based seeds
- Temperature: 0 for daily ideas (deterministic), default for roasting/chat
npm run devnpx tsc --noEmitnpm run buildDeploy to any static hosting service:
- Vercel (recommended)
- Netlify
- Cloudflare Pages
- GitHub Pages
Managed by Supabase:
- Edge functions auto-scale
- Database backups included
- Cron jobs run automatically
See DEPLOYMENT_CHECKLIST.md for full deployment guide.
This project was migrated from Google AI Studio to Supabase for:
β Security: API keys now stored server-side β Performance: Ideas cached in database β History: Permanent storage of all ideas β Scalability: Edge functions handle rate limiting
See CLAUDE.md for full migration details.
Β© 2025 Beau Sterling. All rights reserved.
This repository is publicly viewable for transparency and demonstration purposes. No license is granted for reuse, modification, or redistribution.