xerror

Python Package (pip)

A smart CLI that explains error logs (Python, JavaScript, TypeScript, C++, Java) with AI or offline rules, and suggests fixes—right from your terminal

Python 3.10+CLIError AnalysisDebuggingAIMulti-language+3

Technologies

Python 3.10+
CLI
Error Analysis
Debugging
AI
Multi-language
+3
xerror

About this Project

xerror is a developer-focused CLI and Python library that analyzes error logs across multiple languages and returns clear, actionable explanations with suggested fixes. It supports two modes: AI-powered (using configurable providers like Gemini for contextual insights) and a fast offline, rule-based mode that works without internet or API keys.
Key capabilities include language auto-detection, rich terminal formatting, saving and searching past explanations, Markdown export, and real-time process watching to surface errors as they happen. Inputs are flexible—read from files, stdin, interactive paste, or monitor running commands. The Python API exposes functions for explanation, language detection, and parsing, plus context managers and decorators to auto-explain exceptions. Designed to speed up triage of stack traces, improve understanding of root causes, and provide concrete next steps—online or offline.

Repositories

Demo Links

Related Projects

quickstore
Python Package (pip)

quickstore

Quickstore is a developer-friendly, file-backed key-value database with no external dependencies. It supports TTL-based...

PythonPipFileDB+6
py-trashguard
Python Package (pip)

py-trashguard

py-trashguard prevents accidental data loss by moving files to a .trash/ directory instead of permanently deleting them....

PythonCLIFilesystem Utilities+3
pyonesend
Python Package (pip)

pyonesend

pyonesend lets you share files and folders instantly without cloud uploads. It spins up a local server and can create a...

PythonCLIFile Transfer+6