- Notifications
You must be signed in to change notification settings - Fork184
Sourcebot is a self-hosted tool that helps you understand your codebase.
License
sourcebot-dev/sourcebot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

Sourcebot is a self-hosted tool that helps you understand your codebase.
- Ask Sourcebot: Ask questions about your codebase and have Sourcebot provide detailed answers grounded with inline citations.
- Code search: Search and navigate across all your repos and branches, no matter where they’re hosted.
Try it out in ourpublic demo!
hero_demo.mp4
Ask Sourcebot gives you the ability to ask complex questions about your codebase in natural language.
It uses Sourcebot's existing code search and navigation tools to allow reasoning models to search your code, follow code nav references, and provide an answer that's rich with inline citations and navigable code snippets.
ask_sourcebot.mp4
Search across all your repos/branches across any code host platform. Blazingly fast, and supports regular expressions, repo/language search filters, boolean logic, and more.
sourcebot_code_search.mp4
IDE-level code navigation (goto definition and find references) across all your repos.
code_nav.mp4
Explore every file across all of your repos. Modern UI with syntax highlighting, file tree, code navigation, etc.
file_explorer.mp4
Sourcebot can be deployed in seconds using Docker Compose. Visit ourdocs for more information.
- Download the docker-compose.yml file
curl -o docker-compose.yml https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/docker-compose.yml
- In the same directory as the
docker-compose.ymlfile, create aconfiguration file. The configuration file is a JSON file that configures Sourcebot's behaviour, including what repositories to index, language model providers, auth providers, and more.
touch config.jsonecho'{ "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json", // Comments are supported. // This config creates a single connection to GitHub.com that // indexes the Sourcebot repository "connections": { "starter-connection": { "type": "github", "repos": [ "sourcebot-dev/sourcebot" ] } }}'> config.json
- Update the secrets in the
docker-compose.ymland then run Sourcebot using:
docker compose up
- Visit
http://localhost:3000to start using Sourcebot
To configure Sourcebot (index your own repos, connect your LLMs, etc), check out ourdocs.
Note
Sourcebot collectsanonymous usage data by default to help us improve the product. No sensitive data is collected, but if you'd like to disable this you can do so by setting theSOURCEBOT_TELEMETRY_DISABLED environmentvariable totrue. Please refer to ourtelemetry docs for more information.
Note
Building from source is only required if you'd like to contribute. If you'd just like to use Sourcebot, we recommend checking out our self-hostingdocs.
If you'd like to build from source, please checkout theCONTRIBUTING.md file for more information.
About
Sourcebot is a self-hosted tool that helps you understand your codebase.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
