|
1 | | -# GamerCat 🐱🎮 |
| 1 | +# 😼 GAMER-CAT 🎮 |
2 | 2 |
|
3 | | -A real-time AI companion that sees what you're doing and talks to you. |
| 3 | +> **Your ultimate AI gaming buddy. No lag. No cloud. All vibes.** |
4 | 4 |
|
5 | | -## Features |
6 | | -- **Local Screen Perception:** Captures your screen every 10 seconds and describes it in 30 words. |
7 | | -- **Voice-to-Voice:** Speak to GamerCat, and it responds with context-aware buddy talk. |
8 | | -- **MCP Server:** Exposes screen context as a standard Model Context Protocol tool. |
9 | | -- **Fully Offline:** Uses Ollama for vision/chat and Whisper for STT. |
| 5 | +Gamer-Cat is a local-first, offline AI companion that actually **sees** what you're doing. Whether you're clutching a 1v5 in Valorant or peacefully farming in Stardew Valley, Gamer-Cat is there to hype you up, give (sometimes questionable) advice, and keep you company. |
10 | 6 |
|
11 | | -## Prerequisites |
12 | | -1. **Ollama:** [Install Ollama](https://ollama.com/) and download the models: |
| 7 | +--- |
| 8 | + |
| 9 | +## 🚀 LEVEL UP YOUR SETUP |
| 10 | + |
| 11 | +* **👁️ Visual Context:** Snaps your screen every 10s. It knows when you're in the lobby or in the heat of battle. |
| 12 | +* **🗣️ Real-time Voice:** Natural, low-latency voice interaction. Talk to it like a real homie. |
| 13 | +* **🔒 100% Offline:** Runs entirely on your rig. No telemetry, no data harvesting, no lag spikes from cloud APIs. |
| 14 | +* **MCP Server:** Exposes screen context as a standard Model Context Protocol tool. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## 🛠️ TECH STACK (The "Specs") |
| 19 | + |
| 20 | +| Component | Tech | |
| 21 | +| :--- | :--- | |
| 22 | +| **The Brain** | Llama-3 (Ollama) | |
| 23 | +| **The Eyes** | Moondream (Ollama) | |
| 24 | +| **The Ears** | Faster-Whisper | |
| 25 | +| **The Voice** | pyttsx3 (SAPI5) | |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## ⚙️ PREREQUISITES |
| 30 | + |
| 31 | +1. **Ollama:** [Install Ollama](https://ollama.com/) and pull the models: |
13 | 32 | ```bash |
14 | 33 | ollama pull moondream |
15 | 34 | ollama pull llama3 |
16 | 35 | ``` |
17 | | -2. **Python 3.10+**: Recommended. |
18 | | -3. **Dependencies:** |
| 36 | +2. **Python 3.10+** (3.13 tested). |
| 37 | +3. **FFmpeg:** Required for audio processing. |
| 38 | +4. **Dependencies:** |
19 | 39 | ```bash |
20 | 40 | pip install -r requirements.txt |
21 | 41 | ``` |
22 | | - *Note: On Windows, you might need to install `PyAudio` via a wheel if `pip install pyaudio` fails.* |
| 42 | + *Note: On Windows, ensure you have C++ Build Tools installed for PyAudio.* |
23 | 43 |
|
24 | | -## How to Run |
25 | | -1. Start Ollama: `ollama serve` (if not already running). |
26 | | -2. Run GamerCat: |
27 | | - ```bash |
28 | | - python src/gamer_cat.py |
29 | | - ``` |
| 44 | +--- |
| 45 | + |
| 46 | +## 👾 HOW TO RUN |
| 47 | + |
| 48 | +1. **Start Ollama:** `ollama serve` (if not already running). |
| 49 | +2. **Launch Gamer-Cat:** |
| 50 | + ```bash |
| 51 | + python src/gamer_cat.py |
| 52 | + ``` |
| 53 | + |
| 54 | +--- |
| 55 | + |
| 56 | +## 📂 FILE STRUCTURE |
30 | 57 |
|
31 | | -## Files |
32 | 58 | - `src/screen_capture.py`: Screen capture logic (Pillow). |
33 | 59 | - `src/vision_engine.py`: Image-to-text via Ollama. |
34 | 60 | - `src/voice_engine.py`: Whisper STT & pyttsx3 TTS. |
35 | 61 | - `src/mcp_server.py`: MCP Server implementation. |
36 | 62 | - `src/gamer_cat.py`: Main orchestration loop. |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +**Built with ❤️ for gamers who play too much.** |
0 commit comments