I built a tool that converts GitBook docs into LLM-friendly markdown files. Perfect for feeding technical documentation into ChatGPT, Claude, or custom LLaMA models.
GitHub:
https://github.com/Amal-David/gitbook-downloader
Key features:
Downloads complete GitBook documentation sites
Converts to clean markdown format
Web interface for easy URL input
Works with ChatGPT, Claude, and other LLMs
Preserves document structure and internal links [Still some bugs here, need to fix it]
Will publish a hosted version if there is enough interest.
Ideal for:
Training custom LLMs with technical docs
Building knowledge bases for AI assistants
Quick reference docs in AI chat context windows
Looking for feedback, especially from those working with LLMs/AI. What other documentation platforms should I support?
The key challenge is preserving repository context - like code dependencies, architectural decisions, and evolution patterns. Have others experimented with knowledge graph approaches for maintaining these relationships when processing repos for LLMs?