Your dev environment finally has a memory! 🧠
Tired of setting up .env files on every new machine? Fed up with copying environment variables between your laptop, desktop, and that server you SSH into? DevOrb is here to save your sanity (and your secrets)!
This VS Code extension seamlessly syncs your environment variables across all your development machines using 1Password's rock-solid security. Because who has time to remember 47 different API keys? 🔐
- Zero-Config Magic: Automatically detects
.env,.env.local,.env.development, and friends - 1Password Integration: Your secrets stay secure in your 1Password vault (because we're not monsters)
- Smart Auto-Sync: Updates everywhere when you change a variable anywhere
- Multiple Projects: Each project can have its own vault or share one - your choice!
- All your
.envfiles and variants (.env.local,.env.development, etc.) - Environment variables across unlimited development machines
- Project-specific configurations with optional prefixes
- Automatic file creation when you clone repositories
You'll need a 1Password account to store your environment variables securely. Don't have one?
Pro tip: You can use the personal plan or get your company to pay for it! 💸
- Log into your 1Password account
- Create a new vault called "DevOrb" (exactly like that, case-sensitive!)
- This is where all your environment variables will live
- Head over to the 1Password Developer Console
- Create a new Service Account
- Give it access to your DevOrb vault
- Copy that shiny new token (it starts with
ops_)
- Install this extension (you probably already did this!)
- Open VS Code Settings (
Ctrl/Cmd + ,) - Search for "DevOrb"
- Paste your service account token in the 1Password settings
- Use the
DevOrb: Select 1Password Vaultcommand to choose your DevOrb vault
That's it! DevOrb will now:
- Scan your workspace for
.envfiles - Show you which variables are synced vs local-only
- Automatically sync changes across all your machines
- Create missing
.envfiles when you switch between projects
| Command | What It Does | When To Use It |
|---|---|---|
DevOrb: Setup 1Password Integration |
Walks you through the setup process | First time setup or if things break |
DevOrb: Set 1Password Service Account Token |
Add or update your token | When you get a new token |
DevOrb: Select 1Password Vault |
Choose which vault to use | Setting up or switching vaults |
DevOrb: Refresh & Sync Environment Files |
Force a full sync | When you want to make sure everything's up to date |
DevOrb: Sync All Environment Variables |
Push all local vars to 1Password | After making lots of changes |
DevOrb: Create Missing Environment Files |
Pull down missing .env files | When you clone a new project |
DevOrb: Open Settings |
Jump to DevOrb settings | When you need to tweak things |
Ctrl+Alt+R(orCmd+Alt+Ron Mac): Quick refresh and sync
Right-click on any .env file in the Explorer to:
- Sync that specific file to 1Password
- Download the latest version from 1Password
- Check sync status
- Service Account Tokens: Stored securely in VS Code's secret storage (not in your settings file!)
- Vault Isolation: Each project can use its own vault
- Prefix Support: Add prefixes like
myproject_to avoid naming conflicts - Local Override: Some variables can stay local-only (add them to
.gitignorepatterns)
Found a bug? Want a feature? We'd love your help!
- Issues: Report bugs or request features
- Development:
git clone https://github.com/jimseiwert/dev-orb-extension.git cd devorb npm install code . # Press F5 to run the extension in development mode
- Pull Requests: Always welcome! Please include tests if adding new features.
- Node.js 16+
- VS Code 1.74+
- TypeScript knowledge helpful but not required
- VS Code: Version 1.74.0 or newer
- 1Password Account: Personal or business plan
- Service Account: With access to a DevOrb vault
- Internet Connection: For syncing (obviously! 🌐)
- 🧪 Testing the complete automated publishing workflow
- ✅ Verified branch-based version detection works correctly
- 🔍 Confirmed semantic release generation from PR branch names
- 🤖 Fully automated semantic versioning with branch-based version detection
- 🚀 Automatic publishing to both VS Code Marketplace and OpenVSX Registry
- 🔄 Smart release workflows that detect feature/ and fix/ branches
- 🎯 Full 1Password integration with service account support
- 🔄 Automatic environment file detection and syncing
- 🎨 Beautiful tree view showing sync status
- ⚡ Smart auto-sync with debouncing (no more spam!)
- 🛡️ Secure token storage in VS Code's secret storage
- 📁 Multi-project support with optional prefixes
- 🔧 Comprehensive settings UI
- 🎮 Full command palette integration
- ⌨️ Keyboard shortcuts for power users
- 🖱️ Context menu integration for .env files
Made with lots of ☕ by Jim Seiwert
P.S. - If this extension saves you time, consider starring the repo! It makes us happy and helps other developers find it. ⭐