tabby-vault-keepassxc
v1.0.1
Published
Automatically unlock Tabby Vault using KeePassXC Browser Integration (macOS, Windows, Linux).
Readme
tabby-vault-keepassxc
Tabby plugin that automatically unlocks Tabby Vault using KeePassXC Browser Integration — no external CLI, works on macOS, Windows, and Linux.
Features
- Native KeePassXC Browser Integration protocol (NaCl + local socket/pipe)
- No Rust /
keepassxc-proxy-getpwCLI required - Associate directly from Tabby settings
- Falls back to Tabby unlock modal on failure
- Cross-platform: macOS, Windows, Linux (including Flatpak socket path)
Requirements
- Tabby with Vault enabled (encrypted config)
- KeePassXC with Settings → Browser Integration → Enable browser integration
- A KeePassXC entry whose URL matches the plugin setting (default
tabby://vault) and whose password is your Tabby Vault master passphrase
Important: Your Tabby Vault passphrase must not be the same as your KeePassXC database master password.
Install from Tabby plugin market (Windows / any platform)
- Open Tabby → Settings → Plugins
- Search for
tabby-vault-keepassxc - Install and restart Tabby
Or install via npm:
# Windows
cd "%APPDATA%\tabby\plugins"
npm install tabby-vault-keepassxc
# macOS
cd ~/Library/Application\ Support/tabby/plugins
npm install tabby-vault-keepassxcmacOS local development
cd tabby-vault-keepassxc
pnpm install
pnpm run deploy:local-tabbyRestart Tabby. Settings appear under Settings → Tabby Vault KeePassXC.
Setup
- Enable Browser Integration in KeePassXC
- Create a KeePassXC entry with URL
tabby://vaultand password = Tabby Vault passphrase - In Tabby: Settings → Tabby Vault KeePassXC
- Click Associate with KeePassXC and approve the prompt in KeePassXC
- Click Test fetch to verify
- Restart Tabby
Settings
| Setting | Default | Description |
|---------|---------|-------------|
| Enable plugin | on | Master toggle |
| Entry URL | tabby://vault | KeePassXC URL match |
| Wait for unlock | on | Prompt to unlock KeePassXC when database is locked |
| Remember passphrase | 24 hours | In-memory cache (0 = always query KeePassXC) |
| Fallback | Tabby modal | On failure: show modal or throw error |
Plugin settings: {tabbyConfigDir}/tabby-vault-keepassxc-settings.json
Association keys: {tabbyConfigDir}/tabby-vault-keepassxc-association.json
Logs: {tabbyConfigDir}/tabby-vault-keepassxc/
Verification
- KeePassXC Browser Integration enabled
- KeePassXC entry with URL
tabby://vaultand correct password - Plugin settings → Associate with KeePassXC → success
- Test fetch → success
- Restart Tabby → no Vault modal when KeePassXC is running
- Quit KeePassXC → restart Tabby → falls back to Tabby unlock modal
Publish to npm
pnpm install
pnpm run build
npm publish --access publicLicense
MIT
中文说明
Tabby 插件:通过 KeePassXC Browser Integration 原生协议自动获取 Vault 主密码,支持 macOS / Windows / Linux,无需 CLI。
安装
- Windows:Tabby → Settings → Plugins → 搜索
tabby-vault-keepassxc - macOS 本地测试:
pnpm run deploy:local-tabby
配置
- KeePassXC 开启 Browser Integration
- 创建 URL=
tabby://vault条目 - 设置页 与 KeePassXC Associate
- 测试取密码
- 重启 Tabby
