Skip to content

locchh/giteject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

giteject

A tool for creating repositories from gitingest output. This tool helps you recreate a repository structure from gitingest's analysis output.

Features

  • Parse gitingest output files
  • Recreate repository structure:
    • Automatically creates directory hierarchy
    • Preserves file content and structure
    • Maintains relative paths
  • Simple command-line interface

Installation

# Install requirements
pip install -r requirements.txt

Usage

  1. First, use gitingest to analyze a repository and save the output:
# Using gitingest
gitingest https://github.com/user/repo -o repo_analysis.txt
  1. 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

Input Format

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]

License

See the LICENSE file for details.

About

Reverse engineering of gitingest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages