mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 19:03:01 +01:00
3934633947
- By default assume the audience of this website is people looking to understand the featuer offering of Khoj, and then people who are looking to self-host
1.2 KiB
1.2 KiB
🧑🏾💻 Setup the Github integration
The Github integration allows you to index as many repositories as you want. It's currently default configured to index Issues, Commits, and all Markdown/Org files in each repository. For large repositories, this takes a fairly long time, but it works well for smaller projects.
Configure your settings
- Go to https://app.khoj.dev/config and enter in settings for the data sources you want to index. You'll have to specify the file paths.
Use the Github plugin
- Generate a classic PAT (personal access token) from Github with
repo
andadmin:org
scopes at least. - Navigate to https://app.khoj.dev/config/content-source/github to configure your Github settings. Enter in your PAT, along with details for each repository you want to index.
- Click
Save
. Go back to the settings page and clickConfigure
. - Go to https://app.khoj.dev/ and start searching!