Reposted from the original at https://blog.stephenturner.us/p/github-repo-to-text-for-llm-input. --- If you use ChatGPT, Claude, or even some local model through Ollama or HuggingFace Assistants, you’ll know that the chat interface makes it challenging to feed in an entire repo like a Python or R package, because functions, tests, etc. can be scattered across many files throughout a repo.