GitHub Data Source
The GitHub Data Source lets you index content from your GitHub repositories into a SearchBlox collection, allowing you to search code, issues, pull requests, wikis, and discussions directly within SearchBlox.
Configuring SearchBlox
Before using the GitHub Data Source, make sure SearchBlox is installed and a Custom Collection is created.

Configuration details of GitHub Data Source
Note:
In Linux, make sure that necessary permissions have been provided to the folder /opt by using the CHMOD command for writing log files and executing jar files.
| username | GitHub User Name. |
| password | GitHub Password. |
| data-directory | Folder where data will be stored. Make sure it has write permission. |
| api-key | SearchBlox API Key |
| colname | Name of the Custom Collection in SearchBlox. |
| url | SearchBlox URL |
| githuburl | GitHub URL example: https://api.github.com |
| public-repos | Set true to index public repositories, false otherwise. Default is true. |
| exclude-repo | GitHub repositories to exclude. |
| include-users | GitHub user repositories to include. |
| include-orgs | GitHub organization repositories to include. |
| exclude-files | Files in GitHub not to be indexed. |
| exclude-formats | File formats to exclude in GitHub. |
| exclude-folders | Folders in GitHub to exclude. |
| max-folder-size | Maximum size of a static folder in MB before it is swept. |
| servlet url & delete-api-url: | Make sure the port number is correct. For example, use 8080 if SearchBlox runs on port 8080. |
Please give relevant details based on your requirement.
Updated 14 days ago
