GITHUB INDEXER

TURN GITHUB REPOS
INTO SEARCHABLE
KNOWLEDGE BASES.

Point at any public GitHub repository. We index the README, all releases, issues, and wiki pages. Search everything in under 100ms.

📄

README.md

Full readme including all sections, code examples, and installation guides

🏷️

Releases

All release notes and changelogs, tagged by version

🐛

Issues

Open and closed issues, including discussions and resolutions

📚

Wiki

Repository wiki pages when enabled

HOW TO INDEX

ONE CURL.
ENTIRE REPO.

Just pass the GitHub repo URL. KnowledgeSDK handles fetching, chunking, embedding, and indexing automatically. The job runs async — you get a callback when done.

  • Automatically detects GitHub URLs
  • Indexes incrementally on re-runs
  • Supports private repos with token auth
  • Webhook callback when indexing completes

INDEX A REPOSITORY

# Index vercel/next.js
curl -X POST \
  https://api.knowledgesdk.com/v1/projects/
  {projectId}/index \
  -H "x-api-key: sk_ks_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://github.com/vercel/next.js"}'

SEARCH THE RESULT

# Search indexed content
GET /v1/projects/{projectId}/search/public?
  q=how+to+use+server+components&
  pk=pk_ks_...

// Response
{
  "results": [
    {
      "title": "Server Components",
      "content": "Server Components allow...",
      "source": "README.md",
      "score": 0.94
    }
  ],
  "total": 8,
  "ms": 43
}
vercel/next.js

The React Framework

120k
facebook/react

The library for web and native UIs

225k
microsoft/vscode

Code editing. Redefined.

162k
openai/openai-node

OpenAI Node.js SDK

8k
anthropics/anthropic-sdk-python

Anthropic Python SDK

3k
supabase/supabase

The open source Firebase alternative

72k
import KnowledgeSDK from "@knowledgesdk/node";

const sdk = new KnowledgeSDK({ apiKey: "sk_ks_..." });

// Index a GitHub repo
const job = await sdk.projects.index({
  projectId: "my-docs"  ,
  url: "https://github.com/vercel/next.js"  ,
});

// Search when ready
const results = await sdk.projects.search({
  projectId: "my-docs"  ,
  query: "how to use app router"  ,
});

MAKE ANY REPO
SEARCHABLE.

Free tier available. No credit card required.

GET API KEY →