Captain Hook 🪝

Cross-platform, modern and native git hooks.

Built on top of husky.

Abstract

Husky is a great tool, but it requires Node.js to be installed. This requirement may prevent developers from using it on a project that does not use Node.js. This implementation aims to provide an executable that can be used in any git project despite the language or runtime available. The coding philosophy is to avoid dependencies to keep the size of the binary to a minimum, making it a CLI application that is accessible to anyone.

Notes

Prerequisites

To run captain-hook you need to have git installed on your machine.

Quick Install

It is possible to install captain-hook in two flavours:

License

Captain Hook is distributed under the terms of the MIT license.

See LICENSE for details.