mamoru-0.1.1 is not a library.
mamoru
Mamoru acts as a commit-msg hook that embeds a compiled dictionary to instantly catch and block typos before they enter your version control.
Installation
Install the binary using Cargo:
Usage
Navigate to any Git repository and initialize the hook. This automatically configures Mamoru inside .git/hooks/commit-msg with the necessary executable permissions.
# If existing git hooks exist, use --force to overwrite it
Once installed, Mamoru intercepts your git commit commands automatically. If a commit contains unrecognized words, the hook safely aborts the commit and suggests corrections.
Acknowledgments
Mamoru's built-in dictionary is compiled from a blend of standard natural language and specialized developer jargon, heavily drawing from:
- Linux system wordlists (via
/usr/share/dict) for robust, everyday English. - cspell repositories for modern programming, DevOps, and open-source software terminology.
License
This project is licensed under the MIT license.