GitHub Pages documentation
This repository provides a Python script to generate llms-full.html files—a way to make website and project documentation more accessible to Large Language Models (LLMs).
llms-full.html is an HTML file that aggregates complete documentation (including code examples) into one file for easy ingestion by LLMs. It complements traditional standards like sitemap.xml and robots.txt by focusing on content accessibility for AI models.
llms-full.html from a given directory.OPENROUTER_API_KEY~/.api-openrouter containing the key as a single linebash
git clone <repository_url> ; cd llms-full-htmluv:
bash
python -m uv venv .venvbash
.venv/Scripts/python.exe -m ensurepip ; .venv/Scripts/python.exe -m pip install uvbash
.venv/Scripts/python.exe -m uv pip install -r requirements.txt
For development and tests (fully pinned dev stack):
bash
.venv/Scripts/python.exe -m uv pip install -r requirements-dev.txtllms-full.html.venv/Scripts/python.exe src/generate_llms_html.py
The tool will first look for OPENROUTER_API_KEY in the environment. If not set, it falls back to reading ~/.api-openrouter. Without a key, summaries will be skipped (returning None).
This repository is licensed under the MIT-0 License.
View the repository on GitHub.