A vibecoded keyboard-focused 1Password TUI
- Go 98.8%
- Shell 1.2%
| cmd/opt | ||
| internal | ||
| scripts | ||
| .gitignore | ||
| .golangci.yml | ||
| .goreleaser.yaml | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
| Taskfile.yml | ||
opt
A keyboard-focused 1Password TUI built with Bubble Tea.
Features
- Panes layout: Vaults → Entries → Fields → Value (only two visible at a time)
- Desktop app integration (default) or service-account token authentication
- Fuzzy filtering on every list pane (
/) - Secret masking for passwords, OTP codes, etc. (
mto toggle) - Clipboard copy (
cory) - Read-only — no editing
Installation
go install git.karolak.fr/nicolas/opt/cmd/opt@latest
Authentication
Desktop App (default)
If the 1Password desktop app is installed and unlocked, opt will connect using desktop app integration. The account is resolved in this order:
- The
-aflag - The
OP_ACCOUNTenvironment variable - The
opCLI (if signed in with a single account)
opt
You can specify an account explicitly:
opt -a myaccount
Service Account Token
export OP_SERVICE_ACCOUNT_TOKEN="your-token"
opt -t
Usage
| Key | Action |
|---|---|
h / left / shift+tab |
Move focus left |
l / right / tab |
Move focus right / drill down |
enter |
Select / drill down |
j / k |
Navigate within active pane |
/ |
Toggle fuzzy filter on active list |
m |
Toggle secret masking |
c / y |
Copy value to clipboard |
q / ctrl+c |
Quit |
Development
# Format
task fmt
# Lint
task lint
# Test
task test
# Build
task build
License
MIT