Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shobrook/stackexplain

Explain your error message with ChatGPT
https://github.com/shobrook/stackexplain

Last synced: about 1 month ago
JSON representation

Explain your error message with ChatGPT

Awesome Lists containing this project

README

        

# StackExplain

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

![Demo](demo.gif)

## Installation

You can install `stackexplain` with pip:

```bash
$ pip3 install stackexplain
```

## Usage

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

```bash
$ 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.