This is a Raycast extension to access keepass database.
keepassxc-cli
in KeepassXC.app
is required to access keepass databaseThere are 3 parameters required for this extension to work:
KeePassXC.app
(default /Applications/KeePassXC.app
)Enter
: Paste PasswordShift
+Enter
: Paste UsernameOption
+Enter
: Paste TOTPCmd
+G
: Copy PasswordCmd
+B
: Copy UsernameCmd
+T
: Copy TOTPShift
+ Cmd
+ U
: Open URL in BrowserThis extension works by using keepassxc-cli
(inside KeePassXC.app
) in command line to access keepass database:
keepassxc-cli
by simulating command line interaction with nodejs api subprocess.stdin.write.# List entries for version < 2.7
keepassxc-cli locate -q /path/to/database.kdbx /
# List entries for version >= 2.7
keepassxc-cli find -q /path/to/database.kdbx /
# Get password by entry
keepassxc-cli show -q -a Password /path/to/database.kdbx entry_name
# Get username by entry
keepassxc-cli show -q -a Username /path/to/database.kdbx entry_name