You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ollama-commit

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ollama-commit

Commit message generator with Ollama

0.5.1
latest
Source
npmnpm
Version published
Weekly downloads
1
-75%
Maintainers
0
Weekly downloads
 
Created
Source

Ollama-Commit: Commit message generator with Ollama

🚀 Automatic commit generator using Ollama.
This package uses Ollama to help you understand code changes and generate meaningful commit messages.
Regardless of personal or team projects, ollama-commit allows you to maintain systematic and uniform commit records.

All commits in this project were generated by ollama-commit.

Important: Ollama-Commit is only available for models that support LLM Tools!

How it Works

To use ollama-commit, ollama must be installed.

  • Install Ollama from https://ollama.ai/
  • Install Ollama-Commit using npm install -g ollama-commit
  • Make your code changes and stage them with git add .
  • Type ollama-commit in your terminal
  • Ollama-Commit will analyze your changes and generate a commit message
  • Approve the commit message and AI-Commit will create the commit for you

Options

$ npx ollama-commit --help
Usage: help [options]

Automatic commit generator using Ollama.

Options:
  -V, --version                      output the version number
  -m, --model <model>                ollama model (default: "mistral")
  -a, --api <api>                    api host (default: "http://localhost:11434")
  -l, --language <language>          the string of the language to translate to. It can be in any of the two ISO 639 (1 or 2) or the full name in English like Spanish. (default: "en")
  -s, --signature
  -v, --verbose
  -h, --help                         display help for command

Roadmap

  • Support for multiple models
  • Support for responses in different languages
  • Support for remote ollama
  • Support for model pulling selection
  • Support for force option
  • Support for template suggestion
  • Check default template

License

Ollama-Commit is licensed under the MIT License.

npm version Codeac

Keywords

ai

FAQs

Package last updated on 08 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts