Tech Interview Assistant is a web app that simulates a technical interview using Google's Gemini API. It asks you questions on a selected topic and difficulty, listens to your spoken answers, provides feedback, and generates a summary at the end.
- Choose interview topic (HTML, CSS, JavaScript, React, Node.js)
- Select difficulty (Beginner, Intermediate, Advanced)
- AI-powered interviewer asks questions and gives feedback
- Answer by speaking (speech recognition)
- Get a summary and evaluation at the end
-
Clone or download this repository.
-
Install dependencies:
No dependencies required; this is a static web app. -
Set up your Gemini API key:
- Create a
.envfile in the project root:GEMINI_API_KEY=your_gemini_api_key_here - Or edit the API key directly in
script.js.
- Create a
-
Run the app:
- Open
index.htmlin your browser. - Or use Live Server in VS Code.
- Open
index.html: Main HTML filestyles.css: App stylingscript.js: App logic and Gemini API integration.env: (Optional) Store your Gemini API key
- Modern browser with Web Speech API support (for speech recognition and synthesis)
- Internet connection (for Gemini API)
- Your API key is exposed in the frontend; use with caution.
- Speech recognition may not work in all browsers (best in Chrome).
MIT License