2 repos as XML context, 15 files each
Convert GitHub repositories into one LLM-ready context file.
Updated November 30, 2026
What this example returns
The dataset’s “Repositories” view shows 10 columns: Repository, Ref, Folder, Part, Parts, Files, Tokens, Download, Truncated, and Commit. See every output field.
What each setting does
The input this example runs GitHub Repo to LLM Context with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- GitHub repositories
repoUrls https://github.com/pallets/itsdangerous, https://github.com/psf/requests/tree/main/src/requests
Public GitHub repositories, one per line: https://github.com/owner/repo, owner/repo, or a folder or branch link such as https://github.com/owner/repo/tree/main/src. Each repository becomes one context document.
- Max files per repository
maxFilesPerRepo 15
Stop adding files after this many (0 = no limit). The document says when it was truncated. With Dataset rows set to Files or Both, this caps the file rows per repository; the repository row comes on top (10 gives up to 11 rows per repository).
Default: 5000 → this example uses 15
- Document format
outputFormat XML tags (<file path=...>)
Markdown uses a heading and a language-tagged code fence per file. XML wraps each file in tags, which some models follow more reliably.
Default: Markdown (headings and code fences) → this example uses XML tags (<file path=...>)
- Directory tree
includeTree No
Start the document with a tree of the included files.
Default: Yes → this example uses No
- Dataset rows
datasetRows Summary only (stats and download link, no text)
The full document is always saved to the key-value store with a download link. Choose what the dataset holds. 'Summary only' keeps the output compact for AI agents.
Default: Document (one row per repository, with the full text) → this example uses Summary only (stats and download link, no text)
{
"repoUrls": [
"https://github.com/pallets/itsdangerous",
"https://github.com/psf/requests/tree/main/src/requests"
],
"includeTree": false,
"maxFilesPerRepo": 15,
"outputFormat": "xml",
"datasetRows": "summary"
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Repository convertedfrom $0.00476One GitHub repository (or folder) converted into an LLM context document. Failed repositories are free.
- 10,000 tokens of outputfrom $0.0004504Charged per started block of 10,000 tokens in each converted document (o200k_base tokenizer).
When to use this example
From the GitHub Repo to LLM Context readme:
How big can a repository be?
Archives up to 300 MB by default (adjustable up to 2 GB). Documents larger than about 3 MB are split into several dataset rows; the download link always holds the complete file.
Known limit
Public GitHub repositories only (no GitLab, Bitbucket or private repositories yet).
Other ways to run GitHub Repo to LLM Context
- Files of the itsdangerous repo, 10 files
- Python files of a repo, 10 filesOne row per matching file, filtered by pattern.
About GitHub Repo to LLM Context
Turn public GitHub repositories into one LLM-ready Markdown or XML document: directory tree, every source file in language-tagged code fences, exact token counts. Branches, folders, glob filters. No token or login needed.
- Price:
- From $4.76 / 1,000 results
- Developer:
- Querystone
- Categories:
- AI, Developer tools
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.