bugsight-0.9.0 is not a library.
bugsight
Debug smarter, not harder.
A fast Rust CLI that analyzes errors, stack traces and logs — and tells you exactly how to fix them.

Install
Usage
# Pipe any command output
|
# Explain an error directly
# Analyze a log file
# Show error history
# Show error statistics
# Machine-readable JSON output
# Create config file
Supported languages
| Language | Errors covered |
|---|---|
| Rust | panics, compile errors, unwrap errors |
| Go | nil pointer, index out of range, missing modules |
| Python | ModuleNotFoundError, TypeError, KeyError, IndentationError |
| Node.js | Cannot find module, undefined property, EADDRINUSE |
| Docker | daemon not running, permission denied, port conflicts |
| Git | merge conflicts, push rejected, SSH errors |
| Java | NullPointerException, OutOfMemoryError, StackOverflow |
| PHP | syntax errors, memory limit, undefined variables |
| Ruby | NoMethodError, LoadError, Rails RecordNotFound |
| C/C++ | segfault, memory leaks, linker errors, buffer overflow |
| General | permission denied, file not found |
AI fallback
For unknown errors, bugsight uses Groq (free):
Without the key, bugsight still works with its built-in parsers.
Config
Creates ~/.bugsight.toml:
# Enable AI fallback
= true
# Save analyzed errors to history
= true
# Language: "en" or "fr"
= "en"
# Max errors in history
= 100
JSON output
Stats
Error Statistics
────────────────────────────────────────
Type Count
────────────────────────────────────────
Permission Error 3 75% ███
Runtime Panic 1 25% █
────────────────────────────────────────
Total errors analyzed: 4
Contributing
Contributions are welcome! The easiest way is to add a new parser.
- Fork the repo
- Create a branch:
git checkout -b feat/your-parser - Add
src/parsers/your_lang.rs - Register it in
src/parsers/mod.rs - Add tests
- Run
cargo test - Open a Pull Request
See CONTRIBUTING.md for details.
Built with
License
MIT © 2025 Arnel Raharinandrasana