Interview rehearsal buddy for campus placement — with a glow-up map that shows your skill gaps.
| Live demo | popprep.vercel.app |
| Course context | IILM · Gen AI & Prompt Engineering · Topic 3 (employment skill-gap analysis) |
| Team | Unitron — Krishnan Madhuratnam, Adarsh Singh |
| License | MIT |
PopPrep walks you through a short mock interview in Tech, Business, or Law. You pick a role and company style, answer six questions by voice or keyboard, and get a glow-up map: strengths, conduct notes, skill gaps with a first step, study links, and a five-day plan. An animated interviewer speaks with server-side TTS (Edge). Your camera never leaves the browser — face and object checks use MediaPipe on the device.
Students often know they “did badly” in a mock interview but not which skills to fix before placement week. PopPrep ties every question to a role brief, scores the transcript with a small LLM, and returns actionable gaps instead of a single vague grade.
- Four-step flow — You → Interviewer → Room → Glow-up map
- Fields — Technology, Business, Law (roles, courses, company briefs in
config/fields.js) - Voice — Live captions in Chrome while you speak; optional Groq upload for a cleaner transcript
- Interviewer voice — Edge TTS on the server (no extra key)
- Green room — Webcam, mic, model load, “look at screen” before the strict room
- Integrity flags — Missing face, extra face, phone / book / laptop, tab switch, paste (practice mode can skip proctoring)
- Report — Communication, depth, confidence, skill gaps, week plan, printable summary
flowchart LR
subgraph Browser
UI[index.html + app.js]
Proctor[proctor.js MediaPipe]
Voice[voice.js + Web Speech]
UI --> Proctor
UI --> Voice
end
subgraph Server
API[Express server.js]
TTS[Edge TTS]
LLM[OpenAI-compatible chat]
API --> TTS
API --> LLM
end
UI -->|session /answer /summary| API
Voice -->|optional audio| API
| Layer | What runs where |
|---|---|
| Face & object detection | Browser (Face Landmarker + object detector, models cached) |
| Interview copy & report | Server (OPENAI_API_KEY or compatible AI_BASE_URL) |
| Speech synthesis | Server (@andresaya/edge-tts) |
| Sessions on Vercel | Stateless API; no local data/results/ on serverless |
git clone https://github.com/init-krish/popprep.git
cd popprep
npm install
cp .env.example .env # add OPENAI_API_KEY
npm start # http://localhost:3002| Variable | Required | Purpose |
|---|---|---|
OPENAI_API_KEY |
Yes (unless AI_BASE_URL) |
Questions, scoring, glow-up map |
MODEL |
No | Default gpt-4o-mini |
AI_BASE_URL |
No | Local OpenAI-compatible API (e.g. Ollama) |
GROQ_API_KEY |
No | Faster server transcription; without it, browser captions + upload still work |
Never commit .env. Use Vercel project secrets for production.
Optional: bash scripts/push-keys.sh copies keys from your local .env into Vercel (values are not echoed).
vercel env add OPENAI_API_KEY production
vercel env add GROQ_API_KEY production # optional
vercel --prodThe public site has no login. Set spending limits on your API keys.
docker compose up --buildconfig/fields.js # Tech / Business / Law roles and briefs
config/personas.js # Interviewer prompts
data/question_bank.json
public/
index.html
css/app.css
js/app.js # Flow and report UI
js/proctor.js # On-device checks
js/voice.js # TTS playback + recording
js/avatar.js # Interviewer character
js/resume.js # PDF/TXT read in browser
server.js # API routes
utils/ # Audio, conduct, resume helpers
Edit config/fields.js for new roles or companies, data/question_bank.json for question pools, and config/personas.js for interviewer tone.
docs/AGENT_TECHNICAL.md— older agent notes (partially superseded; trust this README andpublic/for the current build)
Face and object models from Google MediaPipe. Fonts: Bricolage Grotesque, DM Sans, Caveat.
Built by Unitron for open use. Issues and PRs welcome on GitHub.