Tools: Update: I built a CLI that scans, validates and audits your .env files and it works with any stack

Tools: Update: I built a CLI that scans, validates and audits your .env files and it works with any stack

What is Razify?

What it does

🔍 Secret scanning

✅ Pre-deploy validation

🛡️ Git commit protection

📊 Health score

📄 Auto-generated docs

Installation Every dev team has lost hours to .env problems. A missing variable breaks a deploy. An API key gets committed to Git. A new teammate spends half a day figuring out which variables they need. Nobody documented anything. I built Razify to make all of that stop happening. Razify is a single binary CLI tool for .env file management. It diffs, scans, validates, documents, and audits your environment variables — all from your terminal. Works with Node.js, Python, Ruby, Laravel, Rails — anything that uses .env files. Detects leaked secrets using 80+ regex patterns combined with Shannon entropy analysis to catch what pattern matching alone would miss. Catches missing required variables before you deploy. Returns exit code 1 — plugs straight into CI/CD. Installs a pre-commit hook that blocks any commit containing exposed secrets. Set it once, forget about it. Runs scan + validate + diff together. Gives you a score out of 100 with actionable recommendations. Generates a markdown table from your inline comments. No more "what does this variable do?" MIT licensed. PRs very welcome — especially for new secret patterns or improving the scoring algorithm. ⭐ github.com/Hossiy21/razify 🎬 Demo: https://github.com/Hossiy21/razify/raw/master/razify-demo.gif Would love your feedback — especially on the entropy detection

and health scoring. What would make this useful for your workflow? Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Code Block

Copy

razify scan .env razify scan .env razify scan .env ✘ [CRITICAL] Line 6: DB_PASSWORD — weak or default value ⚠ [HIGH] Line 5: AWS_ACCESS_KEY — cloud provider credential Summary: 1 CRITICAL 4 HIGH 1 MEDIUM ✘ [CRITICAL] Line 6: DB_PASSWORD — weak or default value ⚠ [HIGH] Line 5: AWS_ACCESS_KEY — cloud provider credential Summary: 1 CRITICAL 4 HIGH 1 MEDIUM ✘ [CRITICAL] Line 6: DB_PASSWORD — weak or default value ⚠ [HIGH] Line 5: AWS_ACCESS_KEY — cloud provider credential Summary: 1 CRITICAL 4 HIGH 1 MEDIUM razify validate .env .env.example razify validate .env .env.example razify validate .env .env.example - name: Validate environment run: razify validate .env .env.example --json - name: Validate environment run: razify validate .env .env.example --json - name: Validate environment run: razify validate .env .env.example --json razify guard install razify guard install razify guard install razify audit .env .env.example razify audit .env .env.example razify audit .env .env.example razify docs .env.example -o ENV_DOCS.md razify docs .env.example -o ENV_DOCS.md razify docs .env.example -o ENV_DOCS.md # macOS / Linux brew tap Hossiy21/tap && brew install razify # Windows scoop install razify # Go users go install github.com/Hossiy21/razify@latest # macOS / Linux brew tap Hossiy21/tap && brew install razify # Windows scoop install razify # Go users go install github.com/Hossiy21/razify@latest # macOS / Linux brew tap Hossiy21/tap && brew install razify # Windows scoop install razify # Go users go install github.com/Hossiy21/razify@latest - No cloud account - No tracking - No Go installation required