A lightweight, visually impressive Next.js application that evaluates developer habits to diagnose "Tutorial Hell" and provides an AI-generated recovery plan.
- Brutal AI Diagnosis: Uses Google's Gemini API to roast your habits and give practical advice.
- Scoring System: Calculates a Tutorial Hell Score and Builder Score based on your inputs.
- Local Storage History: Keeps track of your previous analyses without needing a database.
- Dark Premium UI: Built with Tailwind CSS, shadcn/ui, and Framer Motion.
- Next.js 14 App Router
- TypeScript
- Tailwind CSS v4
- shadcn/ui
- Framer Motion
- Gemini API (AI Analysis)
-
Clone the repository (if applicable) or navigate to the directory:
cd tutorial-hell-detector -
Install dependencies:
npm install
-
Set up environment variables: Copy the
.env.examplefile to.env.local:cp .env.example .env.local
Add your Gemini API Key in
.env.local(GEMINI_API_KEY=your_key_here). Get one from Google AI Studio. -
Run the development server:
npm run dev
Open http://localhost:3000 in your browser.
This project is Vercel-ready.
- Push your code to GitHub.
- Import the project in Vercel.
- Add
GEMINI_API_KEYto the Environment Variables in the Vercel dashboard. - Deploy