| Crates.io | git-mine |
| lib.rs | git-mine |
| version | 0.1.2 |
| created_at | 2025-12-08 22:11:51.799796+00 |
| updated_at | 2025-12-09 05:14:56.984045+00 |
| description | Mine your favorite git commit hashes |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1974451 |
| size | 21,132 |
Mine git commit hashes with custom prefixes. Multi-threaded proof-of-work for your commits.
cargo install git-mine
# 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
$ 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'...
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.