Skip to content

Commit 8fa31ca

Browse files
authored
Rename repository to GitForge and update README
Updated repository name from 'GH Templates' to 'GitForge' and revised documentation to reflect the changes. Added notes on migration and updated command syntax examples.
1 parent 3c38d14 commit 8fa31ca

File tree

1 file changed

+74
-175
lines changed

1 file changed

+74
-175
lines changed

README.md

Lines changed: 74 additions & 175 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# 📁 Gh Templates
1+
# GitForge (formerly GH Templates)
22

3-
This repository provides a collection of reusable Git templates to streamline your workflow across multiple repositories. It includes fully supported **Issue Templates**, **Pull Request Templates**, and more.
3+
> [!NOTE]
4+
> This project is currently being renamed and restructured.
5+
> Some documentation and package references may still use the old name
6+
> **`gh-templates`** until the migration is complete.
7+
8+
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.
9+
It helps you quickly scaffold standard project configurations without repetitive manual setup.
10+
11+
---
412

513

614
[![GitHub Release](https://img.shields.io/github/v/release/rafaeljohn9/gh-templates?label=GitHub%20Release)](https://github.com/rafaeljohn9/gh-templates/releases)
@@ -15,239 +23,130 @@ This repository provides a collection of reusable Git templates to streamline yo
1523
[![npm version](https://img.shields.io/npm/v/gh-templates?label=npm)](https://www.npmjs.com/package/gh-templates)
1624
[![npm downloads](https://img.shields.io/npm/dm/gh-templates?label=npm%20downloads)](https://www.npmjs.com/package/gh-templates)
1725

18-
1926
---
2027

21-
## 📚 Table of Contents
22-
23-
- [Contributing](#contributing)
24-
- [Features](#features)
25-
- [Beta Release Downloads](#beta-release-downloads)
26-
- [Installation](#installation)
27-
- [Quick Install (Recommended)](#quick-install-recommended)
28-
- [Manual Installation](#manual-installation)
29-
- [Example Usage](#example-usage)
30-
- [Issue Templates](#issue-templates)
31-
- [Pull Request Templates](#pull-request-templates)
32-
- [License Files](#license-files)
33-
- [Gitignore Files](#gitignore-files)
34-
- [Code of Conduct (Coming Soon)](#code-of-conduct-coming-soon)
28+
## About
3529

36-
---
30+
**GitForge** is designed to simplify repository setup and management by offering ready-to-use templates and configuration files.
31+
Instead of manually creating `.gitignore`, license, and issue templates for each new project, GitForge helps you **generate them instantly** from trusted sources.
3732

38-
## Contributing
33+
It works across different ecosystems and supports multiple package managers — **Rust (Cargo)**, **Python (PyPI)**, and **Node (npm)**.
3934

40-
We welcome contributions from everyone! Don’t worry if you’re not familiar with Rust—the project is primarily composed of YAML files (for workflows), Markdown files (for templates and documentation), and license files. Rust is only used for the CLI interface.
35+
---
4136

42-
You can help by:
43-
- Opening issues
44-
- Suggesting new GitHub templates
45-
- Sharing feedback to improve the project
37+
## Contributing
4638

47-
Your ideas and participation are valued, and we’re happy to support you as you get involved.
39+
We welcome contributions from everyone — whether you’re improving templates, fixing docs, or enhancing CLI commands.
4840

49-
---
41+
Most of the repository consists of:
42+
- **YAML files** – for GitHub workflows
43+
- **Markdown files** – for templates & documentation
44+
- **License files** – for open source compliance
5045

51-
## Features
46+
Rust, Python, or Node are only used for the CLI layer, so you can contribute without deep language knowledge.
5247

53-
- **Issue Templates**: Standardized templates for bug reports, feature requests, documentation, community collaboration, developer experience feedback, support questions, and tests.
54-
- **Pull Request Templates**: Easily add consistent PR templates to your repositories.
55-
- **Easy Installation**: Quickly set up templates using a provided installation script.
56-
- **Customizable**: All templates can be tailored to fit your project's needs.
48+
You can help by:
49+
- Opening issues
50+
- Suggesting new templates
51+
- Improving command UX or documentation
5752

5853
---
5954

60-
## Beta Release Downloads
61-
62-
You can download the latest alpha release binaries for your platform from the `/releases/<tag>` directory. These are currently available as artifacts for different operating systems and architectures:
63-
64-
| Platform | Filename |
65-
|------------------------------------|---------------------------------------------|
66-
| macOS (Apple Silicon) | `gh-templates-aarch64-apple-darwin` |
67-
| Linux (aarch64) | `gh-templates-aarch64-unknown-linux-gnu` |
68-
| macOS (Intel) | `gh-templates-x86_64-apple-darwin` |
69-
| Windows (x86_64) | `gh-templates-x86_64-pc-windows-gnu.exe` |
70-
| Linux (x86_64, GNU) | `gh-templates-x86_64-unknown-linux-gnu` |
71-
| Linux (x86_64, musl) | `gh-templates-x86_64-unknown-linux-musl` |
55+
## Features
7256

73-
To download, visit the [releases page](https://github.com/rafaeljohn9/gh-templates/releases) and select the appropriate binary for your OS and architecture. Verify the SHA256 checksum after downloading.
57+
- **Reusable Templates:** Standardized templates for issues, PRs, and licenses.
58+
- **CLI Commands:** Apply templates quickly via a simple command-line interface.
59+
- **Gitignore Management:** Add, list, or preview `.gitignore` templates from the official GitHub source.
60+
- **License Templates:** Instantly add popular license files (MIT, Apache, GPL, etc.).
61+
- **Cross-Platform:** Works on Linux, macOS, and Windows.
62+
- **Extensible:** Designed to support new template categories in the future (like Codes of Conduct, Security Policies, etc.).
7463

7564
---
7665

7766
## Installation
7867

7968
### Quick Install (Recommended)
8069

81-
Install `gh-templates` automatically with a single command:
82-
83-
#### Linux/macOS
84-
70+
#### Using npm:
8571
```bash
86-
curl -sSL https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.sh | bash
87-
```
88-
89-
#### Windows (PowerShell)
90-
91-
```powershell
92-
iwr -useb https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.ps1 | iex
93-
```
94-
95-
> ✅ The installer automatically:
96-
> - Detects your OS and architecture
97-
> - Downloads the latest version
98-
> - Installs to the appropriate location (`~/.local/bin` on Linux/macOS, `~/bin` on Windows)
99-
> - Makes the binary executable
100-
101-
> ⚠️ **Note**: Make sure your install directory is in your `PATH`. On Linux/macOS, you may need to add `export PATH="$HOME/.local/bin:$PATH"` to your shell profile.
102-
103-
---
104-
105-
### Manual Installation
106-
107-
If you prefer to install manually, download the appropriate binary for your platform:
108-
109-
#### Linux (x86_64, GNU)
110-
111-
```sh
112-
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-gnu
113-
chmod +x gh-templates-x86_64-unknown-linux-gnu
114-
mkdir -p ~/.local/bin
115-
mv gh-templates-x86_64-unknown-linux-gnu ~/.local/bin/gh-templates
72+
npm install -g gitforge
11673
```
11774

118-
#### Linux (x86_64, musl)
75+
#### Using pip:
11976

120-
```sh
121-
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-musl
122-
chmod +x gh-templates-x86_64-unknown-linux-musl
123-
mkdir -p ~/.local/bin
124-
mv gh-templates-x86_64-unknown-linux-musl ~/.local/bin/gh-templates
12577
```
126-
127-
#### Linux (aarch64)
128-
129-
```sh
130-
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-unknown-linux-gnu
131-
chmod +x gh-templates-aarch64-unknown-linux-gnu
132-
mkdir -p ~/.local/bin
133-
mv gh-templates-aarch64-unknown-linux-gnu ~/.local/bin/gh-templates
78+
pip install gitforge
13479
```
13580

136-
#### macOS (Apple Silicon)
137-
138-
```sh
139-
curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-apple-darwin
140-
chmod +x gh-templates-aarch64-apple-darwin
141-
mkdir -p ~/.local/bin
142-
mv gh-templates-aarch64-apple-darwin ~/.local/bin/gh-templates
143-
```
14481

145-
#### macOS (Intel)
82+
#### Using Cargo:
14683

147-
```sh
148-
curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-apple-darwin
149-
chmod +x gh-templates-x86_64-apple-darwin
150-
mkdir -p ~/.local/bin
151-
mv gh-templates-x86_64-apple-darwin ~/.local/bin/gh-templates
15284
```
153-
154-
#### Windows (x86_64)
155-
156-
```powershell
157-
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\bin"
158-
Invoke-WebRequest -Uri "https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-pc-windows-gnu.exe" -OutFile "$env:USERPROFILE\bin\gh-templates.exe"
85+
cargo install gitforge
15986
```
16087

161-
> ⚠️ **Note**: Make sure `$env:USERPROFILE\bin` is in your `PATH` environment variable.
16288

163-
---
16489

165-
## Example Usage
90+
### Example Usage
16691

167-
Below are some example commands for using `gh-templates` to add templates to your repository:
92+
> [!NOTE]
93+
> Some commands may still appear under the old name gh-templates
94+
> until the migration is finalized.
16895
169-
> 💡 **Tip:**
170-
> It is recommended you use the labels from this repository by running:
171-
> `gh label clone rafaeljohn9/gh-templates`
17296

173-
### Issue Templates
97+
#### New Command Syntax
17498

17599
```sh
176-
# Add an issue template
177-
gh-templates issue add bug
100+
# Add a Python .gitignore
101+
gitforge add gitignore python
178102

179-
# Add multiple issues
180-
gh-templates issue add bug feature dx
103+
# List available gitignore templates
104+
gitforge list gitignores
181105

182-
# Preview an issue template
183-
gh-templates issue preview bug
106+
# Add a bug report issue template
107+
gitforge add issue-template bug
184108

185-
# List available issue templates
186-
gh-templates issue list
109+
# Preview a pull request template
110+
gitforge preview pr-template
111+
112+
# List available licenses
113+
gitforge list licenses
187114
```
188115

189-
### Pull Request Templates
116+
#### Old Syntax (Still Supported Temporarily)
190117

191118
```sh
192-
# Add a PR template
193-
gh-templates pr add default
194-
195-
# Preview a PR template
196-
gh-templates pr preview default
197-
198-
# List available PR templates
199-
gh-templates pr list
200-
201-
# Add template and specify output location
202-
gh-templates pr add bug --output .github/pull_request_template.md
119+
gh-templates gitignore add python
120+
gh-templates issue add bug
203121
```
204122

205-
### License Files
206-
207-
```sh
208-
# Add a LICENSE file (MIT)
209-
gh-templates license add mit
210123

211-
# Add a LICENSE file (Apache 2.0)
212-
gh-templates license add apache-2.0
124+
### Migration Notice
213125

214-
# Preview a license file
215-
gh-templates license preview mit
126+
- GitForge is the next evolution of GH Templates — bringing a cleaner command structure, modern UX, and broader language support.
127+
- You may still see references to gh-templates across:
128+
- Code imports
129+
- Package registries (npm, PyPI, crates.io)
130+
- Docs and badges
216131

217-
# List available license files
218-
gh-templates license list
219132

220-
# List popular licenses
221-
gh-templates license list --popular
222133

223-
# List non-software licenses
224-
gh-templates license list --non-software
225134

226-
# Force overwrite existing file
227-
gh-templates license add mit --force
228-
```
135+
These will be updated as the migration completes.
229136

230-
### Gitignore Files
231137

232-
```sh
233-
# Add a .gitignore for Rust
234-
gh-templates gitignore add Rust
138+
# License:
235139

236-
# Add a .gitignore for Node.js
237-
gh-templates gitignore add Node
140+
- Licensed under the Apache 2.0 License.
238141

239-
# Preview a .gitignore file
240-
gh-templates gitignore preview Rust
241142

242-
# List available .gitignore templates
243-
gh-templates gitignore list
244-
```
143+
---
245144

246-
### Code of Conduct (Coming Soon)
145+
### Key Highlights:
146+
- Renamed to **GitForge**, with a clear **transition notice**.
147+
- Updated **badges, usage examples**, and **command syntax**.
148+
- Introduced new **natural language CLI syntax** (`gitforge add gitignore python`).
149+
- Kept **backward compatibility** note for developers still using `gh-templates`.
247150

248-
```sh
249-
# Add a code of conduct file (not yet available)
250-
gh-templates conduct add default
251-
```
151+
---
252152

253-
> 📌 **Note:** Currently, `issue`, `pr`, `license`, and `gitignore` templates are supported. Support for code of conduct and other templates will be added in future releases.

0 commit comments

Comments
 (0)