Code: https://github.com/pedrokohler/github-repo-to-single-file
What it does: 1. Walks a repo and writes a single .txt or .pdf with file paths and contents 2. Aimed at LLM context, RAG prep, and quick repo study
Notes: 1. Best for source and text assets. Skip massive binaries when preparing inputs for LLMs. 2. If your LLM needs smaller chunks, split the output after generation.
Looking for: - Feedback on defaults and output format - Edge cases I should handle - Flags you want (ignore patterns, size caps, include/exclude paths)
Happy to answer questions and iterate.