{"id":30026886,"url":"https://github.com/fiqryq/ai-commit","last_synced_at":"2026-05-15T20:06:37.475Z","repository":{"id":302105327,"uuid":"1009682972","full_name":"fiqryq/ai-commit","owner":"fiqryq","description":" lua-based, ollama-driven git commit message assistant.","archived":false,"fork":false,"pushed_at":"2025-06-30T15:06:46.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T07:28:26.808Z","etag":null,"topics":["ai","auto-commit","lua","ollama"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiqryq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-27T14:33:00.000Z","updated_at":"2025-11-03T06:10:58.000Z","dependencies_parsed_at":"2025-06-30T16:35:00.030Z","dependency_job_id":null,"html_url":"https://github.com/fiqryq/ai-commit","commit_stats":null,"previous_names":["fiqryq/ai-commit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fiqryq/ai-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiqryq%2Fai-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiqryq%2Fai-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiqryq%2Fai-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiqryq%2Fai-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiqryq","download_url":"https://codeload.github.com/fiqryq/ai-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiqryq%2Fai-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:05:40.333Z","status":"ssl_error","status_checked_at":"2026-05-15T20:05:38.672Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","auto-commit","lua","ollama"],"created_at":"2025-08-06T11:37:11.843Z","updated_at":"2026-05-15T20:06:37.471Z","avatar_url":"https://github.com/fiqryq.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-commit assistant powered by ollama \n`ai-commit` is a Lua-based, Ollama-driven Git commit message assistant that streamlines your workflow by generating commit messages for you.\n\nhttps://github.com/user-attachments/assets/255532b9-d08a-4485-95c6-51f663398c97\n\n## Installation\n\n### Using Homebrew (macOS)\n\n```bash\nbrew install fiqryq/ai-commit/ai-commit\n```\n\n### Manual Installation\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/fiqryq/ai-commit.git\n    cd ai-commit\n    ```\n\n2.  **Install dependencies:**\n\n    Make sure you have Lua and LuaRocks installed. Then, install the required Lua modules:\n\n    ```bash\n    luarocks install argparse\n    luarocks install dkjson\n    luarocks install luasocket\n    ```\n\n3.  **Make the script executable:**\n\n    ```bash\n    chmod +x bin/ai-commit\n    ```\n\n4.  **Add to your PATH:**\n\n    For ease of use, add the `bin` directory to your system's `PATH`:\n\n    ```bash\n    export PATH=$PATH:/path/to/ai-commit/bin\n    ```\n\n## Usage\n\nTo generate a commit message for your staged changes, simply run:\n\n```bash\nai-commit\n```\n\n### Auto-Commit\n\nTo automatically commit the generated message, use the `--commit` flag:\n\n```bash\nai-commit --commit\n```\n\n### Commands\n\n| Command           | Description                                  |\n| ----------------- | -------------------------------------------- |\n| `ai-commit`       | Generate a commit message for staged changes |\n| `ai-commit --commit` | Generate and automatically commit the message  |\n| `ai-commit --config`  | Run the interactive configuration setup      |\n| `ai-commit --show-config` | Show the current `ai-commit` configuration   |\n\n## Configuration\n\n`ai-commit` can be configured by running the interactive setup:\n\n```bash\nai-commit --config\n```\n\nThis will guide you through setting up:\n\n-   **Default Provider**: The AI provider to use (e.g., `ollama`).\n-   **Default Model**: The specific model to use for generating messages.\n-   **Ollama Host**: The hostname or IP address of your Ollama instance.\n\nYour configuration will be saved at `~/.config/ai-commit/config.json`.\n\n## Local Development and Debugging\n\nIf you're contributing to `ai-commit` or need to debug it locally, follow these steps:\n\n1.  **Clone the repository** and navigate into the directory.\n\n2.  **Run the script directly:**\n\n    You can run the `ai-commit` script from the `bin` directory to test your changes:\n\n    ```bash\n    lua bin/ai-commit\n    ```\n\n3.  **Build on local:**\n\n    ```bash\n    luarocks make\n    ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiqryq%2Fai-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiqryq%2Fai-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiqryq%2Fai-commit/lists"}