Skip to main content

Gitcraft (formerly GH Templates)

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.


GitHub Release License

Crates.io Crate Downloads

PyPI version PyPI downloads

npm version npm downloads


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 .gitignore templates 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

Using npm

npm install -g gitcraft

Using pip

pip install gitcraft

Using Cargo

cargo install gitcraft

Example Usage

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.

Metadata

Release files for gitcraft 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for gitcraft 0.1.4
File
gitcraft-0.1.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
gitcraft-0.1.4-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
gitcraft-0.1.4-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
gitcraft-0.1.4-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 16.0 MB

Release files / gitcraft-0.1.4-py3-none-win_amd64.whl

Download URL gitcraft-0.1.4-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e1e0f1e089b63d629703cc3493426eb11321ed174d0d168ab5fb90c2f4f004de
BLAKE2b-256 checksum
How to use checksums
a892a0e9e2498b1fe80b27be428a77d6a1d5cc508309f8ded68ccc0b84c88958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / gitcraft-0.1.4-py3-none-manylinux_2_34_x86_64.whl

Download URL gitcraft-0.1.4-py3-none-manylinux_2_34_x86_64.whl
Size 4.3 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
39e31b7a5bc906a85751de921110c0b73cfb0aa2a90acb0f58255d9a61aff0d4
BLAKE2b-256 checksum
How to use checksums
d6773a0160bb35dfc38044615913635ff4a6c3128f345ea8b6ed51eda9bf170c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / gitcraft-0.1.4-py3-none-macosx_11_0_arm64.whl

Download URL gitcraft-0.1.4-py3-none-macosx_11_0_arm64.whl
Size 4.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8a04128d5579478d09494f0c61e9e189a0ee95b0a564658e965f97ee00ca43b7
BLAKE2b-256 checksum
How to use checksums
a7c1d403a1359540c807c0635867a1c8a987f145f33e4f58479bc8679441e83b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / gitcraft-0.1.4-py3-none-macosx_10_12_x86_64.whl

Download URL gitcraft-0.1.4-py3-none-macosx_10_12_x86_64.whl
Size 4.1 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1a41834962658b0971ec6e25f21b2045b810eb50312eaed6ba5d3e796b09e70f
BLAKE2b-256 checksum
How to use checksums
b254f12fb0205d7a875eaddb6152299da353a5b7527ad220bfe9b82d597810cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

4 release files

0.1.3

4 release files

0.1.2

4 release files

0.1.1

4 release files

0.1.0

4 release files

0.0.1

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page