Compare .env files across environments. Catch missing or mismatched variables before they break production.
You have .env, .env.staging, .env.production.example. Are they in sync? Did someone add a variable to staging but forget to document it in the example file? envcheck compares them all and tells you exactly what's wrong.
pip install envyzer
envcheck check .env.example .env .env.production┌─────────────┬──────────┬──────────────────────────────┐
│ Key │ Issue │ Details │
├─────────────┼──────────┼──────────────────────────────┤
│ DATABASE_URL│ mismatch │ example: postgres://..., │
│ │ │ production: mysql://... │
│ NEW_RELIC │ missing │ in .env but not in .env.ex.. │
│ DEBUG │ extra │ in .env.example but nowhere.. │
└─────────────┴──────────┴──────────────────────────────┘
- Multi-file comparison — Compare 2+ .env files at once
- Three issue types — missing, extra, mismatch
- Rich terminal output — Color-coded tables, no squinting
- CI-friendly — Non-zero exit on issues, perfect for CI pipelines
# GitHub Actions
- name: Check env files are in sync
run: envcheck check .env.example .env.staging .env.productionPython, Typer, Rich
- pingbot — dead-simple cron job monitor with Telegram alerts
- shipnotes — changelog generator from git history
- tokenalyzer — AI coding token usage & cost analyzer