npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

commiti-zen-sig

v1.0.6

Published

AI-powered Git commit message generator using Claude API

Downloads

5

Readme

Commiti 🤖

Claude APIを使用したAI駆動のGitコミットメッセージ生成ツール(Conventional Commits形式対応)

特徴

  • 🧠 AI駆動: Claude APIを使用してステージされた変更を分析し、意味のあるコミットメッセージを生成
  • 📝 Conventional Commits: Conventional Commits仕様に準拠
  • 🎯 複数の候補: 選択できる複数のコミットメッセージ候補を生成
  • ✏️ 編集可能: 生成されたメッセージをコミット前に編集可能
  • ⚙️ 設定可能: .commitirc.jsonファイルでカスタマイズ可能
  • 🚫 ファイル除外: 特定のファイル/パターンを分析から除外
  • 🌐 多言語対応: 日本語と英語をサポート

インストール

npm install

セットアップ

  1. 設定ファイルを作成:
npm run dev -- --config
  1. .commitirc.jsonを編集してClaude APIキーを設定:
{
  "apiKey": "your-claude-api-key-here"
}

または環境変数を設定:

export CLAUDE_API_KEY="your-claude-api-key-here"

使用方法

  1. 変更をステージ:
git add .
  1. 生成してコミット:
npm run dev

開発用コマンド

# 開発モードで実行
npm run dev

# プロジェクトをビルド
npm run build

# 設定ファイルを作成
npm run dev -- --config

# ヘルプを表示
npm run dev -- --help

設定

.commitirc.jsonファイルでカスタマイズできる項目:

{
  "apiKey": "your-claude-api-key",
  "model": "claude-3-haiku-20240307",
  "conventionalCommits": {
    "types": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
    "scopes": ["api", "ui", "db", "auth"],
    "maxLength": 50
  },
  "exclude": [
    "*.log",
    "node_modules/**",
    "dist/**",
    "build/**",
    "*.lock"
  ],
  "language": "ja",
  "generateCount": 3
}

ワークフロー例

# 変更を加える
echo "console.log('Hello, World!');" > hello.js

# 変更をステージ
git add hello.js

# commitiを実行
npm run dev

出力例:

🤖 Commiti - ステージされた変更を分析中...

📋 ステージされた変更:
1 file changed, 1 insertion(+), 0 deletions(-)

  ✅ hello.js (+1/-0)

ℹ️  コミットメッセージ候補を生成中...

🤖 生成されたコミットメッセージ候補:

  1. feat: add hello world example script
  2. chore: create initial hello.js file
  3. feat(example): implement basic hello world output

✨ コミットメッセージを選択: 1

📝 コミットメッセージを編集(そのまま使用する場合はEnterを押下):
feat: add hello world example script

📄 最終コミットメッセージ:
"feat: add hello world example script"

✅ このメッセージでコミットしますか? (y/N): y

🎉 変更が正常にコミットされました!

開発

# 依存関係をインストール
npm install

# 開発モードで実行
npm run dev

# 本番用にビルド
npm run build

ライセンス

MIT