We’ve all experienced it. You push a new feature to staging or production, the deployment finishes, and then... a sudden crash.

You open the logs only to find a familiar error: process.env.STRIPE_API_KEY is undefined or invalid port: "3000px".

Someone added a new third-party API key to the codebase, or defined a PORT as a word instead of a number in their local environment, but forgot to update the staging configurations.

To solve this problem once and for all, I built envguard: an offline-first linter and validator for environment variables, written in Go.

What is envguard?