npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

gh-templates-linux-x64

v0.1.39

Published

GitHub Templates CLI tool - linux x64

Downloads

29

Readme

📁 Gh Templates

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.

GitHub Release License

Crates.io Crate Downloads

PyPI version PyPI downloads

npm version npm downloads


📚 Table of Contents


Contributing

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.

You can help by:

  • Opening issues
  • Suggesting new GitHub templates
  • Sharing feedback to improve the project

Your ideas and participation are valued, and we’re happy to support you as you get involved.


Features

  • Issue Templates: Standardized templates for bug reports, feature requests, documentation, community collaboration, developer experience feedback, support questions, and tests.
  • Pull Request Templates: Easily add consistent PR templates to your repositories.
  • Easy Installation: Quickly set up templates using a provided installation script.
  • Customizable: All templates can be tailored to fit your project's needs.

Beta Release Downloads

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:

| Platform | Filename | |------------------------------------|---------------------------------------------| | macOS (Apple Silicon) | gh-templates-aarch64-apple-darwin | | Linux (aarch64) | gh-templates-aarch64-unknown-linux-gnu | | macOS (Intel) | gh-templates-x86_64-apple-darwin | | Windows (x86_64) | gh-templates-x86_64-pc-windows-gnu.exe | | Linux (x86_64, GNU) | gh-templates-x86_64-unknown-linux-gnu | | Linux (x86_64, musl) | gh-templates-x86_64-unknown-linux-musl |

To download, visit the releases page and select the appropriate binary for your OS and architecture. Verify the SHA256 checksum after downloading.


Installation

Quick Install (Recommended)

Install gh-templates automatically with a single command:

Linux/macOS

curl -sSL https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.sh | bash

Windows (PowerShell)

iwr -useb https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.ps1 | iex

✅ The installer automatically:

  • Detects your OS and architecture
  • Downloads the latest version
  • Installs to the appropriate location (~/.local/bin on Linux/macOS, ~/bin on Windows)
  • Makes the binary executable

⚠️ 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.


Manual Installation

If you prefer to install manually, download the appropriate binary for your platform:

Linux (x86_64, GNU)

wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-gnu
chmod +x gh-templates-x86_64-unknown-linux-gnu
mkdir -p ~/.local/bin
mv gh-templates-x86_64-unknown-linux-gnu ~/.local/bin/gh-templates

Linux (x86_64, musl)

wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-musl
chmod +x gh-templates-x86_64-unknown-linux-musl
mkdir -p ~/.local/bin
mv gh-templates-x86_64-unknown-linux-musl ~/.local/bin/gh-templates

Linux (aarch64)

wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-unknown-linux-gnu
chmod +x gh-templates-aarch64-unknown-linux-gnu
mkdir -p ~/.local/bin
mv gh-templates-aarch64-unknown-linux-gnu ~/.local/bin/gh-templates

macOS (Apple Silicon)

curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-apple-darwin
chmod +x gh-templates-aarch64-apple-darwin
mkdir -p ~/.local/bin
mv gh-templates-aarch64-apple-darwin ~/.local/bin/gh-templates

macOS (Intel)

curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-apple-darwin
chmod +x gh-templates-x86_64-apple-darwin
mkdir -p ~/.local/bin
mv gh-templates-x86_64-apple-darwin ~/.local/bin/gh-templates

Windows (x86_64)

New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\bin"
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"

⚠️ Note: Make sure $env:USERPROFILE\bin is in your PATH environment variable.


Example Usage

Below are some example commands for using gh-templates to add templates to your repository:

💡 Tip:
It is recommended you use the labels from this repository by running:
gh label clone rafaeljohn9/gh-templates

Issue Templates

# Add an issue template
gh-templates issue add bug

# Add multiple issues
gh-templates issue add bug feature dx

# Preview an issue template
gh-templates issue preview bug

# List available issue templates
gh-templates issue list

Pull Request Templates

# Add a PR template
gh-templates pr add default

# Preview a PR template
gh-templates pr preview default

# List available PR templates
gh-templates pr list

# Add template and specify output location
gh-templates pr add bug --output .github/pull_request_template.md

License Files

# Add a LICENSE file (MIT)
gh-templates license add mit

# Add a LICENSE file (Apache 2.0)
gh-templates license add apache-2.0

# Preview a license file
gh-templates license preview mit

# List available license files
gh-templates license list

# List popular licenses
gh-templates license list --popular

# List non-software licenses
gh-templates license list --non-software

# Force overwrite existing file
gh-templates license add mit --force

Gitignore Files

# Add a .gitignore for Rust
gh-templates gitignore add Rust

# Add a .gitignore for Node.js
gh-templates gitignore add Node

# Preview a .gitignore file
gh-templates gitignore preview Rust

# List available .gitignore templates
gh-templates gitignore list

Code of Conduct (Coming Soon)

# Add a code of conduct file (not yet available)
gh-templates conduct add default

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