π¬ "Tame your wild
.env
files. Detect chaos. Archive securely. Restore instantly."
π± What is WildEnv?
As Node.js developers, we've all faced the same pain:
- Untracked
.env
files - Missing variables in production
- Forgetting to add
.env
to.gitignore
- Sharing secrets across devices (manually!)
π₯ WildEnv fixes that.
𦴠What it does
WildEnv is a CLI tool that helps you:
Command | What it does |
---|---|
π wildenv init
|
Creates .env , .env.example , ignores |
π wildenv check
|
Finds missing or extra variables |
π¦ wildenv pack
|
Zips env files for safe transfer |
π wildenv restore
|
Unzips and restores everything |
And it speaks both English πΊπΈ and Russian π·πΊ out of the box!
π Quick Start
Install locally or just use it with npx:
npx wildenv init
npx wildenv check
npx wildenv pack
npx wildenv restore
πΌ Use Case: Sharing .env between machines
You're working on a laptop, and want to continue on your desktop:
npx wildenv pack
# β transfers 'env.bundle.zip' to other machine
npx wildenv restore
Boom π₯ β all your env files restored, safely.
π‘οΈ Security
- Automatically updates
.gitignore
and.npmignore
- Supports
.env.secret
for future encryption π - Makes backups before overwrite (
*.bak
)
π Language Support
π Select language / ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠ·ΡΠΊ:
> πΊπΈ English
π·πΊ Π ΡΡΡΠΊΠΈΠΉ
π¦ Tech stack
- Node.js + CommonJS
- CLI via
inquirer
,chalk
,dotenv
- Zip via
adm-zip
- Tested with
jest
- 100% open source on GitHub
π§ͺ Test Coverage
Yes, everything is tested:
npm test
βοΈ init
, check
, pack
, restore
β fully covered
π License
MIT β do what you want.
β¨ Final Thoughts
WildEnv started as a simple idea to tame my .env
files. Now it's a fully working, tested, multi-language tool.
If you've ever shared
.env
by copying, screenshotting, or sending via Telegram β this tool is for you.
π No more chaos.
πΎ Time to tame your environment.
β Star the repo if you like it: github.com/Xzdes/wildenv
Top comments (0)