{"id":25949696,"url":"https://github.com/burgr033/autocommit","last_synced_at":"2025-09-17T11:13:56.260Z","repository":{"id":280617096,"uuid":"942130647","full_name":"burgr033/autoCommit","owner":"burgr033","description":"automatically get a semi-useful commit message (without AI bullshit)","archived":false,"fork":false,"pushed_at":"2025-06-11T09:08:20.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T10:46:24.540Z","etag":null,"topics":["commit-message","git","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/burgr033.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-03-03T16:13:23.000Z","updated_at":"2025-06-11T09:04:31.000Z","dependencies_parsed_at":"2025-08-01T15:41:30.188Z","dependency_job_id":null,"html_url":"https://github.com/burgr033/autoCommit","commit_stats":null,"previous_names":["burgr033/autocommit"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/burgr033/autoCommit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgr033%2FautoCommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgr033%2FautoCommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgr033%2FautoCommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgr033%2FautoCommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burgr033","download_url":"https://codeload.github.com/burgr033/autoCommit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgr033%2FautoCommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275583500,"owners_count":25490681,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["commit-message","git","golang"],"created_at":"2025-03-04T12:28:45.209Z","updated_at":"2025-09-17T11:13:56.220Z","avatar_url":"https://github.com/burgr033.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autoCommit\n\nApplication designed as a `prepare-commit-msg` git hook that analyzes your staged files and generates a commit message **without AI bullshit**!\n\n## Installation\n\n```bash\n  go install github.com/burgr033/autoCommit@latest\n```\n\n## Configuration\n\ncreate a `prepare-commit-msg` file in your git repository under `.git/hooks/` directory and put in the following (as an example):\n\n```\n#!/bin/bash\n\nCOMMIT_MSG_FILE=$1\nCOMMIT_SOURCE=$2\n\nCUSTOM_HEADER=\"# This is an autogenerated commit message\"\nCUSTOM_FOOTER=\"# powered by github.com/burgr033/autoCommit\"\n\n# Only proceed if no commit message was explicitly provided (-m or -F options)\nif [[ -z \"$COMMIT_SOURCE\" ]]; then\n  autoCommit $COMMIT_MSG_FILE $CUSTOM_HEADER $CUSTOM_FOOTER\nfi\n```\n\u003e [!NOTE]\n\u003e this could also be done in a git template. See https://git-scm.com/docs/git-init#_template_directory\n\n\n## Features\n\n- Pattern matching for file names for special files like `.gitlab-ci.yml` or `docs/*`\n- Descriptive comments, depending on git operation\n- if pattern matching for files does not bring up a result the branch name is checked for a possible \"git flow\" naming.\n\n## Examples\n\nThe repo with the following `git status` on a branch called `feature/loremipsum`:\n\n```bash\nA  .gitlab-ci.yml\nA  README.MD\nMM internal/filetypes/filetypes.go\nMM main.go\n?? COMMIT_EDITMSG\n?? test.txt\n```\n\ngenerates the following commit message:\n\n```bash\n# This is an automated commit message\n\n# docs: added README.MD\n# unknown: modified internal/filetypes/filetypes.go, main.go\n# ci: added .gitlab-ci.yml\n\n# This is the Footer of the automated commit message\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgr033%2Fautocommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburgr033%2Fautocommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgr033%2Fautocommit/lists"}