HarborClient plugin that links a .env file to an environment and keeps variables in sync.
- Pick a
.envfile per collection from Collection Settings → Dotenv - Create a new HarborClient environment from parsed
.envvalues - Keep the linked environment mirrored to the file with filesystem watch or polling fallback
- Configure key prefix filtering, prefix stripping, and key transforms in Settings → Dotenv Sync
ui— settings panels and collection tabfilesystem:pick— choose.envfilesfilesystem:read— read linked files and watch for changesstorage— persist links and settings
pnpm install
pnpm devLoad the unpacked plugin folder in HarborClient Settings → Plugins, or start HarborClient with:
HARBOR_PLUGINS_DEV=/path/to/harborclient-plugin-dotenv pnpm devBuild a distributable plugin package:
pnpm pack- Choose a
.envfile and click Sync now. - Enter a name for the new environment on first sync.
- Enable Keep in sync to automatically push file changes into the linked environment.
When filesystem watch is unavailable, the plugin polls at the configured interval from Settings → Dotenv Sync.
