{"id":15042463,"url":"https://github.com/askirmas/git-hooks-wrapper","last_synced_at":"2026-02-10T03:31:27.113Z","repository":{"id":35705712,"uuid":"209826294","full_name":"askirmas/git-hooks-wrapper","owner":"askirmas","description":"Wrapper scripts for Git Hooks","archived":false,"fork":false,"pushed_at":"2023-01-06T03:08:39.000Z","size":471,"stargazers_count":2,"open_issues_count":35,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T07:05:12.605Z","etag":null,"topics":["bash-script","git-hooks","hooks","language-independent","os-independent","platform-independent","pre-commit","testing"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-hooks-wrapper","language":"TypeScript","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/askirmas.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}},"created_at":"2019-09-20T15:42:50.000Z","updated_at":"2021-03-09T17:27:41.000Z","dependencies_parsed_at":"2023-01-16T03:30:52.970Z","dependency_job_id":null,"html_url":"https://github.com/askirmas/git-hooks-wrapper","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/askirmas/git-hooks-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askirmas%2Fgit-hooks-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askirmas%2Fgit-hooks-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askirmas%2Fgit-hooks-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askirmas%2Fgit-hooks-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/askirmas","download_url":"https://codeload.github.com/askirmas/git-hooks-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askirmas%2Fgit-hooks-wrapper/sbom","scorecard":{"id":212331,"data":{"date":"2025-08-11","repo":{"name":"github.com/askirmas/git-hooks-wrapper","commit":"873e515f451861128903deb3e5b9da527cc0761f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"internal error: internal error: invalid GitHub workflow:\n:5:0: could not parse as YAML: yaml: line 5: did not find expected key [syntax-check]","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"internal error: internal error: invalid GitHub workflow:\n:5:0: could not parse as YAML: yaml: line 5: did not find expected key [syntax-check]","details":null,"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":-1,"reason":"internal error: internal error: invalid GitHub workflow:\n:5:0: could not parse as YAML: yaml: line 5: did not find expected key [syntax-check]","details":null,"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"internal error: internal error: invalid GitHub workflow:\n:5:0: could not parse as YAML: yaml: line 5: did not find expected key [syntax-check]","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"internal error: internal error: invalid GitHub workflow:\n:5:0: could not parse as YAML: yaml: line 5: did not find expected key [syntax-check]","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-v4rh-8p82-6h5w","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T00:58:23.497Z","repository_id":35705712,"created_at":"2025-08-17T00:58:23.497Z","updated_at":"2025-08-17T00:58:23.497Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bash-script","git-hooks","hooks","language-independent","os-independent","platform-independent","pre-commit","testing"],"created_at":"2024-09-24T20:47:21.003Z","updated_at":"2026-02-10T03:31:27.098Z","avatar_url":"https://github.com/askirmas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-hooks-wrapper\n\nMake usage of git hooks easy in project of any programming language and any platform. Works on Windows with [git bash](https://git-scm.com/download/win). \n\n## Installation\n\n| Language                                                | Install                         | Command Execution     |\n| ------------------------------------------------------- | ------------------------------- | --------------------- |\n| [Node](https://www.npmjs.com/package/git-hooks-wrapper) | `npm install git-hooks-wrapper` | npx git-hooks-wrapper |\n| Python                                                  | TBD pypi pip                    |                       |\n| PHP                                                     | TBD Composer PEAR Packagist     |                       |\n| ...                                                     |                                 |                       |\n\n## Basic Usage\n\nAfter install automatically runs `init` wrapping `$PWD/git-hooks` folder by default. Folder can be changed by running pattern\n\n``` bash\n$ $ghw init $hooksDirecotory\n```\n\nThis project uses itself so use [./git-hooks](./git-hooks) as examples\n\nIn addition to [init](./commands/init) and hooks there are several useful scripts in [./utils](./utils) that can be run with pattern\n```bash\n$ $ghw $command $@\n```\n## Wrappers Functionality\n\n### pre-commit\n\nRemoves untracked files and recovers them afterwards - ensures that test are running without side-effects. If files was changed (untracked appeared) exists with error.\n\n## Commands list\n\n```bash\n$ $ghw\n# SCRIPTS:\n- init\n- test\n# HOOKS:\n- applypatch-msg\n- commit-msg\n- fsmonitor-watchman\n- p4-pre-submit\n- post-applypatch\n- post-checkout\n- post-commit\n- post-index-change\n- post-merge\n- post-receive\n- post-rewrite\n- post-update\n- pre-applypatch\n- pre-auto-gc\n- pre-commit\n- pre-merge-commit\n- prepare-commit-msg\n- pre-push\n- pre-rebase\n- pre-receive\n- push-to-checkout\n- sendemail-validate\n- update\n# UTILS:\n- forceupdate\n- forceupdate_submodules\n- getbranch\n- getRefsBranch\n- getRemote\n- semver_inc\n- stash_untracked\n- stats\n```\n\n## TBD\n\n### prepare-commit-msg\n\nAdd argument with stats overview \n\n### commit-msg\n\nAdd arguments with message uniqueness and open issue existence \n\n## Further reading\n\n### About hooks\n\nhttps://git-scm.com/docs/githooks\n\nhttps://www.atlassian.com/git/tutorials/git-hooks\n\n\n### pre-commit\n\n[https://codeinthehole.com/tips/tips-for-using-a-git-pre-commit-hook/](https://codeinthehole.com/tips/tips-for-using-a-git-pre-commit-hook/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskirmas%2Fgit-hooks-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faskirmas%2Fgit-hooks-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskirmas%2Fgit-hooks-wrapper/lists"}