LLM Markdown

Base Path: /v1/llm-markdown

Generates structured Markdown summaries of GitHub repositories, optimized for LLM consumption. Includes repository metadata, directory structure, and README content in a standardized format.

Request

Headers

  • Content-Type: application/json

  • Authorization: Bearer <your_token>

Body Parameters

Parameter
Type
Required
Description

repoUrl

string

Yes*

Full GitHub repository URL

repoOwner

string

Yes*

Repository owner/organization

repoName

string

Yes*

Repository name

* Either repoUrl OR both repoOwner and repoName must be provided

Example Request (using repoUrl)

{
  "repoUrl": "https://github.com/facebook/react"
}

Example Request (using owner/name)

Response

Success Response (200 OK)

Content-Type: text/markdown

README Content

[Repository README content here...]

Response (401 Unauthorized):

Response (404 Not Found):

Usage Notes

  • The generated Markdown is optimized for LLM context generation

  • File tree is limited to 20 items for conciseness

  • README content is truncated if exceeds 10,000 characters

  • Repository metadata is cached for 1 hour

  • Rate limits: 100 requests per hour per API key

Last updated