A template project for GitHub-related utilities.
Project description
Gitcraft (formerly GH Templates)
[!NOTE] This project is currently being renamed and restructured.
Some documentation and package references may still use the old name
gh-templatesuntil the migration is complete.
Gitcraft is a developer-friendly toolkit for managing and applying reusable GitHub repository templates — including Issue Templates, Pull Request Templates, .gitignore files, Licenses, and more.
It helps you quickly scaffold standard project configurations without repetitive manual setup.
About
Gitcraft is designed to simplify repository setup and management by offering ready-to-use templates and configuration files.
Instead of manually creating .gitignore, license, and issue templates for each new project, Gitcraft helps you generate them instantly from trusted sources.
It works across different ecosystems and supports multiple package managers — Rust (Cargo), Python (PyPI), and Node (npm).
Contributing
We welcome contributions from everyone — whether you’re improving templates, fixing docs, or enhancing CLI commands.
Most of the repository consists of:
- YAML files – for GitHub workflows
- Markdown files – for templates & documentation
- License files – for open source compliance
Rust, Python, or Node are only used for the CLI layer, so you can contribute without deep language knowledge.
You can help by:
- Opening issues
- Suggesting new templates
- Improving command UX or documentation
Features
- Reusable Templates: Standardized templates for issues, PRs, and licenses.
- CLI Commands: Apply templates quickly via a simple command-line interface.
- Gitignore Management: Add, list, or preview
.gitignoretemplates from the official GitHub source. - License Templates: Instantly add popular license files (MIT, Apache, GPL, etc.).
- Cross-Platform: Works on Linux, macOS, and Windows.
- Extensible: Designed to support new template categories in the future (like Codes of Conduct, Security Policies, etc.).
Installation
Quick Install (Recommended)
Using npm
npm install -g gitcraft
Using pip
pip install gitcraft
Using Cargo
cargo install gitcraft
Example Usage
[!NOTE] Some commands may still appear under the old name gh-templates until the migration is finalized.
New Command Syntax
# Add a Python .gitignore
gitcraft add gitignore python
# List available gitignore templates
gitcraft list gitignores
# Add a bug report issue template
gitcraft add issue-template bug
# Preview a pull request template
gitcraft preview pr-template
# List available licenses
gitcraft list licenses
Old Syntax (Still Supported Temporarily)
gh-templates gitignore add python
gh-templates issue add bug
Migration Notice
- Gitcraft is the next evolution of GH Templates — bringing a cleaner command structure, modern UX, and broader language support.
- You may still see references to gh-templates across:
- Code imports
- Package registries (npm, PyPI, crates.io)
- Docs and badges
These will be updated as the migration completes.
License
- Licensed under the Apache 2.0 License.
Key Highlights
- Renamed to Gitcraft, with a clear transition notice.
- Updated badges, usage examples, and command syntax.
- Introduced new natural language CLI syntax (
gitcraft add gitignore python). - Kept backward compatibility note for developers still using
gh-templates.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitcraft-0.1.3-py3-none-win_amd64.whl.
File metadata
- Download URL: gitcraft-0.1.3-py3-none-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd4e7c6f261d445298a653feef751f3ea8534c218a6b5510bb6ebe4771b78ce9
|
|
| MD5 |
be89b5202b5305d15f270cd87ba04822
|
|
| BLAKE2b-256 |
a6a537612bbfada0104000b3edd5e48502d3c14cdf914108480706709dbabb13
|
File details
Details for the file gitcraft-0.1.3-py3-none-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: gitcraft-0.1.3-py3-none-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d051c170629808d22fc497122a417a26e11987f1f1dd3694a42f957ddaf70aa
|
|
| MD5 |
17d07c713b9b351ec7e5b776b5a69536
|
|
| BLAKE2b-256 |
60275e3f964756bd567b42e121c60689a9f52cd6c9066dc8789c487f38c9a66c
|
File details
Details for the file gitcraft-0.1.3-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: gitcraft-0.1.3-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e8c1594d54f3c5b3b0915496dc8b1c17d34370b0bbcf20613cc1d2a684260d9
|
|
| MD5 |
0328904a51c500cca5b27f7b69b24661
|
|
| BLAKE2b-256 |
55c2d752109c5864224ca10d857b0198aabc66f1666623d7a9049fd824b2b3bf
|
File details
Details for the file gitcraft-0.1.3-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: gitcraft-0.1.3-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 4.1 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ab6a7fde9c138085de216f219f4604466d77c597bec060cbe5058a4534221d
|
|
| MD5 |
8b9f6f842b296c4ed39a87e2a4112fdd
|
|
| BLAKE2b-256 |
1ed5b3538a35fa1d0087dc46ed8fcd2b45a667a11c90a2d808df5bb095ac53ad
|