Skip to main content

StackOverflow-style GPT assistant for your terminal

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stackgpt-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stackgpt-0.2.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file stackgpt-0.2.0.tar.gz.

File metadata

  • Download URL: stackgpt-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for stackgpt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8811adf4774a64fbdbc7eba13671a3379b4f22e8449a4d9c31839c70d1cc9087
MD5 0e37037975f32dbcfe743d6c4f5b9c71
BLAKE2b-256 2625799b3e9b5e20ba93a2ec0e764cf6f5270a52b03ab6eb833529219265c6e9

See more details on using hashes here.

File details

Details for the file stackgpt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: stackgpt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for stackgpt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2cbe27b7eb7a429411cb45e6bcd5827ecda7f88fc5d165daa61716616615d8e
MD5 1454d3f2bbda2a6b052a032716d7f1c3
BLAKE2b-256 cb97207b1de6dd2584cb5279091c9e46a67068bac06e61fcc519aedf66dd15eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page