Git repo maker!

Only Unix (Linux, MacOS) or WSL (WindowsSubsystemLinux)

This tool automatically generates the most common github files:

  • .git/
  • .gitignore/
  • LICENSE (default: MIT)
  • README.md
  • requirements.txt (if u choose python)
  • package.json (if u choose javascript)
  • src/
    • main.file
  • img/

How to use:

install NerdFonts in ur $HOME/.fonts if u want to view the icons:

git clone the repository:

git clone https://github.com/NwRq/git-repo-maker

Execute the script in the directory where you want to make the repository

python3 path/to/git-repo-maker/src/main.py 1 2 3
  1. Parameter number 1 is language extension · like py from python\

  2. Parameter number 2 is the language name · (optional) like python from Python\

  3. Parameter number 3 is if you want license · (optional, -l or leave blank) default: MIT (if you want another default license type, modify src/license)

Recommendations:

  1. Make an alias in .bashrc/.zshrc · open your text editor, edit .bashrc/.zshrc in your home directory, and at the
    end of the document, type alias githubinit="path/to/git-repo-maker/src/main.py"

  2. Define all parameters like githubinit py python -n githubinit js javascript -l githubinit css css

  3. Save the repository in an accessible place i personaly like [$HOME/.local/bin] but remember to update
    the alias every time you move it ?

License

GitHub

View Github