shobrook / stackexplain

Explain your error message with ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackExplain

Explain your error message in plain English using ChatGPT. Just run your file with the stackexplain command.

Demo

Installation

You can install stackexplain with pip:

$ pip3 install stackexplain

Usage

Running a file with stackexplain is just as easy as running it normally:

$ stackexplain [file_path]

This will execute the file and, if an error is thrown, send the stack trace to ChatGPT and display its explanation in your terminal.

Note that when you first use stackexplain, you'll be asked to enter your OpenAI credentials.

Supported file types: Python, Node.js, Ruby, Golang, and Java.

About

Explain your error message with ChatGPT

License:MIT License


Languages

Language:Python 100.0%