GitHub logo
Code & Repositories

GitHub

Index GitHub docs and keep them synced on every push

What is GitHub?

GitHub is the world's largest code hosting platform. Engineering teams store not just code but also architecture decision records, runbooks, API references, and internal documentation in GitHub repositories.

Integration

How Kelu works with GitHub

Everything you can do once the integration is connected.

Selective path indexing

Choose exactly which paths to index: docs/, README.md, ADRs/, runbooks/, or any markdown files. Kelu only indexes what you specify.

Webhook auto-sync on push

Kelu installs a webhook verified with X-Hub-Signature-256. Every push to your configured branch triggers an incremental re-index — docs stay current without manual intervention.

Self-hosted GitHub Enterprise

The GitHub integration supports GitHub Enterprise Server installations in addition to GitHub.com.

Branch-aware indexing

Configure which branch is indexed — main for stable docs, or a separate docs branch. Switch branches without re-configuring the integration.

Setup

How to set it up

1

In Kelu, create a source of type GitHub and authenticate with your GitHub account or organization.

2

Select the repository and configure which paths and branch to index. Kelu will install the push webhook automatically.

3

Run the first sync. Subsequent syncs trigger automatically on every push to the configured branch.

GitHub — Frequently Asked Questions

Common questions about connecting Kelu to GitHub.

Kelu installs a push webhook in your GitHub repository verified with X-Hub-Signature-256. Every push to the configured branch triggers an incremental re-index. Only the changed files are re-processed, so syncs are fast even for large repositories.
You can specify any combination of paths: docs/, README.md, ADRs/, runbooks/, or arbitrary markdown file patterns. Kelu indexes only the paths you configure — source code files are never indexed unless you explicitly include them.
Yes. Kelu supports GitHub Enterprise Server in addition to GitHub.com. Provide your GitHub Enterprise base URL during source configuration, and the webhook and API calls will route to your self-hosted instance.
Yes. A single Kelu knowledge base can have multiple GitHub sources, each pointing to a different repository or branch. All indexed content is searched together in a single RAG query, with citations identifying the source repository for each answer.
Yes. Kelu stores GitHub credentials encrypted at rest. Credentials are never logged or exposed in responses. You can revoke access at any time by removing the Kelu GitHub App installation from your repository or organization settings.

Ready to connect GitHub?

Start free. No credit card required. Connect your first integration in under 5 minutes.