{"id":15165967,"url":"https://github.com/cjboy76/ollama-commit-mate","last_synced_at":"2025-03-26T05:13:42.597Z","repository":{"id":251193479,"uuid":"836600922","full_name":"cjboy76/ollama-commit-mate","owner":"cjboy76","description":"Generate commit messages with Ollama from terminal","archived":false,"fork":false,"pushed_at":"2025-03-02T10:26:35.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T10:31:54.065Z","etag":null,"topics":["commit-message","git","ollama"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cjboy76.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-01T07:31:12.000Z","updated_at":"2025-03-02T10:26:37.000Z","dependencies_parsed_at":"2024-09-13T22:42:45.322Z","dependency_job_id":"309b1fac-8d6c-481a-80ef-69f95f91d2ac","html_url":"https://github.com/cjboy76/ollama-commit-mate","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"f96f824c5c069089bfb5418eab6fb5fe03995711"},"previous_names":["cjboy76/commit-mate","cjboy76/ollama-commit-mate"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjboy76%2Follama-commit-mate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjboy76%2Follama-commit-mate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjboy76%2Follama-commit-mate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjboy76%2Follama-commit-mate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjboy76","download_url":"https://codeload.github.com/cjboy76/ollama-commit-mate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591586,"owners_count":20640692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commit-message","git","ollama"],"created_at":"2024-09-27T04:21:24.142Z","updated_at":"2025-03-26T05:13:42.559Z","avatar_url":"https://github.com/cjboy76.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `ollama-commit-mate`\n\n## Installation\n\nTo use `ollama-commit-mate`, use the following command:\n\n```bash\nnpx ollama-commit-mate\n```\n\nOr try to install globally, you can use the `ocm` shorthand command to run it.\n```bash\nnpm i -g ollama-commit-mate\n```\n\n### Options\n\n| Option       | Alias   | Type     | Description                                                                                       | Default                                      |\n|--------------|---------|----------|---------------------------------------------------------------------------------------------------|----------------------------------------------|\n| `--model`    | `-m`    | `string` | The AI model to use (chat models in Ollama).         | `llama3.1`                                  |\n| `--baseUrl`  | `--url` | `string` | The base URL of Ollama port.                                                                 | `http://localhost:11434`                    |\n| `--exclude`  | `--ex`  | `array`  | Files or directories to exclude from the diff.                                                    | `['node_modules', 'dist', 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml']` |\n| `--untracked`| `--un`  | `boolean`| When true, this feature allows the inclusion of untracked files in the output, providing a more comprehensive view of system changes. | `false`                                     |                                  |\n\n\n## Examples\n##### Basic Usage\n```bash\n# Generate a commit message using the default settings:\n\nnpx ollama-commit-mate\n\nocm\n```\n##### Specify AI Model\n```bash\n# Use a specific AI model for generating commit messages:\n\nnpx ollama-commit-mate --model mistral\n\nocm -m mistral\n```\n\n##### Change Base URL\n```bash\n# Specify base URL for your Ollama port:\n\nnpx ollama-commit-mate --baseUrl http://localhost:11434\n\nocm -url http://localhost:11434\n```\n##### Exclude Files\n```bash\n# Exclude additional files or directories from the diff:\n\nnpx ollama-commit-mate --exclude 'deploy/index.ts' 'dist'\n\nocm --ex 'deploy/index.ts' 'dist'\n```\n##### Include Untracked Files\n\n```bash\n# Include untracked files in the output:\n\nnpx ollama-commit-mate --untracked\n\nocm --un\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjboy76%2Follama-commit-mate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjboy76%2Follama-commit-mate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjboy76%2Follama-commit-mate/lists"}