Get up and running in 5 minutes!
Make sure you have:
- Python 3.10+ installed
- Node.js 18+ installed
- Azure OpenAI API key (with GPT-4o deployment)
- Deepgram API key
# Navigate to backend folder
cd backend
# Create virtual environment
python -m venv venv
# Activate it
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txtCreate a .env file in the backend folder:
AZURE_OPENAI_API_KEY=sk-your-azure-key-here
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o
AZURE_OPENAI_API_VERSION=2024-02-15-preview
DEEPGRAM_API_KEY=your-deepgram-key-here
HOST=0.0.0.0
PORT=8000
CORS_ORIGINS=http://localhost:3000,http://localhost:5173# Navigate to frontend folder (new terminal)
cd frontend
# Install dependencies
npm install
# Build Electron main process (first time only)
npm run build:electron-devcd backend
venv\Scripts\activate # or source venv/bin/activate on macOS/Linux
python run.pyYou should see:
🎯 Interview Copilot Backend Server
Server URL: http://0.0.0.0:8000
✨ Starting server...
cd frontend
npm run devThe Electron app will launch automatically!
- Click "Start Listening" (or press Ctrl+Shift+L)
- Select the interview window/tab to capture
- Check "Share system audio" ✅ (VERY IMPORTANT!)
- Click Share
- Ask a question (or let the interviewer ask)
- Watch the AI response appear in real-time! 🎉
- Press Ctrl+Shift+S (or click "Capture Screen")
- Select the screen with the coding problem
- Click Share
- Get a complete solution with explanation! 💻
Ctrl+Shift+L- Start/Stop listeningCtrl+Shift+S- Capture screenCtrl+Shift+H- Hide/Show window
- You forgot to check "Share system audio" when selecting the screen
- Click "Stop Listening" and try again, this time check the audio checkbox
- Make sure the backend is running (Terminal 1)
- Check if port 8000 is available
- Double-check your
.envfile - Make sure there are no quotes around the values
- Verify your Azure endpoint URL ends with
/
- Verify your Deepgram API key is correct
- Check your account has credits
When everything is working:
- ✅ Backend shows: "Deepgram streaming started successfully"
- ✅ Frontend shows: Green "Connected" indicator
- ✅ Listening button turns pink when active
- ✅ Transcripts appear in real-time
- ✅ AI responses stream smoothly
- Read the Full Setup Guide for advanced configuration
- Check Project Specification for architecture details
- Explore the code in
backend/andfrontend/folders
- Position the overlay where it won't block important content
- Adjust opacity using the ◐ button in the title bar
- Clear history regularly to keep responses focused
- Test before interviews to ensure everything works
- Use screen capture for complex coding problems
Ready to ace your interviews! 🚀
For detailed documentation, see SETUP_GUIDE.md