{"repo":"evilmartians/lefthook","free":true,"listed":false,"github":"https://github.com/evilmartians/lefthook","clone":"git clone https://github.com/evilmartians/lefthook.git","description":"Fast and powerful Git hooks manager for any type of projects.","language":"Go","stars":8664,"topics":["lefthook","git","hooks","manager","go","golang","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"Lefthook A Git hooks manager for Node.js, Ruby, Python and many other types of projects. Fast. It is written in Go. Can run commands in parallel. Powerful. It allows to control execution and files you pass to your commands. Simple. It is single dependency-free binary which can work in any environment. 📖 Introduction post Lefthook is built by Evil Martians , an American design and engineering consultancy for developer tools, AI, and cybersecurity startups . Install With Go ( = 1.26): or as a go tool With NPM : For Ruby : For Python : [Installation guide][installation] with more ways to install lefthook: [apt][install-apt], [brew][install-brew], [winget][install-winget], and others. Usage Configure your hooks, install them once and forget about it: rely on the magic underneath. TL;DR More details - [ Configuration ][configuration] for lefthook.yml config options. - [ Usage ][usage] for lefthook CLI options, and features. - [ Discussions ][discussion] for questions, ideas, suggestions. Why Lefthook ### Parallel execution Gives you more speed. [docs][config-parallel] ### Flexible list of files If you want your own list. [Custom][config-files] and [prebuilt][config-run] examples. ### Glob and regexp filters If you want to filter list of files. You could find more glob pattern examples here. ### Execute in sub-directory If you want to execute the commands in a relative path ### Run scripts If oneline commands are not enough, you can execute files. [docs][config-scripts] ### Tags I","default_branch":null,"files":null,"tree":[],"storefront":"/r/evilmartians","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/evilmartians/lefthook/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}