@miaos/ollama-commit

1.9.1 • Public • Published

ollama-commit

use ollama to generate commit message

Before all

  1. install ollama in your mac or pc.
  2. pull llama3.2 first:
ollama pull llama3.2:latest

Feature

  • 🐑 use ollama to generate commit message
  • 🐶 no api key required, use local LLM model

Install

npm i -g @miaos/ollama-commit

Usage

  1. edit some files in your project
  2. use git add to add some changes
  3. run ollama-commit in the root of your project

Api

useEmoji

commit prefix with emoji

useEmoji=true ollama-commit

model

use custom model

model=llama3.2 ollama-commit

Commit style

commit style follow Semantic Commit Messages style.

Package Sidebar

Install

npm i @miaos/ollama-commit

Weekly Downloads

2

Version

1.9.1

License

ISC

Unpacked Size

26.1 kB

Total Files

20

Last publish

Collaborators

  • pomelo-chuan