Generate .env.example from your .env files. Use when onboarding developers.
Your .env has 30 variables and nobody knows what half of them do. This tool creates a properly documented .env.example with secrets stripped out.
One command. Zero config. Just works.
npx ai-env-sync
# Generate .env.example
npx ai-env-sync
# Specify project directory
npx ai-env-sync ./my-project
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-env-sync --help
Reads your .env files, identifies the variables, and uses GPT-4o-mini to generate helpful descriptions for each one. Sensitive values are replaced with placeholder text like "your_api_key_here".
MIT. Free forever. Use it however you want.