Skip to main content

A template project for GitHub-related utilities.

Project description

GitForge (formerly GH Templates)

[!NOTE] This project is currently being renamed and restructured.
Some documentation and package references may still use the old name
gh-templates until the migration is complete.

GitForge 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

GitForge 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, GitForge 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

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

  • GitForge 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 GitForge, 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gitcraft-0.0.133-py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 3Windows x86-64

gitcraft-0.0.133-py3-none-manylinux_2_34_x86_64.whl (4.3 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

gitcraft-0.0.133-py3-none-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

gitcraft-0.0.133-py3-none-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file gitcraft-0.0.133-py3-none-win_amd64.whl.

File metadata

  • Download URL: gitcraft-0.0.133-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

Hashes for gitcraft-0.0.133-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5620aae8be7575d8331f3baec4b1791f9bac7da23e390c8ece91d1ce085ccec9
MD5 4682f13a8c08ea1eb05570d1a44c5c3a
BLAKE2b-256 eba8151fcd14c275b5500145154646f586ce9f86b9e19a4ae360b1527f8a9611

See more details on using hashes here.

File details

Details for the file gitcraft-0.0.133-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for gitcraft-0.0.133-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ff8ac9e08bc301beff2e18bc14a0762f552b061a2289e5d06bf1f77c946d214a
MD5 a9039a70f426549ca088577ab3790361
BLAKE2b-256 1553acb77c7153203cc1db5a279962f477b48ed52bc14e7089017b81acaad9be

See more details on using hashes here.

File details

Details for the file gitcraft-0.0.133-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gitcraft-0.0.133-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1adc5539c85a9082c16aa7d1c70c03f06b512d5b2ee2736256fbdf2410748b09
MD5 5d90eaea5fdc22a4bd1babc34f0d9b63
BLAKE2b-256 f4252ccd02ef8e7d1a7e4b24ac931f9b1cad0e113e09d6cf0d3a57b93bc3b733

See more details on using hashes here.

File details

Details for the file gitcraft-0.0.133-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for gitcraft-0.0.133-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1b4a5dbc40ad3e28b01e3ae6eabe80ee5f69156242150b56ff14cde884225ec0
MD5 10ed454d1ef490fe614714b600c2489a
BLAKE2b-256 5338a11621ba0ff5175ccbf111ff290b20e38c8d4ab6ddc3644c2446e6bc2c64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page