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/
- 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
-
Parameter number 1 is language extension · like py from python\
-
Parameter number 2 is the language name · (optional) like python from Python\
-
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:
-
Make an alias in .bashrc/.zshrc · open your text editor, edit .bashrc/.zshrc in your home directory, and at the
end of the document, typealias githubinit="path/to/git-repo-maker/src/main.py"
-
Define all parameters like
githubinit py python -n
githubinit js javascript -l
githubinit css css
-
Save the repository in an accessible place i personaly like [$HOME/.local/bin] but remember to update
the alias every time you move it ;)