ableinc/git2txt
ableinc/git2txt has 43 GitHub stars and 21 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 08:38 UTC. Last push 2026-07-31.
Convert all files in git repository to .txt files. Useful for training LLMs on your codebase.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalgit2txt
Convert all files in git repository to .txt files. This is useful for training LLMs on your codebase.
How to Use
- Create new .env file by copying example.env
cp example.env .env
- Add necessary fields. The default fields are good to start with.
GIT_PROJECT_DIRECTORY=/path/to/git/repo
IGNORE_FILES=.env,package-lock.json
IGNORE_DIRS=.git,.vscode,node_modules
SAVE_DIRECTORY=training_data
SKIP_EMPTY_FILES=true
- Install dependencies. Using a virtual environment is recommended.
python -m pip install -r requirements.txt
- Run program
python main.py
- You'll see your data files in the
training_data/directory. This will be different if you changed the path viaSAVE_DIRECTORYin.envfile.
Notes
- This program requires Python version 3.6 or later. It uses the f-string formatting technique introduced in Python 3.6.
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,111 starsNousResearch/hermes-agent
The agent that grows with you
262,017 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
231,267 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
199,847 stars