A hardware inspection and fair price calculator for second-hand laptops — built for Indian buyers.
Inspect.gg is a powerful diagnostic utility designed to protect buyers from "lemon" deals in the Indian second-hand market. It runs locally on the target machine, performing deep hardware telemetry scans via WMI and pynvml to audit system health. Beyond just reporting specs, it runs isolated stress tests on the CPU, GPU, RAM, and storage to detect hidden performance bottlenecks or thermal throttling. Finally, it calculates a fair market valuation in INR based on your customizable pricing rules and generates a high-fidelity AI Valuation Prompt to get a second opinion from services like ChatGPT or Gemini.
- Clone the repo:
git clone https://github.com/yourusername/inspect.gg.git cd inspect.gg
- Launch with 1-Click:
Double-click
launcher.bat. This script will automatically check for Python, install a virtual environment, resolve all dependencies, and launch the application. - Automatic Access:
Your browser will open to
http://localhost:5000automatically once the server is ready. - Inspect: Click "Run All Tests" to begin the full diagnostic sweep.
Warning
Must be run as Administrator: Low-level hardware telemetry (WMI and CPU thermal headers) requires elevated privileges to access complete data.
For developers who prefer manual control:
- Open PowerShell/CMD as Administrator.
python -m venv venvvenv\Scripts\activatepip install -r requirements.txtcd src && python app.py
| Component | Method | What it checks |
|---|---|---|
| CPU | Subprocess Workers | Base clock, thermal throttling, raw operations/sec |
| GPU | NVML / WMI | VRAM throughput, rendering health, model identity |
| RAM | Array Allocation | Bandwidth (GB/s), dual-channel config, total capacity |
| Disk | I/O Temporary Chunks | Read/Write speeds, S.M.A.R.T failure prediction |
| Battery | Win32_Battery | Wear level percentage, design capacity vs current |
| Thermals | Native WMI Maps | CPU/GPU temperatures under load |
| OS / BIOS | Registry & WMI | OS "Recently Wiped" status, BIOS age, build version |
| Manual | UI Checkbox Grid | USB ports, HDMI, Webcam, Mic, Speakers, WiFi/BT |
| Display | Fullscreen Overlay | Dead pixels, color bleeding, refresh rate |
Inspect.gg uses a transparent, tiered pricing engine located in src/pricing.json. You can modify this file to adjust base prices for different CPU/GPU generations, customize deduction amounts for specific flaws (e.g., -₹6,000 for high battery wear), and tune the annual depreciation rate. The tool aggregates all benchmark failures and hardware flaws to calculate an instant buyer's valuation in INR.
inspect.gg/
├── launcher.bat # 1-Click entry point & auto-configurator
├── requirements.txt # Python dependency list
├── pricing.json # User-editable pricing & deduction matrix
├── docs/ # Documentation, changelogs, and images
├── src/
│ ├── app.py # Flask server & SSE event stream
│ ├── config.py # App paths & log configuration
│ └── utils/
│ ├── pricing.py # Valuation logic & AI prompt engine
│ ├── system_info.py # WMI hardware audit logic
│ └── benchmarks.py # Isolated subsystem stress tests
├── templates/
│ └── index.html # Claymorphism dashboard UI
└── static/
├── style.css # Custom UI design system
└── app.js # Frontend telemetry processing logic
- Windows only: Relies on WMI and Win32 APIs which are exclusive to Windows.
- NVIDIA Focus: The GPU benchmark is optimized for NVIDIA via pynvml; AMD/Intel iGPUs use a lighter WMI fallback.
- Battery Data: Telemetry accuracy depends on the OEM's WMI implementation level.
- Thermals: Specific thermal headers may not be accessible on all motherboard combinations.
- Permissions: Must be run as Administrator for the most accurate diagnostic data.
Pull requests are welcome! If you are adding new hardware checks, please implement them in system_info.py and ensure they handle None returns gracefully to prevent stream crashes. If you are tuning market prices for a specific region, please update pricing.json only.
This project is licensed under the MIT License — feel free to use, modify, and distribute it as you see fit.