UltraHooks Documentation
Welcome to the official documentation for UltraHooks!
UltraHooks is a blazingly fast, lightweight, and language-agnostic Git hooks manager written in Go. It is designed to be a simpler, faster alternative to tools like Husky and Lefthook, without requiring Node.js, Python, or Ruby dependencies.
Table of Contents
- Features & Capabilities Learn about Parallel Execution, Staged File Detection, and Environment Injection.
- Installation Guide How to install UltraHooks locally or via our remote
curlscript. - CLI Commands Reference Detailed usage for
init,add,install,run,remove, anddoctor. - Architecture & How It Works A deep dive into how UltraHooks wires itself cleanly into
.git/hooks/and discovers your.ultrahooks/shell scripts. - Git Hooks Masterclass A comprehensive guide explaining what every Git Hook does and how you can use them effectively in your daily workflow.
- Contributing & Collaboration How to build from source, run tests, and contribute back to the open-source repository.
- Changelog Historical tracking of new features and major version upgrades.
Why UltraHooks?
- Zero Dependencies: It's a single Go binary. No
node_modules. - Incredibly Fast: Boot time is virtually zero. Supports concurrent goroutine execution of hooks.
- Language Agnostic: Works perfectly out of the box for Go, Node.js, Python, Rust, PHP, C++, and more.
- Cross-Platform: Executes flawlessly on macOS, Linux, and Windows (natively picking up
.sh,.bat, or.ps1files).
