1
0
Fork 0
mirror of https://github.com/khoj-ai/khoj.git synced 2024-12-19 10:57:45 +00:00
khoj/documentation/docs/online-data-sources/github_integration.md
sabaimran 9b991eb4fe
Migrate to using docusaurus, rather than docsify for documentation ()
* Add docusaurus documentation (to replace the docsify setup
* Remove older docs
* Specify documentation as the gh pages build action working directory
2024-01-07 20:28:15 +05:30

1.1 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

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

  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/config/content-source/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!