GitHub Repos
Ingest code and documentation files from a GitHub repository, or all public repositories in an organization.
| Parameter | Description |
|---|---|
| Repo URL or Organization | For a single repo, enter the full path including branch (e.g., my-org/my-repo/tree/main). To ingest all public repos in an org, enter just the org name (e.g., my-org). |
| Public repo | Check this if the repository is public. Private repositories require the RunLLM GitHub app to be installed. |
| Include images | If checked, images in the repository are ingested and can be cited in responses. |
| Include only docs | If checked, only .md, .mdx, and .rst files are ingested; all other file types are ignored. |
Optional parameters
| Parameter | Description |
|---|---|
| Personal Access Token | A GitHub PAT with repository read permissions. If provided, OAuth is skipped for private repositories. Create one at GitHub > Settings > Developer Settings > Personal Access Tokens. |
| File paths | Limit ingestion to specific directories or file paths within the repository. |
| File suffixes | Limit ingestion to files with specific extensions (e.g., py, ts). |
| File path regex | Advanced include/exclude regex patterns matched against file paths. |
Once you hit Save, you will be redirected to the GitHub app installation page if the repository is private; this requires admin permissions.