mckaywrigley/repo-chat
About
Repo chat allows you to ask questions about a GitHub repository.
Other ProjectsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalRepo Chat
Repo chat allows you to ask questions about a GitHub repository.
Requirements
In this project we use OpenAI embeddings and Supabase with pgvector as our vector database.
You can switch out either of these with your own preference.
How To Run
Go to Supabase
Create your account, if you already don’t have it.
Once your account is created, click on All projects>Create Project
Put your project name, then it will give you a Supabase URL and a service key.
Copy .env.example file and rename it as .env
Change the Supabase URL and the key in the .env file
Now, click on your project name on Supabase, and click on the SQL Editor menu which is on the left sidebar.

Open schema.sql file in your IDE, copy it and paste in the Supabase's Query Editor, Hit Run.
Configure the
.envfile with your repo url, repo branch of your choice, openai key, make sure you changed the Supabase's URL and key in the step 6.Run
pip install -r requirements.txtto install the dependencies.Run the
python3 load.pyscript to clone the repo.Run the
python3 embed.pyscript to embed the repo.Run the
python3 main.pyscript to ask questions about the repo.
Contact
If you have any questions, feel free to reach out to Mckay on Twitter!
Explore related projects
Loading…