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

smart-commit-ai

v1.1.6

Published

Smart Commit Tool - глобальный инструмент для генерации осмысленных сообщений коммитов с использованием ИИ

Readme

Smart Commit AI

Умный инструмент для генерации осмысленных сообщений коммитов с использованием ИИ и автоматического деплоя.

🚀 Быстрый старт

# Установка
npm install -g smart-commit-ai

# Первоначальная настройка
smart-commit setup

# Генерация коммита
smart-commit

# Умный деплой (smart-режим по умолчанию)
smart-commit deploy

# Полный деплой всех команд
smart-commit deploy --full

✨ Основные возможности

  • 🤖 ИИ-генерация коммитов - автоматическое создание осмысленных сообщений коммитов
  • 📋 Conventional Commits - поддержка стандарта conventional commits
  • 🌍 Многоязычность - генерация коммитов на русском и английском языках
  • 🧠 Умный деплой - анализ git diff и выполнение только необходимых команд (режим по умолчанию)
  • ⚡ Полный деплой - все команды из конфигурации через deploy --full
  • 📦 Локальная сборка фронта - npm run build + scp/rsync через localCommands до SSH
  • 🎯 Анализ проекта - автоматическое определение типа проекта и настройка

📚 Документация

🛠️ Команды

| Команда | Описание | |---------|----------| | smart-commit | Генерация и создание коммита | | smart-commit deploy | Умный деплой (git diff анализ, только нужные команды) | | smart-commit deploy --full | Полный деплой всех команд из конфигурации | | smart-commit deploy-smart | ⚠️ Устарело — алиас для deploy | | smart-commit setup | Первоначальная настройка | | smart-commit generate-config | Генерация конфигурации проекта | | smart-commit config | Управление конфигурацией | | smart-commit models | Управление ИИ моделями |

🔧 Поддерживаемые проекты

  • PHP/Laravel - полная поддержка с анализом composer.json
  • Node.js - поддержка npm/yarn проектов
  • Vue.js/React - анализ фронтенд файлов
  • TypeScript - поддержка TS проектов
  • Docker - базовые команды Docker

🎯 Умный деплой в действии

$ smart-commit deploy

🔍 Analyzing changes for smart deployment...

📊 Analysis Results:
  • Detected changes in 2 files
  • Frontend files changed (resources/js/components/Button.vue)
  • NPM dependencies changed (package.json)

⚠️  Smart deployment will run 4 step(s) (local first, then remote):
  Local (this machine):
    1. npm run build
    2. rsync -az --delete public/build/ [email protected]:/var/www/example-app/public/build/
  Remote (SSH):
    1. git pull origin main
    2. npm install

Continue? [y/N]

Пример конфигурации localCommands для сборки фронтенда и загрузки на сервер:

{
  "serverCommands": {
    "localCommands": [
      "npm run build",
      "scp -r public/build [email protected]:/var/www/example-app/public/build"
    ]
  }
}

Поведение деплоя (serverCommands в .smart-commit.json)

  • localCommands (опционально): команды на вашей машине до SSH (например npm run build, rsync …). При ошибке локальной команды удалённый деплой не запускается.
  • Fail-fast: при ошибке удалённой команды по SSH (например git pull) следующие команды не выполняются.
  • server.commandTimeoutSeconds (опционально, по умолчанию 300): лимит времени на каждую удалённую команду по SSH.
  • Rsync: если в localCommands есть rsync, перед стартом проверяется наличие rsync в PATH.
  • Пути: каталог на сервере передаётся в shell с безопасным quoting; путь к ключу SSH поддерживает ~/… через path и домашний каталог.

Полная структура JSON задаётся через smart-commit generate-config.

📦 Установка

npm install -g smart-commit-ai

🤝 Вклад в проект

Мы приветствуем вклад в развитие проекта! См. CONTRIBUTING.md для деталей.

📄 Лицензия

MIT License - см. LICENSE для деталей.

🆘 Поддержка

Если у вас есть вопросы или проблемы:


Версия: 1.1.0
Автор: Eugene (prod-broke-again)