Observed since 21 Oct, 10:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An AI-powered Git pre-commit hook using Ollama to review code.
An intelligent Git pre-commit hook that uses a local Ollama LLM to automatically review your code changes before you commit them.
You need to have a running Ollama instance with a model pulled (e.g., ollama pull codellama:latest).
Install the package using pip:
pip install git-guardian-ai
Navigate to your Git repository:
cd /path/to/your/project
Run the install command: This sets up the pre-commit hook in your repository's .git folder.
guardian install
(Optional) Configure Guardian: Create a .guardian.toml file in the root of your repository to customize the settings.
# .guardian.toml
model = "llama3:8b"
block_on = ["security", "logic"]
warn_on = ["performance", "style"]
Now, whenever you run git commit, the Guardian will automatically analyze your staged changes!
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 4 Oct 2025 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0f042d4086ccebb5142b880a65e18807da256667519a355edec8bde1679df173