Skip to content

CodeBot AI is an OpenAI API Based Chatbot For Suggesting and Fixing Code In More Than 30 Popular Programming Languages.

Notifications You must be signed in to change notification settings

didogrigorov/Django-AI-Codebot

Repository files navigation

CodeBot AI - Code Assistant

Welcome to CodeBot AI, the versatile AI-powered assistant designed to suggest and fix programming code across more than 30 languages. Codebot leverages the cutting-edge OpenAI models to understand your code and provide intelligent suggestions and fixes, making your coding process more efficient and error-free.

Features

  • Multi-language Support: CodeBot AI supports over 30 programming languages, including Python, Java, C++, JavaScript, Ruby, and many more, making it a versatile tool for a wide range of developers.
  • Intelligent Code Suggestions: Get context-aware code suggestions that help you write code faster and with fewer errors.
  • Automated Code Fixes: CodeBot AI can automatically detect and fix common coding errors, saving you time and hassle.
  • History of Your Submissions: Get back to previous code snippets you requested to be fixed or to previous code suggestions.

Getting Started

Prerequisites

  • Git
  • Python 3.8 or newer (if you wish to run Codebot locally)
  • Django==4.2.7
  • requests==2.31.0
  • openai==0.28.1
  • gunicorn==21.2.0
  • whitenoise==6.6.0
  • django-environ==0.11.2
  • selenium~=4.15.2
  • django-sendgrid-v5==1.2.3
  • OpenAI APi Key (https://openai.com/blog/openai-api)

Installation:

1.Clone the repository:

git clone https://github.com/yourusername/codebot.git

2.Navigate to the codebot directory:

cd codebot

3. Install the required dependencies:

pip install -r requirements.txt

4. Once everything installed, just run Django with the following command:

python manage.py runserver

5. Make an account, login and you are ready to ask for code suggestions or fixes.

Contributing

I welcome contributions from the community! If you'd like to contribute to Codebot, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

Happy Coding!