PitchHut logo
Quickly analyze errors and stack traces to find solutions.
Pitch

Bugsight is a fast CLI tool designed to simplify error analysis. It expertly analyzes errors, stack traces, and logs, providing insightful recommendations on how to resolve issues quickly. With features like AI error handling and a user-friendly interface, users can debug more efficiently and effectively.

Description

bugsight is a powerful command-line interface (CLI) tool designed to streamline the debugging process. It analyzes errors, stack traces, and logs, providing users with clear guidance on how to resolve issues effectively.

Key Features:

  • ⚡ Provides instantaneous analysis for a variety of common errors, including those related to Rust, file system issues, and permissions.
  • 🤖 Integrates with Groq AI for intelligent handling of unknown errors, enhancing its utility.
  • 🔗 Seamlessly processes output from any command, making it highly versatile.
  • 🖥️ Displays information in a clean, color-coded format for better readability.

Usage Examples:

Direct Error Explanation

To receive explanations for specific errors, utilize the command:

bugsight --explain 'segmentation fault core dumped'

Processing Command Output

You can easily pipe outputs from various commands into bugsight for analysis:

cargo build 2>&1 | bugsight
cat logs/error.log | bugsight
npm run build 2>&1 | bugsight

Optional AI Setup

To enhance its capabilities for handling unknown errors, bugsight can connect with Groq:

  1. Sign up for a free account at console.groq.com.
  2. Create an API key and set it as an environment variable:
export GROQ_API_KEY=gsk_xxxxxx

Even without the API key, bugsight remains functional using its built-in parsers.

Built With

  • Developed using Rust, benefiting from its performance and safety.
  • Utilizes clap for command-line argument parsing.
  • Makes use of colored to deliver visually appealing terminal output.
  • Incorporates Groq for advanced AI inference capabilities.
0 comments

No comments yet.

Sign in to be the first to comment.