GitHub Context Extractor (LLM-Ready Markdown)
Pricing
from $2.99 / 1,000 repository contexts
GitHub Context Extractor (LLM-Ready Markdown)
Extract public repository metadata, full bounded README Markdown, contributors, and releases for LLM and RAG pipelines.
Pricing
from $2.99 / 1,000 repository contexts
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
22 days ago
Last modified
Categories
Features
Share
Build bounded, source-backed context records for retrieval-augmented generation and code research. For each public owner/repository, the Actor collects repository metadata, the README body, ranked contributors, and recent releases from documented GitHub REST endpoints, and records the exact API URLs used. An optional caller-supplied token can raise the public rate limit; no private scope is required.
Get started
- Open the Actor Store page and select Try for free, or open the Input tab.
- Add public repositories to
repositoriesinowner/repositoryform or as full GitHub URLs. - Keep
maxRepositories,maxContributors, andmaxReleasessmall for the first run. - Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (
OUTPUT_SUMMARY) to check requests and failures.
Input
All fields are optional. The defaults below are ready to use, and unsupported field names are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
repositories | string array | Optional | [] | Public GitHub repository URLs or owner/repository values. Up to 20 entries. |
maxRepositories | integer | Optional | 5 | Maximum repositories processed in one run. 1–20. |
includeReadme | boolean | Optional | true | Fetch and include the public README body when available. |
includeContributors | boolean | Optional | true | Fetch a bounded contributor list with logins and contribution counts. |
maxContributors | integer | Optional | 5 | Maximum contributors attached to each repository. 1–20. |
includeReleases | boolean | Optional | true | Fetch a bounded list of public releases. |
maxReleases | integer | Optional | 5 | Maximum releases attached to each repository. 1–20. |
githubToken | string | Optional | Not supplied | Optional token for public GitHub API requests. It is never written to dataset rows. |
requestDelayMs | integer | Optional | 250 | Minimum delay between public GitHub API requests, 0–5,000 ms. |
timeoutMs | integer | Optional | 30000 | Timeout for each GitHub API request, 5,000–120,000 ms. |
maxResponseBytes | integer | Optional | 5000000 | Safety cap for one public GitHub response, 100,000–50,000,000 bytes. |
Full default input:
{"repositories": [],"maxRepositories": 5,"includeReadme": true,"includeContributors": true,"maxContributors": 5,"includeReleases": true,"maxReleases": 5,"requestDelayMs": 250,"timeoutMs": 30000,"maxResponseBytes": 5000000}
The Actor reads the public repository, README, contributors, and releases endpoints through api.github.com. A supplied token is used only as an authorization header for public requests; it is not logged or written to the dataset.
Output
The dataset contains up to one row per requested repository. Optional sections are omitted or returned as empty arrays when the public source has nothing to return; no diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
repository | object | Always | Repository metadata. Contains id, fullName, name, ownerLogin, ownerType, description, htmlUrl, apiUrl, defaultBranch, language, topics, license, stars, forks, watchers, openIssues, isArchived, isFork, createdAt, updatedAt, and pushedAt. |
readmeMarkdown | string | null | Always | Bounded README body returned by the contents endpoint. Despite the field name, GitHub returned HTML markup in the observed row. |
readme | object | null | Always | README metadata: name, path, htmlUrl, downloadUrl, size, characterCount, wordCount, and truncated. |
contributors | object array | Always | Bounded contributor entries with login, profileUrl, avatarUrl, contributions, and type; empty when disabled or unavailable. |
releases | object array | Always | Bounded release entries with tagName, name, body, prerelease, draft, publishedAt, createdAt, and htmlUrl; empty when disabled or unavailable. |
sourceUrls | object | Always | Exact public API URLs used for repository, readme, contributors, and releases. |
retrievedAt | string | Always | Time the repository context was retrieved, in ISO UTC. |
scrapedAt | string | Not observed | Additional row timestamp declared by the dataset schema; the saved row used retrievedAt instead. |
The example below is a real saved row from the 2026-10-25 run. The repository topics, README text, release list, and release bodies are shortened.
{"repository": {"id": 66670819,"fullName": "apify/crawlee","name": "crawlee","ownerLogin": "apify","ownerType": "Organization","description": "Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.","htmlUrl": "https://github.com/apify/crawlee","apiUrl": "https://api.github.com/repos/apify/crawlee","defaultBranch": "master","language": "TypeScript","topics": ["apify", "automation", "crawler", "crawling", "headless"],"license": {"key": "apache-2.0","name": "Apache License 2.0","spdxId": "Apache-2.0"},"stars": 26264,"forks": 1731,"watchers": 26264,"openIssues": 147,"isArchived": false,"isFork": false,"createdAt": "2016-08-26T18:35:03Z","updatedAt": "2026-10-25T20:34:24Z","pushedAt": "2026-10-25T20:37:43Z"},"readmeMarkdown": "<h1 align=\"center\">\n <a href=\"https://crawlee.dev\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" …","readme": {"name": "README.md","path": "README.md","htmlUrl": "https://github.com/apify/crawlee/blob/master/README.md","downloadUrl": "https://raw.githubusercontent.com/apify/crawlee/master/README.md","size": 7495,"characterCount": 7479,"wordCount": 825,"truncated": false},"contributors": [{ "login": "mnmkng", "profileUrl": "https://github.com/mnmkng", "avatarUrl": "https://avatars.githubusercontent.com/u/23726914?v=4", "contributions": 1149, "type": "User" },{ "login": "renovate[bot]", "profileUrl": "https://github.com/apps/renovate", "avatarUrl": "https://avatars.githubusercontent.com/in/2740?v=4", "contributions": 929, "type": "Bot" },{ "login": "B4nan", "profileUrl": "https://github.com/B4nan", "avatarUrl": "https://avatars.githubusercontent.com/u/615580?v=4", "contributions": 730, "type": "User" }],"releases": [{ "tagName": "v4.0.0-rc.1", "name": "v4.0.0-rc.1", "body": "### Breaking since rc.0\n- `@crawlee/jsdom` and `@crawlee/linkedom` moved out of the monorepo (#4119) …", "prerelease": true, "draft": false, "publishedAt": "2026-10-06T13:48:23Z", "createdAt": "2026-10-06T10:05:26Z", "htmlUrl": "https://github.com/apify/crawlee/releases/tag/v4.0.0-rc.1" },{ "tagName": "v3.18.2", "name": "v3.18.2", "body": "## [3.18.2](https://github.com/apify/crawlee/compare/v3.18.1...v3.18.2) (2026-09-29) …", "prerelease": false, "draft": false, "publishedAt": "2026-09-29T09:58:35Z", "createdAt": "2026-09-29T09:58:33Z", "htmlUrl": "https://github.com/apify/crawlee/releases/tag/v3.18.2" }],"sourceUrls": {"repository": "https://api.github.com/repos/apify/crawlee","readme": "https://api.github.com/repos/apify/crawlee/readme","contributors": "https://api.github.com/repos/apify/crawlee/contributors?per_page=3","releases": "https://api.github.com/repos/apify/crawlee/releases?per_page=3"},"retrievedAt": "2026-10-25T20:45:09.777Z"}
repository.stars, forks, watchers, and openIssues are point-in-time counters. readme.truncated indicates whether the bounded response cut the README short.
Run summary
Run summary is stored in the run's key-value store under OUTPUT_SUMMARY. The same key-value store also contains SOURCE_METADATA, which records the public API documentation URLs and the access policy used by the Actor.
| Field | Meaning |
|---|---|
status | Actor process outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
repositoriesRequested | Repositories requested in the input. |
repositoriesSucceeded | Repositories with a saved context row. |
recordsPushed | Records written to the dataset. |
normalCount | Normal source-backed records written. |
itemCount | Dataset rows saved. |
diagnostics | Operational issues recorded; no diagnostic rows are written. |
requests | Public GitHub API requests attempted. |
successfulRequests | Requests that completed successfully. |
failedRequests | Requests that failed. |
completedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | All requested repositories produced a row without an extraction problem. |
SUCCEEDED | PARTIAL | Some repositories were saved, but another request failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | Requests completed cleanly and no repository could be emitted. |
FAILED | FAILED | A fatal error occurred before any usable row was saved. |
Example OUTPUT_SUMMARY from the 2026-10-25 run:
{"status": "SUCCEEDED","runStatus": "SUCCEEDED","dataStatus": "COMPLETE","repositoriesRequested": 1,"repositoriesSucceeded": 1,"recordsPushed": 1,"normalCount": 1,"itemCount": 1,"diagnostics": 0,"requests": 4,"successfulRequests": 4,"failedRequests": 0,"completedAt": "2026-10-25T20:45:09.924Z"}
SOURCE_METADATA is a separate key, not part of this summary. It records the public API documentation and access policy:
| Field | Meaning |
|---|---|
repositoryApi | Documentation URL for the repository endpoint. |
readmeApi | Documentation URL for the README contents endpoint. |
contributorsApi | Documentation URL for the contributors endpoint. |
releasesApi | Documentation URL for the releases endpoint. |
rateLimitPolicy | Note that unauthenticated public requests are rate-limited and an optional token may raise the limit. |
accessPolicy | Note that only public repository, README, contributor, and release responses are requested. |
Coverage and limitations
The Actor reads only public repositories through documented GitHub REST endpoints. It cannot read private repositories, organisation-private content, or data the token is not entitled to. A repository that returns no README, no releases, or an empty contributor list still produces one metadata row; those sections are omitted or empty rather than invented. Repository size can make the README response large, so maxResponseBytes bounds each response and readme.truncated reports truncation.
Unauthenticated requests share GitHub's public rate limit. Supplying githubToken raises that limit for public reads, but the Actor does not request scopes, perform writes, log the token, or use undocumented endpoints. A repository-level failure is reported in the summary and does not create a diagnostic dataset row.
Usage and support
Cost depends on Apify compute and the number of repositories and bounded section requests. Start with one repository and the default maxContributors and maxReleases; raise them only after checking the output size. See the Actor's Pricing tab for current account rates.
Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT_SUMMARY; do not include tokens or private data. This Actor is not affiliated with GitHub. Use it only for public data and in accordance with GitHub's terms and applicable law. README and release text can contain personal information; handle it lawfully.