{"id":15294699,"url":"https://github.com/project-cemetery/lefthook","last_synced_at":"2025-10-07T06:31:15.134Z","repository":{"id":56833825,"uuid":"204114186","full_name":"project-cemetery/lefthook","owner":"project-cemetery","description":"The fastest polyglot Git hooks manager out there","archived":true,"fork":false,"pushed_at":"2019-09-24T11:50:55.000Z","size":9,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-16T08:46:01.735Z","etag":null,"topics":["git","hooks","lefthook"],"latest_commit_sha":null,"homepage":"https://github.com/Arkweid/lefthook","language":"Dart","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/project-cemetery.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}},"created_at":"2019-08-24T05:42:59.000Z","updated_at":"2023-01-28T10:56:05.000Z","dependencies_parsed_at":"2022-09-08T07:41:39.827Z","dependency_job_id":null,"html_url":"https://github.com/project-cemetery/lefthook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-cemetery%2Flefthook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-cemetery%2Flefthook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-cemetery%2Flefthook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-cemetery%2Flefthook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-cemetery","download_url":"https://codeload.github.com/project-cemetery/lefthook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235599926,"owners_count":19016191,"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":["git","hooks","lefthook"],"created_at":"2024-09-30T17:06:11.054Z","updated_at":"2025-10-07T06:31:14.795Z","avatar_url":"https://github.com/project-cemetery.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lefthook\n\n\u003e The fastest polyglot Git hooks manager out there\n\n\u003cimg align=\"right\" width=\"147\" height=\"100\" title=\"Lefthook logo\"\n     src=\"https://raw.githubusercontent.com/Arkweid/lefthook/master/logo_sign.svg?sanitize=true\"\u003e\n\nFast and powerful Git hooks manager for Node.js, Ruby or any other type of projects.\n\n* **Fast.** It is written in Go. Can run commands in parallel.\n* **Powerful.** With a few lines in the config you can check only the changed files on `pre-push` hook.\n* **Simple.** It is single dependency-free binary which can work in any environment.\n\n## Original tool\n\nThis repo is just Dart-wrapper for [Lefthook](https://github.com/Arkweid/lefthook). For detailed documentation, check the main repository.\n\n## Installation\n\n```sh\npub global activate lefthook\n```\n\nYou are beautiful! Just create `lefthook.yml` in root of your project, add description of hooks, and start using it.\n\n## Examples\n\n### Flutter\n\nFor project based on Flutter, you can run formatter before every commit and run tests and static analysis before push.\n\n```yml\n# lefthook.yml\n\npre-push:\n  parallel: true\n  commands:\n    tests:\n      run: flutter test\n    linter:\n      run: flutter analyze lib\n\npre-commit:\n  commands:\n    pretty:\n      glob: \"*.dart\"\n      run: flutter format {staged_files}\n```\n\n### More\n\nMore examples in [documentation of original repository](https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md#examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-cemetery%2Flefthook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-cemetery%2Flefthook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-cemetery%2Flefthook/lists"}