{"id":22249006,"url":"https://github.com/purplebooth/mit-commit","last_synced_at":"2025-09-23T10:07:59.742Z","repository":{"id":40692547,"uuid":"275551018","full_name":"PurpleBooth/mit-commit","owner":"PurpleBooth","description":"(Mirror)","archived":false,"fork":false,"pushed_at":"2025-08-20T00:10:38.000Z","size":298,"stargazers_count":2,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-20T02:26:24.841Z","etag":null,"topics":["git","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://codeberg.org/PurpleBooth/mit-commit/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PurpleBooth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-06-28T09:27:06.000Z","updated_at":"2025-08-20T00:10:42.000Z","dependencies_parsed_at":"2024-07-26T17:17:41.376Z","dependency_job_id":"15bcd661-792b-455e-8cf2-d4f5927c33a0","html_url":"https://github.com/PurpleBooth/mit-commit","commit_stats":{"total_commits":232,"total_committers":7,"mean_commits":"33.142857142857146","dds":0.5517241379310345,"last_synced_commit":"9c6148c9569fd6a560a87b442035cb6e31b23875"},"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"purl":"pkg:github/PurpleBooth/mit-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2Fmit-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2Fmit-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2Fmit-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2Fmit-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PurpleBooth","download_url":"https://codeload.github.com/PurpleBooth/mit-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PurpleBooth%2Fmit-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271578517,"owners_count":24784051,"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-08-22T02:00:08.480Z","response_time":65,"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":["git","hacktoberfest"],"created_at":"2024-12-03T06:21:11.751Z","updated_at":"2025-09-23T10:07:54.679Z","avatar_url":"https://github.com/PurpleBooth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mit-commit\n\nA library to parse commit messages in git hooks\n\n``` rust\nuse indoc::indoc;\nuse mit_commit::{Bodies, CommitMessage, Subject};\n\nlet message = CommitMessage::from(indoc!(\n    \"\n    Update bashrc to include kubernetes completions\n\n    This should make it easier to deploy things for the developers.\n    Benchmarked with Hyperfine, no noticable performance decrease.\n\n    ; Bitte geben Sie eine Commit-Beschreibung f\\u{00FC}r Ihre \\u{00E4}nderungen ein. Zeilen,\n    ; die mit ';' beginnen, werden ignoriert, und eine leere Beschreibung\n    ; bricht den Commit ab.\n    ;\n    ; Datum:            Sat Jun 27 21:40:14 2020 +0200\n    ;\n    ; Auf Branch master\n    ;\n    ; Initialer Commit\n    ;\n    ; Zum Commit vorgemerkte \\u{00E4}nderungen:\n    ;    neue Datei:     .bashrc\n    ;\"\n));\nassert_eq!(\n    message.get_subject(),\n    Subject::from(\"Update bashrc to include kubernetes completions\")\n)\n```\n\nRead more at [Docs.rs](https://docs.rs/mit-commit/) or visit the [Codeberg repository](https://codeberg.org/PurpleBooth/mit-commit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurplebooth%2Fmit-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurplebooth%2Fmit-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurplebooth%2Fmit-commit/lists"}