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

github-ghost-committer

v1.0.4

Published

`github-ghost-committer` is a simple CLI tool that automatically generates **backdated Git commits** across the past N days. You can customize how many commits per day are made, and specify which file to modify. It’s perfect for demonstrations, GitHub con

Readme

📦 github-ghost-committer

github-ghost-committer is a simple CLI tool that automatically generates backdated Git commits across the past N days. You can customize how many commits per day are made, and specify which file to modify. It’s perfect for demonstrations, GitHub contribution graphs, time-based workflows, or simulating activity across time.


✅ Prerequisites

To use this tool, you should already have a Git repository initialized on your local machine. Ideally, this repo should also be connected to a remote GitHub repository if you want your generated commits to appear in your GitHub contribution graph.

Additionally:

  • Your repository must contain at least one existing file (e.g., new.php, log.txt, or any other dummy file) that can be modified.
  • If the specified file does not exist, the tool will create it.
  • You must have Node.js and npm installed on your system.

🧰 Installation

Install the CLI tool globally via npm:

npm install -g github-ghost-committer

🚀 Usage

Navigate to your local Git repository and run the following command:

git-backdate-bot --days=30 --min=2 --max=5 --file=new.php

This command will create random backdated commits across the last 30 days, with 2 to 5 commits per day, modifying the new.php file on each commit.


⚙️ Command-Line Options

| Option | Type | Default | Description | | -------- | ------ | ----------- | ------------------------------------------- | | --days | Number | 30 | Number of past days to generate commits for | | --min | Number | 2 | Minimum commits per day | | --max | Number | 7 | Maximum commits per day | | --file | String | dummy.txt | File to modify and commit each time |


🧪 Example

git-backdate-bot --days=15 --min=3 --max=6 --file=new.php
  • Generates random commits for the last 15 days

  • Each day will have between 3 to 6 commits

  • Commits modify new.php

  • Each commit uses a realistic timestamp


📤 Push to GitHub

After generating commits locally, push them to your GitHub repository using:

git push origin main

Replace main with your actual branch name if it's different.

⚠️ Important Notes

  • Works best when the local repo is clean (no uncommitted changes).

  • Works with both public and private repositories.

  • To appear on your GitHub contribution graph:

  • Commits must be pushed to GitHub

  • Email must be verified and match your GitHub account


🧩 Use Cases

  • Simulate activity in inactive repos

  • Populate contribution graphs

  • Time-based commit testing

  • Educational demos on Git workflows