Automic VaultAutomic Vault

brew

Installer lucky-commit avec Homebrew, MacPorts, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lucky-commit pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install lucky-commit

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install lucky-commit

MacPorts ports tree · devel/lucky-commit/Portfile · Source: api.github.com

Linux

Nixvérifié · 92%
nix profile install nixpkgs#lucky-commit

nixpkgs package indexes · pkgs/by-name/lu/lucky-commit/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S lucky-commit

Arch Linux sync databases · lucky-commit · Source: geo.mirror.pkgbuild.com

aperçu

Résumé du paquet

Customize your git commit hashes!

Commandes et alias

  • lucky_commit

historique

Historique du projet et usages

lucky-commit is a small Rust command-line tool for rewriting the current Git commit so that its object hash begins with a chosen prefix, defaulting to a run of zeroes.

Historique du projet

The project was made public on GitHub in February 2016. Its README explains the core trick: amend the commit message by appending harmless whitespace, retrying messages until Git computes a hash with the requested prefix. The current implementation is Rust-based and can use OpenCL for GPU-accelerated searching, while older branches preserve earlier Node.js, C, and pure-Rust implementations.

Historique d'adoption

The tool spread as a programmer curiosity rather than infrastructure. Official installation notes mention Cargo, Arch Linux, Funtoo, and Homebrew packaging, and the repository has roughly two thousand GitHub stars, which is notable for a deliberately niche Git-hash novelty.

Modes d'utilisation

Users run `lucky_commit` after creating a commit; the command amends the commit until the short hash matches a prefix such as `0000000` or a user-supplied pattern with wildcard placeholders. The README also documents benchmarking and behavior for GPG-signed commits and Git SHA-256 repositories.

Pourquoi les passionnés de paquets s'y intéressent

For package and Git nerds, lucky-commit is a compact demonstration that commit IDs are content-addressed objects but still manipulable by changing semantically inert data. Its Homebrew formula gives macOS users an easy way to install a tool that is mostly useful for demos, badges, jokes, and understanding Git object hashing.

Chronologie

  • 2016: Public GitHub repository created.
  • 2016 onward: Cargo installation documented as the primary upstream installation path.
  • Later releases: Rust/OpenCL implementation became the maintained branch, with older Node.js, C, and pure-Rust branches kept as historical alternatives.
  • Current packaging: Official README documents availability through Arch Linux, Funtoo, and Homebrew.

Related projects

  • The README points to `every-git-commit-shorthash` as a related project.
  • The project depends conceptually on Git object hashing and, for acceleration, OpenCL-capable hardware.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 8 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
lucky_commitcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire2.2.5
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev2.2.5

https://github.com/not-an-aardvark/lucky-commit

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:lucky-commit
Version2.2.5
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/lucky-commit
Page d'accueilhttps://github.com/not-an-aardvark/lucky-commit
Dépôthttps://github.com/not-an-aardvark/lucky-commit
Docs amonthttps://github.com/not-an-aardvark/lucky-commit#readme
LicenceMIT
Archive sourcehttps://github.com/not-an-aardvark/lucky-commit/archive/refs/tags/v2.2.5.tar.gz
Dépendances de compilationrust
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelucky-commit
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

lucky-commit

nix profile install nixpkgs#lucky-commit
  • normalized package name match
  • Correspondance par : Lucky Commit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lu/lucky-commit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

lucky-commit 2.2.5-1

Customize your git commit hashes

https://github.com/not-an-aardvark/lucky-commit

sudo pacman -S lucky-commit
  • License: MIT
  • Architecture: x86_64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Lucky Commit
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lucky-commit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

lucky-commit

sudo port install lucky-commit
  • normalized package name match
  • Correspondance par : Lucky Commit
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/lucky-commit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment