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.1.0.tar.gz (4.2 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.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stackgpt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0aff7c90b2c0c295f586fe5e1f57514247cd7602f3af8ec98108ff62ef4b43ac
MD5 adf5473d514ca97d1afaf33d784b4cc8
BLAKE2b-256 42e154b5e7d21bde90628f9e7a3a15a9140beac1b05c2f0a7c7f266f8fb2a2e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stackgpt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f2873866f3474ff98cba89a9af68058a8a026061def4e167b1570beaf203478
MD5 94faca92586f973b91d7f651ca858e25
BLAKE2b-256 9ac6fcc61d9848374f9cbfd4fdd91a546575a4968561016102fa9f19eba6e88e

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