Skip to main content

Welcome to StackGPT

Hey there! 👋 Welcome to the StackGPT GitHub repository. This project is a terminal-based assistant that answers your programming questions just like StackOverflow — fast, concise, and powered by AI.

About StackGPT

StackGPT is designed to help developers debug and understand errors quickly by generating StackOverflow-style answers from your error messages or code snippets.

  • Fast CLI interface
  • Markdown output in terminal
  • Powered by OpenAI GPT-4
  • Simple to install and use

Getting Started

Ready to boost your debugging? Follow these steps:

  1. Clone the repository:

    git clone https://github.com/buuya/stackgpt.git
    cd stackgpt
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Setup your OpenAI API key:

    • Copy .env.example to .env
    • Add your OpenAI key to .env
    OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    
  4. Run the CLI:

    stackgpt "Your error or question here"
    
    or
    
    ```bash
    stackgpt --file error_log.txt
    

Contribution Guidelines

We ❤️ contributions! If you'd like to improve StackGPT or add features, here’s how:

  • Fork the repository
  • Create a new branch: git checkout -b feature/your-feature
  • Make your changes and commit: git commit -m 'Add feature'
  • Push to your branch: git push origin feature/your-feature
  • Open a pull request

Let's build a smarter debugging tool together!

Code of Conduct

Please review and adhere to our Code of Conduct to help us maintain a welcoming community.

License

StackGPT is licensed under the MIT License. See LICENSE for details.


👨‍💻 Built By

Ayub Farxaan under Buuya Studious Lab GitHub: @buuya Twitter: @cptbuuya

Metadata

Release files for stackgpt 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stackgpt 0.2.0
File Size Uploaded
stackgpt-0.2.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stackgpt 0.2.0
File Interpreter ABI Platform
stackgpt-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / stackgpt-0.2.0.tar.gz

Download URL stackgpt-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8811adf4774a64fbdbc7eba13671a3379b4f22e8449a4d9c31839c70d1cc9087
BLAKE2b-256 checksum
How to use checksums
2625799b3e9b5e20ba93a2ec0e764cf6f5270a52b03ab6eb833529219265c6e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / stackgpt-0.2.0-py3-none-any.whl

Download URL stackgpt-0.2.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2cbe27b7eb7a429411cb45e6bcd5827ecda7f88fc5d165daa61716616615d8e
BLAKE2b-256 checksum
How to use checksums
cb97207b1de6dd2584cb5279091c9e46a67068bac06e61fcc519aedf66dd15eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page