A desktop overlay application that helps gamers with real-time assistance using AI and web search. The app captures screenshots, analyzes game state, and provides helpful hints and walkthroughs.
- 🖼️ Automatic Screenshot Capture - Captures game screenshots at regular intervals
- 🤖 AI-Powered Analysis - Uses multimodal LLM to analyze screenshots and answer questions
- 🔍 Web Search Integration - Searches for game guides, walkthroughs, and tips
- 🎮 Transparent Overlay - Minimal overlay that doesn't interfere with gameplay
- 🎯 System Tray Integration - Runs in background with easy access
- ⌨️ Global Hotkeys - Quick access without leaving your game
- 🔧 Configurable Settings - Adjust capture intervals, opacity, and more
-
Clone or download the project
-
Install Python dependencies:
pip install -r requirements.txt
-
Install Node.js dependencies:
npm install
-
Set up OpenAI API key (optional but recommended):
# For Linux/macOS export OPENAI_API_KEY='your-openai-api-key-here' # For Windows set OPENAI_API_KEY=your-openai-api-key-here
The example/ folder contains sample images that demonstrate the types of game screenshots the application can analyze:
image.png- Example game screenshot for testing AI analysisimage_example2.png- Additional example screenshot
You can use these images to test the application's AI analysis capabilities by placing them in the screenshots folder or using them as reference for the types of game states the app can help with.
./start_app.sh-
Start the Python backend:
python src/backend/backend_server.py
-
Start the Electron frontend (in a new terminal):
npm start
-
Use hotkeys:
Ctrl+Shift+G- Toggle overlay visibilityCtrl+Shift+S- Take screenshot immediately
-
Ask questions through the overlay:
- "How much longer do I need to finish this mission?"
- "How do I get this charm and unlock the level?"
- "What's the best strategy for this boss?"
- "Where can I find item X?"
- Screenshot Capture: The app automatically captures screenshots every 30 seconds (configurable)
- AI Analysis: When you ask a question, the latest screenshot is analyzed by a multimodal LLM
- Web Search: If AI analysis doesn't provide sufficient answers, the app searches for relevant game guides
- Response Display: Answers are displayed in the transparent overlay without interrupting your game
You can modify settings in src/backend/config.py:
SCREENSHOT_INTERVAL: Time between automatic screenshots (seconds)OVERLAY_OPACITY: Transparency of the overlay window (0.3-1.0)MODEL_NAME: OpenAI model to use for analysisHOTKEYS: Customize keyboard shortcuts
├── src/
│ ├── backend/ # Python backend services
│ │ ├── backend_server.py # Main backend server
│ │ ├── config.py # Configuration settings
│ │ ├── llm_processor.py # AI/LLM integration
│ │ ├── screenshot_manager.py # Screenshot capture
│ │ └── web_searcher.py # Web search functionality
│ └── frontend/ # Electron frontend
│ ├── main.js # Main Electron process
│ └── preload.js # Preload script
├── renderer/ # Frontend UI files
│ ├── index.html # Main UI
│ ├── script.js # Frontend logic
│ └── styles.css # Styling
├── scripts/ # Utility scripts
│ └── start_app.sh # Application launcher
├── docs/ # Documentation
│ └── ELECTRON_SETUP.md # Electron setup guide
├── cache/ # Temporary cache
├── screenshots/ # Captured screenshots
├── package.json # Node.js dependencies
├── requirements.txt # Python dependencies
└── README.md # This file
- Python 3.7+
- Node.js 14+
- OpenAI API key (for AI features)
Hotkeys not working?
- On macOS, you may need to grant accessibility permissions
- On Linux, make sure keyboard permissions are properly configured
Overlay not appearing?
- Check that the app has proper display permissions
- Try toggling with the system tray icon
AI features not working?
- Verify your OpenAI API key is set correctly
- Check your internet connection
MIT License - feel free to modify and distribute as needed.
Contributions welcome! Please feel free to submit issues and enhancement requests.