#git-repository #txt #git #txt-file #llm #cli

bin+lib git2txt

Converts a Git repository to a single TXT file

3 unstable releases

new 0.1.2 Dec 15, 2024
0.1.0 Dec 14, 2024
0.0.0 Dec 14, 2024

#2788 in Command line utilities

Download history 357/week @ 2024-12-13

357 downloads per month

MIT/Apache

23KB
131 lines

git2txt

Converts a Git repository to a single TXT file

Crates.io Documentation Build Clippy Formatter

Development

This project uses the library/binary crate architecture, which means that you can install it as a dependency in your project or use it as a standalone binary.

Requirements

Running

cargo r -- <GIT REPO URL>

Debugging

RUST_LOG=debug cargo r -- git@github.com:EstebanBorai/git2txt.git

License

This project is dual licensed in both under the MIT License and the Apache License (Version 2.0).

Dependencies

~12–24MB
~336K SLoC