Skip to content

haekalsutrisna/AI-Powered-ResumeRoasting

Repository files navigation

🔥 Brutal CV Roaster

alt text

Next.js TypeScript Tailwind CSS Groq

An AI-powered CV roasting application that brutally (but constructively) analyzes your resume using Groq's blazing-fast inference engine. Get savage feedback, red flag detection, and actionable career advice in seconds.


✨ Features

  • 🎭 Dynamic Roast Levels: Choose between Mild 😏, Savage 🔥, or Nuclear ☢️.
  • Ultra-Fast AI: Powered by Groq Cloud and Llama 3 for near-instant results.
  • 📋 Comprehensive Analysis:
    • Overall Verdict: A punchy summary of your CV's impact.
    • Red Flags: Bullet points highlighting critical areas for improvement.
    • The Roast: A memorable, humorous piece of feedback.
    • Actionable Advice: Practical steps to level up your resume.
    • Brutal Rating: An honest 1-10 career score.
  • ☁️ Serverless Ready: Designed for deployment on Vercel's Edge/Serverless functions.
  • 🔒 Privacy Focused: No database, no file storage — text is processed statelessly.

🚀 Getting Started

Prerequisites

1. Installation

git clone <your-repo-url>
cd cvroasting
npm install

2. Environment Setup

Copy the example environment file and add your credentials:

cp .env.example .env.local

Edit .env.local:

GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama3-70b-8192  # Optional: defaults to llama3-70b-8192

3. Development Mode

npm run dev

Open http://localhost:3000 to start roasting.


🛠️ Tech Stack


📡 API Documentation

POST /api/roast

Analyze CV text programmatically.

Request Body:

{
  "cvText": "Full CV text content here...",
  "level": "savage"
}

Levels: mild, savage, nuclear

Response Example:

{
  "overall": "This CV reads like it was written during a fire drill...",
  "redFlags": ["Zero quantifiable achievements", "Vague skill list"],
  "roast": "Congratulations, you've made experience sound like a mystery box...",
  "advice": "Add numbers to your achievements, expand your skills with context...",
  "rating": 3
}

📂 Project Structure

/app
  /api/roast/route.ts   # API logic & Groq integration
  layout.tsx            # Root layout & Metadata
  page.tsx              # Main UI & State handling
/components
  RoastCard.tsx         # UI component for AI response
  Loader.tsx            # Animated loading state
/lib
  groq.ts               # Groq client singleton

📜 License

Distributed under the MIT License. See LICENSE for more information.


Made with 🔥 for better resumes.

About

An AI-powered CV roasting application that brutally (but constructively) analyzes your resume using Groq's blazing-fast inference engine. Get savage feedback, red flag detection, and actionable career advice in seconds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors