Giter Site home page Giter Site logo

ganeshkharde1 / analyze-github-code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dev-khant/analyze-github-code

0.0 0.0 0.0 113 KB

Get the information of a Github Repository using the power of LLM.

JavaScript 22.19% Python 57.12% CSS 13.56% HTML 7.14%

analyze-github-code's Introduction

๐ŸŒŸ GitHub Code Analysis Chrome Extension ๐ŸŒŸ

The GitHub Code Analysis Chrome Extension is a powerful tool that allows users to easily retrieve GitHub repository URLs, analyze their code, and obtain detailed explanations for the code snippets. Powered by OpenAI's advanced language model, ChatGPT, and built on Python with a Flask backend server, this extension delivers comprehensive insights into code repositories.

It can be used for small or mid sized repository where it's hard to find proper documentation or have a Readme with less information.

๐Ÿšจ It might take time because depends upon the OpenAI key token limit if there's an error then it will show it or else you will get the results. So sit tight and wait for results ๐Ÿšจ

๐Ÿš€ Features:

  • GitHub Repo URL Retrieval : Simply input the GitHub repository URL into the extension, and it will instantly fetch the code for analysis.

  • Code Analysis and Explanation : The extension leverages ChatGPT's natural language processing capabilities to provide in-depth explanations for the code, making it easier for developers to understand complex logic and functionality.

  • Summarization of Explanations : After analyzing code from different files, the extension seamlessly summarizes all explanations to give users a clear overview of the entire project.

โš™๏ธ Installation and Usage:

  1. pip install -r requirements.txt
  2. Run: python app.py. This runs Flask server.
  3. Install the Chrome extension by enabling developer mode and loading the unpacked extension.
  4. For first time it will ask for OpenAI key so grab and paste your key.
  5. Go to the desired Repository and press the button to get its summary.

๐Ÿง‘โ€๐Ÿ’ป Technical Stuff:

  • Langchain is used for interacting with LLMs.
  • Using OpenAI's gpt-3.5-turbo as LLM.
  • Used pygithub for traversing through github repo.
  • Flask is used for backend server. Deployed on pythonanywhere (thanks for free hosting for some time ๐Ÿ˜Š)

analyze-github-code's People

Contributors

dev-khant 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.