GitHubリポジトリのremote/local状況をlistし、可視化し、メンテの一部を自動化して効率化するアプリ。TUI。Rust。Windows用。
Rust版TUIを生成させました。自分用です
cargo install --force --git https://github.com/cat2151/cat-repo-auditor
catrepo
ビルド時に埋め込まれた commit hash を表示する:
catrepo hash
自分用なので他人が使うことを想定していません。以下も自分用のメモです。
? キーを押すとhelpが出ます。gh コマンド(GitHub CLI)で認証済みのユーザーのリポジトリを直近20件取得し、
各リポジトリに対して以下の項目を自動チェックする。結果は JSON ファイルに出力され、
カラー付きサマリーをターミナルに表示する。
| 項目 | 説明 |
|---|---|
README.ja.md |
日本語 README の存在 |
| DeepWiki 記載 | README.ja.md 内に DeepWiki へのリンクがあるか |
google*.html |
Google Search Console 用確認ファイルの存在 |
AGENTS.md / copilot-instructions.md |
AI エージェント向け指示ファイルの存在 |
.github/workflows/*.yml |
CI/CD ワークフローの存在 |
_config.yml |
Jekyll 設定ファイルの存在 |
pip install tomli)gh auth login 認証済みであることgit clone https://github.com/cat2151/cat-repo-auditor.git
cd cat-repo-auditor
追加パッケージは不要(Python 3.11+ 標準ライブラリのみ使用)。
Python 3.10 以下の場合:
pip install tomli
カレントディレクトリに config.toml を作成する。
github_user = "your-github-username"
python cat_repo_auditor.py
オプション:
--output, -o JSON 出力ファイルパス(デフォルト: repo_analysis.json)
--config, -c 設定ファイルパス(デフォルト: config.toml)
ターミナルには Monokai カラーでサマリーが表示される。
=== GitHub リポジトリ分析CLI ===
実行日時: 2026-02-23 12:00:00
対象ユーザー: your-github-username
認証: gh auth token で取得済み
[1/3] your-github-username のリポジトリを取得中...
20 件取得
[2/3] 各リポジトリを分析中...
[ 1/20] my-project
✓ README.ja | ✗ DeepWiki | ✗ google | ✓ agents | ✓ CI | ✗ jekyll
[3/3] サマリー
======================================================================
README.ja.md [15/20 あり / 5/20 なし]
✗ some-repo
https://github.com/your-github-username/some-repo
...
JSON ファイル(repo_analysis.json)には各リポジトリの詳細情報が含まれる。
--pull をつけて実行すると、pullableなものをすべてpullする