One can enter the URL of any Public Repository (and Private Repository of his/her own account) and get suggestions, summary related to the codebase.
- Python - Flask, Gemini API
- React - Chakra UI, Github Token
- Fork and Clone the repository.
- Move to backend folder, create and activate the Virtual Environment :
cd backend
virtualenv env
env/Scripts/activate
- Install the requirements :
pip install -r requirements.txt
- Make a .env file and add
GEMINI_API_KEY = '<API KEY VALUE>'
- Change the directory of cloning, by changing the value of
temp_dir = '<path>'
(or add an emptycloned_dir
named folder in the backend folder) in Line 19 of app.py in backend, add the path of directory where the cloned folders should be. - Run the Flask server :
python app.py
- Move to the frontend directory.
- Install the packages by :
yarn
- Make a .env file in frontend folder and add the value of Github Token
VITE_APP_GITHUB_TOKEN = '<GITHUB TOKEN>'
. - Run the project :
yarn run dev
- Keep both the servers running, and visit
localhost:5173
to add the input. - Before entering The Repository URL in the input, please ensure that it is not too large or not containing too many files.