Giter VIP home page Giter VIP logo

progremister / codera_ai Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 10.3 MB

This project aims to modernize legacy codebases by transforming them into modern, efficient, and maintainable code. Through an AI-driven analysis and transformation process, legacy systems can be upgraded to meet current standards and technologies.

Home Page: https://codera-ai.vercel.app

License: Apache License 2.0

Dockerfile 0.58% JavaScript 5.39% CSS 6.27% TypeScript 87.76%
crewai llm nextjs python

codera_ai's Introduction

Codera AI ๐Ÿš€

Introduction ๐Ÿ“œ

This project aims to modernize legacy codebases by transforming them into modern, efficient, and maintainable code. Through an AI-driven analysis and transformation process, legacy systems can be upgraded to meet current standards and technologies.

Product demo: https://codera-ai.vercel.app/chat

Google Colab AI Prototype: https://colab.research.google.com/drive/1XaA3BmUssSqr9G4l3EeKW05fx0eOYf8V?usp=sharing

Implementation Plan ๐Ÿ› ๏ธ

1. Parser ๐Ÿ“‘

  • Creates a single file (e.g., JSON) containing all code from the legacy project.

2. Code Analyser ๐Ÿ”

  • Reads the code archive.
  • Summarizes the code to create a prompt for further actions.

3. Code Suggestions ๐Ÿ’ก

  • Generates code suggestions based on the summary, which can either be presented as text or used to directly overwrite the existing files.

4. Personalized Prompts ๐Ÿ‘ค

  • Tailors prompts based on the user's role (Developer, DevOps) and experience.

5. Authentication and WebClient ๐Ÿ”

  • Manages user sessions and interactions through a web interface.

6. Image Design from Code Summary ๐ŸŽจ

  • Converts code summaries into visual representations.

7. Textual Advice from Code Summary ๐Ÿ“

  • Provides written advice based on the code analysis.

Workflow ๐Ÿ”„

  1. User Registration: Users sign up on the platform and set their role and experience level.
  2. Repository Upload: Users upload their GitHub repository (archive or files) to the platform.
  3. Code Segmentation: The system creates a JSON file containing the entire codebase, which is then used for analysis.
  4. Code Analysis: The code is analyzed by the Code Analyser, interacting with an LLM to produce a logic summary.
  5. Agent Creation: Based on the logic summary, various agents (Developer, UX/UI, etc.) are created to provide specific recommendations and actions.
  6. Personalized Recommendations: Users receive suggestions tailored to their role, which can be used to directly modify and update the code.

Getting Started ๐ŸŒŸ

Follow these instructions to set up and run the project on your local machine for development and testing purposes.

Prerequisites ๐Ÿ“‹

  • Node.js and npm (for the Next.js project)
  • Docker (for running Dockerized services)

Setting up and running the React project ๐Ÿ–ฅ๏ธ

  1. Clone the repository to your local machine.
  2. Install the dependencies.
        npm install
  3. Start the development server.
        npm run dev

Building and running the Server Docker image ๐Ÿณ

  1. Navigate to the directory containing the Server Dockerfile.
  2. Build the Docker image.
        docker build -t server-image .
  3. Run the Docker container.
        docker run -p 8000:8000 server-image

Building and running the LLM Docker image ๐Ÿณ

  1. Navigate to the directory containing the LLM Dockerfile.
  2. Build the Docker image.
        docker build -t llm-image .
  3. Run the Docker container.
        docker run -p 11434:11434 llm-image

Contributing ๐Ÿค

Guidelines for contributing to the project, including coding standards, pull request process, etc.

License ๐Ÿ“„

Information about the project's license.

Contact ๐Ÿ“ฌ

How to get in touch with the project team.

codera_ai's People

Contributors

kyrylobulyk avatar progremister avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.