Own your hooks

Zero dependencies. No magic. Just native Git scripts that live in your repo.

$ npx boru
📦

Zero Dependencies

No heavy binaries. Your hooks are just simple shell scripts that run natively.

🚀

Native Speed

Leverages Git's native core.hooksPath for maximum performance.

🛠️

Full Control

You own the code. Edit your hooks directly in your editor. No hidden magic.

Configuration Examples

pre-commit

Run tests or linters before every commit.

#!/bin/sh
npm run test
npm run lint
📝

commit-msg

Ensure your commit messages follow a convention.

#!/bin/sh
npx commitlint --edit "$1"
🚀

pre-push

Run build or integration tests before pushing.

#!/bin/sh
npm run build

Why Boru?

Traditional tools abstract too much. Boru scaffolding simply gives you the files you need and sets the config. You can delete Boru after running it, and your hooks keep working.