GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - Mazkiibo02/interview-copilot: Ghost Overlay AI interview assistant for Windows (WASAPI Loopback, Groq Whisper <350ms, Gemini Flash STAR Engine, undetectable by screen capture).

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
core
core
 
 
docs
docs
 
 
modules
modules
 
 
tests
tests
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README_ID.md
README_ID.md
 
 
SECURITY.md
SECURITY.md
 
 
config.py
config.py
 
 
context.example.md
context.example.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 
run.bat
run.bat
 
 

Repository files navigation

๐Ÿ‘ป Interview Copilot

An ultra-fast, invisible real-time AI interview assistant for Windows.
Transcribes interviewer audio in <350ms, generates structured STAR responses grounded in your real resume, and remains 100% undetectable during screen sharing.

Python Version License: MIT Platform PyQt6 Groq Whisper Google Gemini

English โ€ข Bahasa Indonesia


โšก The Problem & The Solution

Technical interviews are stressful. Navigating complex behavioral questions, algorithm constraints, and system design challenges simultaneously requires instant recall. Most commercial interview assistants cost $30โ€“$60/month, lag behind during live conversations, and risk exposing your screen during interviews.

Interview Copilot is a free, open-source desktop companion designed to solve this with native Windows performance and zero latency bottlenecks:

  • ๐ŸŽ™๏ธ Captures only the interviewer's voice from your default speakers via Windows WASAPI Loopback (without touching your microphone).
  • โšก Transcribes speech under 350ms using Groq's high-throughput whisper-large-v3-turbo.
  • ๐Ÿง  Streams structured STAR answers (Situation, Task, Action, Result) tailored strictly to your verified resume background.
  • ๐Ÿ‘ป Ghost Overlay Technology: Employs Windows native SetWindowDisplayAffinity(hwnd, 0x00000011) (WDA_EXCLUDEFROMCAPTURE), making the entire overlay completely invisible during screen shares on Google Meet, Zoom, Microsoft Teams, OBS Studio, and Windows Snipping Tool.

๐Ÿ“ธ Demo Preview

๐Ÿ’ก Visual Showcase:
The overlay remains crystal clear to you on your desktop, but is omitted entirely from any screen capture, recording, or live video broadcast stream.

+--------------------------------------------------------------+
| [Your Monitor View]                                          |
|                                                              |
|   +------------------------------------------------------+   |
|   | ๐ŸŸข LISTENING...                                      |   |
|   | Q: "Tell me about a time you optimized a slow query?"|   |
|   | > STAR Response:                                     |   |
|   |   Situation: At Acme Corp, order queries took ~4.2s. |   |
|   |   Task: Reduce latency under peak traffic loads.     |   |
|   |   Action: Added composite indexes & Redis cache.     |   |
|   |   Result: P99 latency dropped to 45ms (-98%).        |   |
|   +------------------------------------------------------+   |
|                                                              |
+--------------------------------------------------------------+
                           VS
+--------------------------------------------------------------+
| [Interviewer's Screen Share / Meeting Recording View]         |
|                                                              |
|   (The overlay window above vanishes entirely โ€” only your    |
|    clean IDE, browser, or desktop wallpaper is captured!)   |
|                                                              |
+--------------------------------------------------------------+

๐Ÿš€ Key Features

  • ๐Ÿ›ก๏ธ 100% Screen Share Invisibility: Uses low-level Win32 DWM flags so you can comfortably code, take notes, and share your entire screen without worrying about window leakage.
  • โšก Ultra-Low Latency STT (<350ms): Powered by Groq Cloud Whisper API for real-time speech segment transcription.
  • ๐ŸŽฏ Grounded STAR Prompting: Reads your personal history from context.md to ensure Gemini never hallucinates companies, skills, or metrics you didn't experience.
  • ๐Ÿ‘๏ธ Silent Vision Screen Analysis (Ctrl + Alt + S): Instantly captures your active IDE or browser to parse LeetCode algorithms, database schemas, or system architecture diagrams.
  • ๐Ÿ–ฑ๏ธ Click-Through (Passthrough) Mode (Ctrl + Alt + T): Click directly through the overlay into your IDE editor or terminal without moving or closing the window.
  • ๐Ÿ“Œ Permanent HWND_TOPMOST: Native Win32 Z-order lock ensures the overlay never gets buried behind Chrome or VS Code windows.
  • ๐Ÿ”’ Privacy First & Local Config: All API keys and resume details stay strictly on your local machine.

๐Ÿ—๏ธ System Architecture

flowchart TD
    subgraph OS_Layer["Windows OS Layer"]
        WASAPI["WASAPI Loopback (Speaker Output)"]
        DWM["Desktop Window Manager (DWM)"]
        SCREEN["Primary Screen Buffer"]
    end

    subgraph Pipeline["Audio Pipeline"]
        Capture["AudioCapture (16kHz PCM)"]
        VAD["VAD Energy Threshold Filter"]
        AudioQueue["Thread-Safe Audio Queue"]
    end

    subgraph AI_Core["AI Orchestration"]
        STT["Groq Whisper API (<350ms)"]
        ResumeStore["context.md (Resume Bank)"]
        Gemini["Google Gemini Flash Streaming"]
    end

    subgraph GUI_Layer["PyQt6 Presentation Layer"]
        Affinity["WDA_EXCLUDEFROMCAPTURE"]
        Overlay["Ghost Overlay Window"]
        Hotkeys["Global Hotkey Dispatcher"]
    end

    WASAPI --> Capture --> VAD --> AudioQueue --> STT
    STT -- Transcription --> Gemini
    ResumeStore --> Gemini
    SCREEN -- Hotkey Trigger --> Gemini
    Gemini -- Stream Tokens --> Overlay
    Overlay --> Affinity --> DWM
    Hotkeys --> Overlay
Loading

โš–๏ธ Engineering Trade-offs & Architectural Decisions

This project was built with strict production-grade criteria: sub-second latency, zero UI freeze, and 100% screen capture invisibility. Below are the core engineering trade-offs made:

Architectural Decision Chosen Approach Alternative Considered Why & Engineering Trade-off
Audio Capture Native WASAPI Loopback (soundcard) Virtual Audio Cable / Stereo Mix Zero third-party driver installation; captures clean speaker output directly at 16kHz PCM without interfering with the candidate's mic.
Speech-to-Text Cloud Groq Whisper (whisper-large-v3-turbo) Local Whisper (whisper.cpp) Local Whisper consumes 2-4GB VRAM with 1.5s-3.5s latency on laptops. Groq transcribes in <350ms with negligible local CPU/RAM load, keeping system resources available for IDE and compilers.
Desktop GUI PyQt6 + Direct Win32 Ctypes Electron / Webview Electron introduces ~150MB+ memory overhead and lacks direct access to native Windows window handles. PyQt6 runs at ~45MB RAM and grants direct access to HWND for SetWindowDisplayAffinity(hwnd, 0x00000011) and HWND_TOPMOST.
LLM Streaming Gemini Flash (thinking_budget=0) with Failover Deep CoT Reasoning Models Deep CoT creates 15-40s pauses before first token (unusable in live interviews). Flash achieves sub-600ms time-to-first-token with structured STAR prompting and automatic fallback if server errors occur.
Concurrency Model Decoupled Worker Threads + queue.Queue Shared State / AsyncIO in GUI Audio I/O and HTTP streaming run strictly on background threads communicating via thread-safe queues and Qt Signals, guaranteeing zero Main Thread UI freezing.

โŒจ๏ธ Global Hotkeys Reference

Shortcut Action Description
Ctrl + Alt + H Panic Toggle Instantly hide or show the overlay window
Ctrl + Alt + S Screen Vision Silently capture screen and analyze with Gemini Vision
Ctrl + Alt + T Click-Through Enable passthrough so clicks hit the background IDE directly
Ctrl + Alt + Q Manual Record Manually capture and process an audio chunk
Ctrl + Alt + A Auto-Listen Toggle automatic voice activity detection on/off
Ctrl + Alt + X Clear Output Clear the current question and response from screen
Ctrl + Alt + C Copy Code Copy the generated code snippet to clipboard
Ctrl + Alt + Down/Up Scroll Window Smoothly scroll through long explanations

๐Ÿ“ฆ Quick Start Guide

Prerequisites

  • Windows 10 (Build 19041+) or Windows 11
  • Python 3.10, 3.11, or 3.12 installed
  • Free API Keys:
    • Google AI Studio (Gemini API Key)
    • Groq Cloud Console (Groq API Key)

1. Clone the Repository

git clone https://github.com/<your-username>/interview-copilot.git
cd interview-copilot

2. Install Dependencies

pip install -r requirements.txt

3. Configure API Credentials

Create your .env configuration file from the template:

cp .env.example .env

Open .env and paste your API keys:

GEMINI_API_KEY=your_gemini_api_key_here
GROQ_API_KEY=your_groq_api_key_here

4. Provide Your Resume & Interview Context

Create your personalized context file:

cp context.example.md context.md

Edit context.md with your genuine skills, past projects, metrics, and target job description. The AI engine will use this as its source of truth.

5. Launch

python main.py

(Or double-click run.bat on Windows).


๐Ÿงช Smoke Test (Verify Screen Invisibility)

  1. Launch python main.py so the dark translucent overlay appears on your desktop.
  2. Press Win + Shift + S (Windows Snipping Tool) or join a test Google Meet / Zoom call and share your entire screen.
  3. Observe the captured area where the overlay sits:
    • Result: The overlay will be completely invisible on the broadcast/capture, showing only what is underneath!

๐Ÿค Contributing

Contributions, bug reports, and feature suggestions are warmly welcomed! Please read our CONTRIBUTING.md for details on our code of conduct and development setup.


โš–๏ธ Ethical Disclaimer

This repository is developed for educational purposes, mock interview practice, technical preparation, real-time language translation, and accessibility assistance. Users are solely responsible for adhering to the ethical guidelines, codes of conduct, and academic/professional policies applicable to their specific interview sessions.


๐Ÿ“„ License

This project is open-source and distributed under the MIT License.

About

Ghost Overlay AI interview assistant for Windows (WASAPI Loopback, Groq Whisper <350ms, Gemini Flash STAR Engine, undetectable by screen capture).

Topics

gemini-flashghost-overlaygroqinterview-copilotmock-interviewpyqt6pythonrealtime-aiscreen-capturespeech-to-textwasapi-loopbackwda-excludefromcapturewhisper-stt

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.