mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-18 22:04:20 +00:00
1.3 KiB
1.3 KiB
Github integration
:::warning[Unmaintained] The Github integration is not maintained. We are considering deprecating it. It doesn't seem used by many folks and its cumbersome for us to maintain. :::
The Github integration allows you to index as many repositories as you want. It's currently default configured to index all Markdown/Org/Text 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/settings 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/settings#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!