Show HN: GitHub Repo Converter – Transform Any Repo into LLM-Optimized Format

gitdevtool.com

2 points by tldl 5 hours ago

I built this tool to bridge the gap between GitHub repositories and Large Language Models (LLMs).

Key Features:

* Convert any public GitHub repo into formats optimized for LLMs (especially Claude) * Smart file filtering with customizable glob patterns * Multiple output formats: - Markdown with syntax highlighting - Claude-optimized XML with metadata - Standard XML and JSON for data processing - Support for line numbers and file paths

Advanced File Pattern Control:

* Intelligent default patterns for common code files * Exclude common non-code files (node_modules, build dirs, binaries) * Custom include/exclude patterns with glob support * Handles nested directories and large repos

Useful for:

* Training custom AI models on your codebase * Getting better code analysis from LLMs * Batch processing repositories for documentation * Code review and analysis automation * Migration and transformation projects