Automic VaultAutomic Vault

brew

lucky-commit を Homebrew, MacPorts, Nix, pacman でインストール

lucky-commit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install lucky-commit

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install lucky-commit

MacPorts ports tree · devel/lucky-commit/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#lucky-commit

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

Arch Linux pacman確認済み · 92%
sudo pacman -S lucky-commit

Arch Linux sync databases · lucky-commit · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Customize your git commit hashes!

コマンドとエイリアス

  • lucky_commit

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
lucky_commitcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2.2.5
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v2.2.5

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

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:lucky-commit
バージョン2.2.5
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/lucky-commit
ホームページhttps://github.com/not-an-aardvark/lucky-commit
リポジトリhttps://github.com/not-an-aardvark/lucky-commit
上流ドキュメントhttps://github.com/not-an-aardvark/lucky-commit#readme
ライセンスMIT
ソースアーカイブhttps://github.com/not-an-aardvark/lucky-commit/archive/refs/tags/v2.2.5.tar.gz
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

lucky-commit

nix profile install nixpkgs#lucky-commit
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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