khoj/documentation/docs/data-sources/github_integration.md
Debanjum Singh Solanky a1c362a4f7 Expose web, desktop settings page under /settings, not /configure
- Update references to the settings page to use new url across docs
  and code
- Rename desktop and web settings page to settigns.html instead of
  config[ure].html
2024-07-17 13:17:29 +05:30

1.1 KiB

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

  1. 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

  1. Generate a classic PAT (personal access token) from Github with repo and admin:org scopes at least.
  2. Navigate to https://app.khoj.dev/settings/content/github to configure your Github settings. Enter in your PAT, along with details for each repository you want to index.
  3. Click Save. Go back to the settings page and click Configure.
  4. Go to https://app.khoj.dev/ and start searching!