How anurag19-eng/simulai works
SimulAI is a Flask-based interview simulator. Candidates register or log in, choose an interview track, upload a PDF CV, then exchange streamed responses with a Gemini-powered interviewer; interview history and persistent memory are stored in SQLite. The map includes the documented browser voice features and result UI. Source excerpts support the main route, engine, and storage relationships; some frontend and template wiring is documented only at a high level, and evaluation implementation is not established by the sampled source.
Main entry points: app.py Flask routes · database.py SQLite access · engine.py Interview engine · chat.js Chat and voice UI
Components 15
Web experience
- Login and dashboard
templates - Login interface
static/js/login.js - Chat and voice UI
static/js/chat.js - CV uploader
static/js/cv.js - Interview result UI
static/js/chat.js
Interview workflow
- Flask routes
app.py - Interview tracks
interviewers - PDF extraction
app.py
AI interview
- Interview engine
engine.py - Role prompts
interviewers - Gemini API
- Memory summarizer
engine.py
Persistence
- SQLite access
database.py - Interview database
database.py
Other components
- Candidate
Connections 24
- Candidate → Login interface: enters credentials
README.md - Login interface → Flask routes: submits login
README.md - Flask routes → SQLite access: authenticates and initializes
app.py - Candidate → Login and dashboard: chooses track
README.md - Flask routes → Interview tracks: selects prompt track
README.md - Candidate → CV uploader: selects PDF
static/js/cv.js - CV uploader → Flask routes: uploads CV
static/js/cv.js - Flask routes → PDF extraction: extracts text
app.py - Flask routes → SQLite access: stores resume
README.md - Flask routes → Interview engine: requests opening response
app.py - Interview engine → SQLite access: reads resume and context
engine.py - Interview engine → Role prompts: selects role prompt
engine.py - Interview engine → Gemini API: streams generation
engine.py - Candidate → Chat and voice UI: sends answers
README.md - Chat and voice UI → Flask routes: posts chat message
static/js/chat.js - Flask routes → SQLite access: records messages
app.py - Flask routes → Memory summarizer: updates memory
app.py - Memory summarizer → SQLite access: reads and updates memory
engine.py - Interview engine → SQLite access: loads recent context
engine.py - Interview engine → Gemini API: generates interview reply
engine.py - Flask routes → Chat and voice UI: streams reply
README.md - SQLite access → Interview database: reads and writes records
database.py - Chat and voice UI → Interview result UI: shows result view
README.md - Chat and voice UI → Candidate: supports browser speech
README.md