Spaces:
Sleeping
Sleeping
|
Download README.md from viraj-421/InterviewAI: direct link, hf CLI and curl.
- Browser
- Download file 5.09 kB
-
https://huggingface.co/spaces/viraj-421/InterviewAI/resolve/main/README.md
- Command line
-
hf download hf://spaces/viraj-421/InterviewAI/README.md
-
curl -L -o README.md https://huggingface.co/spaces/viraj-421/InterviewAI/resolve/main/README.md
5.09 kB
metadata
title: InterviewAI Platform
emoji: π§
colorFrom: indigo
colorTo: purple
sdk: docker
pinned: false
app_port: 7860
π§ InterviewAI β AI-Powered Mock Interview Platform
A premium, full-stack mock interview platform powered by Google Gemini AI that simulates real interview experiences with dynamic question generation, real-time evaluation, and comprehensive performance analytics.
β¨ Features
Core
- AI Interview Simulation β Role-based, difficulty-adaptive question generation
- Real-Time Chat Interface β Natural conversation flow with the AI interviewer
- Multi-Dimensional Evaluation β Scored on Relevance, Clarity, Technical Accuracy & Confidence
- Instant Feedback β Strengths, weaknesses, suggestions & sample answers per question
- Session Summary β Overall grade, category breakdown, and actionable recommendations
Advanced
- 8+ Interview Roles β Software Engineer, Frontend Dev, Backend Dev, Data Scientist, DevOps, PM, UI/UX Designer, HR/Behavioral
- 3 Difficulty Levels β Beginner, Intermediate, Advanced
- Voice Input β Web Speech API integration for hands-free answering
- Animated UI β Framer Motion animations, glassmorphism, and micro-interactions
- Score Rings β Visual circular score indicators with color-coded thresholds
- Question Drill-Down β Expand any question in the dashboard to see detailed feedback
- Timer β Track interview duration in real-time
- Skip & End β Skip questions or end the interview early
π οΈ Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Frontend | React 19, TypeScript |
| Styling | Tailwind CSS v4 |
| AI Engine | Google Gemini 2.0 Flash |
| Animations | Framer Motion |
| Icons | Lucide React |
| Voice | Web Speech API |
π Getting Started
Prerequisites
- Node.js 18+ installed
- A Google Gemini API key (Get one here)
Installation
# 1. Clone the repository
git clone <your-repo-url>
cd AIPoweredMockInterviewPlatform
# 2. Install dependencies
npm install
# 3. Configure your API key
# Edit .env.local and replace the placeholder:
GEMINI_API_KEY=your_actual_api_key_here
# 4. Start the development server
npm run dev
Open http://localhost:3000 in your browser.
π Project Structure
src/
βββ app/
β βββ api/
β β βββ generate-questions/route.ts # AI question generation
β β βββ evaluate-answer/route.ts # AI answer evaluation
β β βββ session-summary/route.ts # AI session summary
β βββ interview/
β β βββ page.tsx # Role selection & config
β β βββ session/page.tsx # Chat interview interface
β βββ dashboard/page.tsx # Performance analytics
β βββ settings/page.tsx # API key configuration
β βββ globals.css # Design system
β βββ layout.tsx # Root layout
β βββ page.tsx # Landing page
βββ components/
β βββ Navbar.tsx # Navigation bar
β βββ ScoreRing.tsx # Circular score component
β βββ LoadingScreen.tsx # Animated loading screen
βββ context/
β βββ InterviewContext.tsx # Global state management
βββ lib/
β βββ roles.ts # Interview role definitions
βββ types/
βββ interview.ts # TypeScript type definitions
π Core Workflow
- Select Role β Choose from 8+ professional roles
- Configure β Set difficulty and question count
- Interview β AI generates questions, you answer via text or voice
- Evaluate β Each answer is scored across 5 dimensions
- Review β Comprehensive dashboard with analytics & recommendations
π Evaluation Metrics
Each answer is evaluated on:
- Relevance β How well the answer addresses the question
- Clarity β How clearly the response is communicated
- Technical Accuracy β Correctness of technical content
- Confidence β Apparent confidence level in delivery
- Overall Score β Weighted composite score (0-10)
π¨ Design Features
- Dark mode with premium glassmorphism effects
- Animated background mesh with floating gradient orbs
- Smooth page transitions with Framer Motion
- Color-coded score indicators
- Responsive design for all screen sizes
- Custom scrollbar styling
π License
MIT License β Built for educational purposes.