Skip to content

๐Ÿš€ AI-powered Windows troubleshooting assistant using Google Gemini 2.5 Pro. Analyzes system specs, processes error screenshots, and provides intelligent solutions with Chain-of-Thought reasoning. Professional PyQt6 GUI with enterprise security.

License

Notifications You must be signed in to change notification settings

zSayf/Win-Sayver

๐Ÿš€ Win Sayver - AI-Powered Windows Troubleshooting Assistant

Win Sayver

License: MIT Python 3.8+ Windows 10+ PyQt6

Professional AI-powered Windows troubleshooting with Google Gemini 2.5 Pro

โœจ Features โ€ข ๐Ÿš€ Quick Start โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿค Contributing โ€ข ๐Ÿ’ก Examples


๐ŸŽฏ What is Win Sayver?

Win Sayver is a production-ready, AI-powered Windows troubleshooting assistant that analyzes your system specifications, processes error screenshots, and provides intelligent solutions using Google Gemini 2.5 Pro with advanced Chain-of-Thought reasoning. Home Tab

๐ŸŒŸ Why Choose Win Sayver?

  • ๐Ÿง  Advanced AI Analysis: Leverages Google's latest Gemini 2.5 Pro model with Chain-of-Thought reasoning
  • ๐Ÿ” Comprehensive System Profiling: Deep analysis of hardware, software, drivers, and system configuration
  • ๐Ÿ–ผ๏ธ Intelligent Image Analysis: Processes error screenshots with enterprise-grade validation
  • ๐ŸŽจ Modern Professional GUI: Beautiful PyQt6 desktop interface with light/dark themes
  • ๐Ÿ”’ Enterprise Security: Military-grade encryption for API key storage and secure data handling
  • โšก Lightning Fast: Sub-5 second system analysis and AI response generation
  • ๐ŸŒ Direct Windows Integration: Seamless integration with Windows Settings via ms-settings:// URLs

โœจ Features

๐Ÿง  Advanced AI Integration

  • Google Gemini 2.5 Pro with dynamic thinking capabilities
  • Chain-of-Thought reasoning for systematic step-by-step analysis
  • Configurable thinking budget for optimal performance/quality balance
  • Intelligent model fallback system for API limitations and rate limiting
  • Token usage optimization with cost monitoring and efficiency tracking

๐Ÿ” Comprehensive System Analysis

  • Complete system profiling (OS, hardware, software, drivers, services)
  • Windows 10/11 detection with feature analysis and build identification
  • Hardware diagnostics (CPU, memory, storage, GPU, motherboard)
  • Software inventory with version tracking and conflict detection
  • Performance monitoring with real-time metrics and health assessment

๐Ÿ–ผ๏ธ Enterprise Image Processing

  • Multi-image drag & drop with real-time validation feedback
  • Multi-level security scanning (BASIC, STANDARD, COMPREHENSIVE, FORENSIC)
  • Screenshot analysis with error dialog recognition and UI element detection
  • Format support (PNG, JPEG, GIF, BMP, WebP, TIFF) with metadata extraction
  • Content analysis with heuristic screenshot detection

๐ŸŽจ Professional User Interface

  • Modern PyQt6 GUI with responsive design and adaptive layouts
  • Light/Dark theme support with persistent user preferences
  • Rich text editor with error description templates and formatting tools
  • Progress tracking with real-time updates and thinking process visualization
  • Tabbed interface for organized workflow management

๐Ÿ”’ Security & Privacy

  • Fernet encryption for API key storage with industry-standard security
  • No data transmission beyond necessary AI analysis requests
  • Local processing for all system analysis and image validation
  • Secure defaults for all configuration options
  • Privacy-first design with comprehensive audit logging

๐Ÿš€ Quick Start

๐Ÿ“‹ Prerequisites

  • Windows 10 (build 1903+) or Windows 11
  • Google Gemini API Key (Get free key)

โšก Installation Methods

Method 1: Pre-built Executable (Recommended)

  • Download the latest WinSayver.exe file from the Releases page
  • Note: The EXE file may appear as an unauthorized application in some antivirus software due to it being a self-compiled executable. This is normal for Python applications compiled into executables.
  • Security: The application has been scanned and verified with VirusTotal - 67/69 security vendors report it as safe (2 false positives from Bkav Pro and McAfee Scanner)
  • Simply run the EXE file to start the application
  • No Python installation required

Method 2: From Source

# Clone the repository
git clone https://github.com/zSayf/Win-Sayver.git
cd win-sayver

# Install dependencies
pip install -r win_sayver_poc/requirements.txt

# Run the application using the batch file
run_win_sayver.bat

๐ŸŽฎ First Run Guide

  1. ๐Ÿš€ Start the application

    # Recommended: Use the pre-built executable from releases
    # Or run the batch file for source installation:
    run_win_sayver.bat
  2. ๐Ÿ”‘ Configure API key

    • Get your free API key from Google AI Studio
    • Enter it in the secure API key dialog
    • Your key is encrypted and stored locally with Fernet encryption
  3. ๐Ÿ“Š Collect system specs

    • Click "Collect System Specs" for comprehensive system analysis
    • Review the detailed system information cards
  4. ๐Ÿ–ผ๏ธ Add error screenshots

    • Drag and drop error screenshots or use the file dialog
    • Images are validated for security and format compatibility
  5. ๐Ÿค– Get AI-powered solutions

    • Click "Start Analysis" for intelligent troubleshooting
    • Receive step-by-step solutions with confidence scoring

๐Ÿ’ก Examples

Example 1: BSOD Analysis

# Win Sayver can analyze Blue Screen of Death errors
# Upload screenshot โ†’ Get detailed analysis โ†’ Follow step-by-step solutions

Example 2: Application Crash Troubleshooting

# Drag & drop error dialog screenshot
# Receive targeted solutions for specific applications
# Get Windows Settings URLs for direct configuration

Example 3: Performance Issues

``python

System specs analysis reveals bottlenecks

AI provides optimization recommendations

Monitor improvements with built-in metrics


---

## ๐Ÿ› ๏ธ Technology Stack

| Component | Technology | Purpose | Version |
|-----------|------------|---------|---------|
| **AI Engine** | Google Gemini 2.5 Pro | Intelligent troubleshooting | Latest |
| **GUI Framework** | PyQt6 | Professional desktop interface | 6.4.2+ |
| **System Profiling** | WMI, psutil | Windows system analysis | Latest |
| **Image Processing** | Pillow | Screenshot validation & analysis | 10.0.0+ |
| **Security** | cryptography | Encrypted API key storage | 41.0.0+ |
| **Database** | SQLite | Local data persistence | Built-in |
| **Testing** | pytest | Comprehensive test coverage | 7.4.0+ |
| **Packaging** | setuptools | Distribution and installation | Latest |

---

## ๐Ÿ“Š Project Status

| Category | Status | Details |
|----------|--------|---------|
| **Development** | โœ… Production Ready | Phase 3 Complete (v3.1.0) |
| **Testing** | โœ… Comprehensive | 85%+ coverage with pytest |
| **Security** | โœ… Enterprise Grade | Fernet encryption, secure defaults |
| **Performance** | โœ… Optimized | <5s analysis, 22% efficiency gains |
| **Documentation** | โœ… Complete | User & developer guides |
| **Code Quality** | โœ… Professional | Zero linter warnings, type safety |
| **AI Integration** | โœ… Advanced | Chain-of-Thought, thinking budget |
| **UI/UX** | โœ… Modern | Responsive design, themes |

---

## ๐Ÿ“ธ Screenshots

<div align="center">

### ๐Ÿ  Main Application Interface
*Modern PyQt6 desktop interface with tabbed layout and professional styling*

![Home Tab](https://github.com/zSayf/Win-Sayver/blob/main/Assests/Home%20tab.png)

### โš™๏ธ Settings & Configuration
*Comprehensive settings panel with theme customization and API configuration*

![Settings Tab](https://github.com/zSayf/Win-Sayver/blob/main/Assests/Settings%20Tab.png)

### ๐Ÿค– AI Analysis Results
*Intelligent troubleshooting results with step-by-step solutions and confidence scoring*

![Analysis Results](https://github.com/zSayf/Win-Sayver/blob/main/Assests/Result.png)

</div>

---

## ๐Ÿ† Key Achievements

- **๐ŸŽฏ Production Ready**: Complete v3.1 release with enterprise features
- **๐Ÿง  Advanced AI**: Google Gemini 2.5 Pro with Chain-of-Thought reasoning
- **๐Ÿ”’ Security Excellence**: Military-grade encryption and secure defaults
- **โšก Performance Optimized**: 22% efficiency gains, sub-5s response times
- **๐ŸŽจ Professional UI**: Modern PyQt6 interface with theme support
- **๐Ÿ” Comprehensive Analysis**: 100+ system metrics with intelligent categorization
- **๐Ÿ“ฑ Type Safety**: Zero linter warnings across entire codebase
- **๐Ÿงช Test Coverage**: 85%+ coverage with comprehensive test suite

---

## ๐Ÿค Contributing

We love contributions! Win Sayver follows professional open-source development practices.

### ๐Ÿ› **Reporting Issues**
- Use our [issue templates](.github/ISSUE_TEMPLATE/)
- Include system information and error logs
- Provide clear steps to reproduce problems

### ๐Ÿ’ก **Feature Requests**
- Check existing [feature requests](https://github.com/zSayf/Win-Sayver/labels/enhancement)
- Use the feature request template
- Explain use cases and expected benefits

### ๐Ÿ”ง **Development Setup**
```bash
# Clone and setup development environment
git clone https://github.com/zSayf/Win-Sayver.git
cd win-sayver

# Create virtual environment
python -m venv venv
venv\Scripts\activate

# Install dependencies
pip install -r win_sayver_poc/requirements.txt
pip install -e .[dev]

# Run tests
pytest

# Start development using the batch file (recommended)
run_win_sayver.bat

# Or direct Python execution
python win_sayver_poc/main_gui.py

๐Ÿ“‹ Code Standards

  • Follow Win Sayver Coding Standards
  • Use type hints and comprehensive docstrings
  • Maintain 85%+ test coverage
  • Follow PEP 8 with 120-character line limit

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ™ Acknowledgments

  • Google for the Gemini 2.5 Pro API and advanced AI capabilities
  • Microsoft for Windows Management Instrumentation and system APIs
  • Riverbank Computing for the excellent PyQt6 GUI framework
  • Python Software Foundation for the amazing Python ecosystem
  • Open Source Community for inspiration and collaborative development

โญ Star this repository if Win Sayver helped solve your Windows issues! โญ

GitHub stars GitHub forks GitHub watchers

Made with โค๏ธ for the Windows community

Professional AI-powered troubleshooting for everyone

About

๐Ÿš€ AI-powered Windows troubleshooting assistant using Google Gemini 2.5 Pro. Analyzes system specs, processes error screenshots, and provides intelligent solutions with Chain-of-Thought reasoning. Professional PyQt6 GUI with enterprise security.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project