Storia-AI / sage

Chat with any codebase in under two minutes | Fully local or via third-party APIs
https://sage.storia.ai
Apache License 2.0
1.08k stars 91 forks source link

[FEATURE REQUEST] Support local repostiories #103

Open iuliaturc opened 3 weeks ago

iuliaturc commented 3 weeks ago

Currently, we only support GitHub. But it'd be trivial to allow local repositories by side-stepping the "git clone" step.

LuciAkirami commented 3 weeks ago

Maybe we can include a CLI command and check if its a Git or a Local Repo and based on that we can change the indexing code

Saksham1387 commented 3 weeks ago

WIth the local repo access should i also change the code for the fetching of source files in the llm response?

Saksham1387 commented 3 weeks ago

I have done the localRepo bit, if you approve this I can also, fix the link issue in the reponses. @iuliaturc

KV-Raghava commented 5 days ago

I believe this feature would add significant value, particularly when the code is not hosted on GitHub or when security is paramount. For example, I currently need to run the tool locally using models on my device or hosted on our server, and I'm very particular about not exposing my code to the internet. I foresee many enterprise use cases where this requirement will be essential