EnvPilot Manager — manage, save, preview & import
|
| Command | Description |
|---|---|
| Open EnvPilot Dashboard | Open the full dashboard webview. |
| Refresh EnvPilot | Rescan workspace .env* files and refresh the sidebar. |
| Search Saved Envs | Filter saved envs by name, project, description, or tag. |
| Sort Saved Envs | Sort saved envs by recent update, name, or project. |
| Save this env to EnvPilot | Persist a detected env in VS Code global storage. |
| Create EnvPilot Env | Create a saved env manually. |
| Preview Env | Open a redacted preview of a saved env. |
| Import Env | Import a saved env into the current workspace. |
| Export Env | Export a saved env to a file. |
| Rename Env | Rename a saved env with duplicate-name validation. |
| Delete Env | Delete a saved env after confirmation. |
| Generate .env.example | Create .env.example from a detected workspace env. |
| Compare Envs | Compare workspace and saved envs. |
Common workflows
Save a production env for later
- Open the project containing
.env.production. - Open the EnvPilot sidebar.
- Right-click
.env.production. - Choose Save this env to EnvPilot.
- Add tags such as
production,api, orbackend. - Choose whether to encrypt it.
- Click Preview after save to verify the stored keys.
Import a saved env into a new project
- Open the target project.
- Find the env under Saved Envs.
- Choose Import Env.
- Select Replace current
.env, Create.env.local, or Create custom env filename. - Confirm before EnvPilot replaces any existing file.
Generate .env.example
- Open a workspace with a real
.envfile. - Right-click the detected env.
- Choose Generate .env.example.
- Review the generated file before committing it.
Example output:
# Database Url value
DATABASE_URL=
# Jwt Secret value
JWT_SECRET=
Compare frontend and backend envs
- Run EnvPilot: Compare Envs.
- Pick the frontend env.
- Pick the backend env.
- Review missing keys, changed values, and empty variables in the dashboard.
Extension settings
EnvPilot currently works without required user settings.
Future settings may include dashboard defaults, preview redaction preferences, and import filename preferences.
Data & privacy
- Workspace env files are read from the currently opened VS Code workspace.
- Saved envs are stored in VS Code global state on your machine.
- Encrypted saved envs are protected locally with AES-256-GCM.
- Passwords are never stored and cannot be recovered by EnvPilot.
- Env files are never auto-saved.
- Existing files are never overwritten without confirmation.
Nothing is sent to the network by EnvPilot; env data stays local unless you export or share it yourself.
Requirements
- VS Code
^1.120.0(seeenginesinpackage.json).
Development
npm install
npm run compile
npm test
Launch locally:
- Open this repository in VS Code.
- Press
F5. - Use the Extension Development Host window.
- Open the EnvPilot Activity Bar view.
Tech stack
- TypeScript
- VS Code Extension API
- React webview UI
- esbuild
- Tailwind-ready styling
dotenvzod- Node
crypto
Project structure
src/
commands/ command registrations and user flows
parsers/ dotenv parsing and env diagnostics
services/ compare, encryption, import/export, validation, example generation
storage/ VS Code globalState persistence
types/ shared TypeScript models
ui/ sidebar provider and webview panel
utils/ ids and workspace helpers
webview/ React dashboard
License
MIT — see LICENSE.
Links
- Repository: github.com/Atharav31/envpilot
- Issues: github.com/Atharav31/envpilot/issues
- Author: Atharav Uttekar — extension EnvPilot (
envpilot)