Convert your entire codebase to a single text file
A simple command-line tool that makes it easy to feed your codebase into LLMs.
cargo install --git https://github.com/marko911/repo-to-text
terminal
How to Use
Simple commands to convert your repository into a single text file
Basic Usage
Just run the command in your repository root:
$cd my-project
$repo_to_text
Processing repository...
Finished processing. Output saved to repo_content.txt
That's it! The tool will create a repo_content.txt
file in the current directory containing all your repository's text content.
Output Format
The generated file has a clean, structured format
Repository Content Extraction
Generated on: 2024-05-09 09:24:59
=================================================
--- File: src/main.rs ---
=================================================
[file content here]
--- End of File ---
=================================================
--- File: src/lib.rs ---
=================================================
[file content here]
--- End of File ---
=================================================