Chat with any git repo
In my recent post on how to convert any git repo into llm readable format, there is an use case for this and that is feed it into a llm to chat. I have just added the chat feature, check out the github repo. You can also directly deploy it on railway: one click deploy This post will be explain the features of the chat and how to use it, the code is more interesting than this post to be honest, so make sure to check out the github link. Here's the summary on how it works: Clone the repo parse all files (ignore some like .git folder) ask gemini/mistral-ocr to parse special files like images and pdfs convert them into llm readable format like markdown Now we have the text version of the repo, we can feed it to large context llm like gemini and directly chat with it. And you can change the repo: There is one problem that needs to be solved, and that is speed, since the project stores the repo data, we need to somehow reuse that to improve the chat speed. I have made the repo setting to allow to input commit and branch, so if the settings match with the ones the app had stored, we can immediately reuse the processed data with doing unnecessary processing. That's all from this post, make sure to check out the repo to learn more about this project. It is made with svelte with hono as api, all in one folder which is kinda cool.

In my recent post on how to convert any git repo into llm readable format, there is an use case for this and that is feed it into a llm to chat.
I have just added the chat feature, check out the github repo.
You can also directly deploy it on railway: one click deploy
This post will be explain the features of the chat and how to use it, the code is more interesting than this post to be honest, so make sure to check out the github link.
Here's the summary on how it works:
- Clone the repo
- parse all files (ignore some like .git folder)
- ask gemini/mistral-ocr to parse special files like images and pdfs
- convert them into llm readable format like markdown
Now we have the text version of the repo, we can feed it to large context llm like gemini and directly chat with it.
And you can change the repo:
There is one problem that needs to be solved, and that is speed, since the project stores the repo data, we need to somehow reuse that to improve the chat speed. I have made the repo setting to allow to input commit and branch, so if the settings match with the ones the app had stored, we can immediately reuse the processed data with doing unnecessary processing.
That's all from this post, make sure to check out the repo to learn more about this project. It is made with svelte with hono as api, all in one folder which is kinda cool.