git-mine

Crates.iogit-mine
lib.rsgit-mine
version0.1.2
created_at2025-12-08 22:11:51.799796+00
updated_at2025-12-09 05:14:56.984045+00
descriptionMine your favorite git commit hashes
homepage
repository
max_upload_size
id1974451
size21,132
Joris Hartog (nootr)

documentation

README

git-mine

Mine git commit hashes with custom prefixes. Multi-threaded proof-of-work for your commits.

Installation

cargo install git-mine

Usage

# Create a commit like usual
git commit -m "Your message"

# Mine for a custom prefix
git mine BADC0DE

# Or use the default (BADC0DE)
git mine

Examples

$ git mine 00
⛏️  Mining for commit hash starting with '00'...
✨ SUCCESS! Found nonce: 750100
📝 Commit hash: 00f705f...

$ git mine BADC0DE
⛏️  Mining for commit hash starting with 'BADC0DE'...

How it works

Adds a nonce to your commit message and tries different values until the commit hash starts with your prefix. Uses all CPU cores for parallel mining.

Commit count: 0

cargo fmt