https://github.com/he4et/fuzzy-bitwarden-clipboard
Interactive Bitwarden CLI Clipboard Selector
https://github.com/he4et/fuzzy-bitwarden-clipboard
Last synced: 10 months ago
JSON representation
Interactive Bitwarden CLI Clipboard Selector
- Host: GitHub
- URL: https://github.com/he4et/fuzzy-bitwarden-clipboard
- Owner: He4eT
- Created: 2024-07-12T18:25:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T20:18:27.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T09:21:08.098Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitwarden CLIpboard Integration Tool
It's a "fork" of the [Interactive Bitwarden CLI Clipboard Selection](https://gist.github.com/loeschzwerg/c2b9d0b50f712a026aa6454af3b58598) gist from [@loeschzwerg](https://github.com/loeschzwerg).
This script for `zsh` continues the concept of combining `jq`, `fzf`, and `xclip`, while eliminating the need for manual management of the Bitwarden CLI session key by securely storing it in the home directory, with `sudo` required for access.
## Requirements
- You need the Bitwarden CLI availible as `bw`.
- `jq` redirects the output into selectable snippets.
- `fzf` selects the entry.
- `xclip` copies the selected entry into your clipboard.
## Installation
Copy the script to any directory included in your $PATH.
## Output Example
```
$ bwc github
[sudo] password for $USER:
Using the existing session key from '/home/$USER/.bitwarden_session'.
Searching for 'github'...
abcdefgh-ijkl-mnop-qrst-uvwxyz123456
github.com
Username 'Username' copied to clipboard.
Press any key to copy the password...
Password copied to clipboard.
```
---
This project is not associated with the Bitwarden project nor Bitwarden, Inc.