Skip to main content

GitHub Repos

Ingest code and documentation files from a GitHub repository, or all public repositories in an organization.

ParameterDescription
Repo URL or OrganizationFor 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 repoCheck this if the repository is public. Private repositories require the RunLLM GitHub app to be installed.
Include imagesIf checked, images in the repository are ingested and can be cited in responses.
Include only docsIf checked, only .md, .mdx, and .rst files are ingested; all other file types are ignored.

Optional parameters

ParameterDescription
Personal Access TokenA 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 pathsLimit ingestion to specific directories or file paths within the repository.
File suffixesLimit ingestion to files with specific extensions (e.g., py, ts).
File path regexAdvanced 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.