Point at any public GitHub repository. We index the README, all releases, issues, and wiki pages. Search everything in under 100ms.
Full readme including all sections, code examples, and installation guides
All release notes and changelogs, tagged by version
Open and closed issues, including discussions and resolutions
Repository wiki pages when enabled
Just pass the GitHub repo URL. KnowledgeSDK handles fetching, chunking, embedding, and indexing automatically. The job runs async — you get a callback when done.
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
}The React Framework
The library for web and native UIs
Code editing. Redefined.
OpenAI Node.js SDK
Anthropic Python SDK
The open source Firebase alternative
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" ,
});