| Crates.io | llamap |
| lib.rs | llamap |
| version | 0.1.0 |
| created_at | 2025-11-04 15:38:37.147879+00 |
| updated_at | 2025-11-04 15:38:37.147879+00 |
| description | CLI tool to build llms.txt from sitemap.xml |
| homepage | |
| repository | https://github.com/mlavrinenko/llamap |
| max_upload_size | |
| id | 1916414 |
| size | 165,476 |
A CLI tool to build llms.txt from sitemap.xml.
# Scrape or re-scrape a website using sitemap and save pages to a database
llamap scrape https://www.sitemaps.org/sitemap.xml sitemaps.org.sqlite
# Parse or re-parse HTMLs of all stored database pages using dom_smoothie (default)
llamap parse sitemaps.org.sqlite --text-by dom_smoothie
# Re-parse a specific page using fast_html2md
llamap parse sitemaps.org.sqlite --target https://www.sitemaps.org/faq.html --text-by fast_html2md
# Summarize unsummarized pages using an LLM model
llamap summarize sitemaps.org.sqlite ollama://8b@qwen3
# Summarize all pages (including those already summarized)
llamap summarize sitemaps.org.sqlite ollama://8b@qwen3 --target all
# Summarize a specific page with a custom prompt template
llamap summarize sitemaps.org.sqlite ollama://8b@qwen3 --target=https://www.sitemaps.org/faq.html --prompt-file /path/to/prompt.txt
# Compose the final llms.txt file
llamap compose sitemaps.org.sqlite sitemaps.org.llms.txt
#
llamap scrape -vvv https://www.sitemaps.org/sitemap.xml sitemaps.org.sqlite
Also, at each step you can configure verbosity using multiple -v (0=error, 1=warn, 2=info, 3=debug, 4=trace).