A tool for creating repositories from gitingest output. This tool helps you recreate a repository structure from gitingest's analysis output.
- Parse gitingest output files
- Recreate repository structure:
- Automatically creates directory hierarchy
- Preserves file content and structure
- Maintains relative paths
- Simple command-line interface
# Install requirements
pip install -r requirements.txt
- First, use gitingest to analyze a repository and save the output:
# Using gitingest
gitingest https://github.com/user/repo -o repo_analysis.txt
- Then use giteject to create a new repository from the analysis:
# Create repository from gitingest output
python -m giteject.cli repo_analysis.txt /path/to/output/repo
The tool expects gitingest output in the following format:
File: path/to/file1.txt
Content:
[file content here]
File: path/to/file2.py
Content:
[file content here]
See the LICENSE file for details.