Update README for rbw-based rewrite
This commit is contained in:
parent
a316e1b233
commit
55861a65b1
40
README.md
40
README.md
@ -1,30 +1,40 @@
|
||||
# Bitwarden Menu
|
||||
# bw-menu
|
||||
|
||||
A rofi/fzf frontend for Bitwarden via the `rbw` CLI.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# install dependencies
|
||||
sudo dnf install -y python3 python3-pyperclip xclip rofi
|
||||
|
||||
git clone --branch python https://git.navidsassan.ch/navid.sassan/bw-menu.git
|
||||
git clone https://github.com/Linuxfabrik/lib.git
|
||||
# dependencies
|
||||
sudo dnf install -y rofi fzf wl-clipboard # or xclip instead of wl-clipboard
|
||||
cargo install rbw
|
||||
|
||||
# install bw-menu
|
||||
git clone https://git.navidsassan.ch/navid.sassan/bw-menu.git
|
||||
cd bw-menu
|
||||
ln -s ../../lib src/lib
|
||||
./src/main.py --help
|
||||
uv sync
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# start bw serve
|
||||
export BW_SESSION="$(bw unlock --raw)" && bw serve --hostname 127.0.0.1&
|
||||
# get dropdown (takes a second)
|
||||
./src/main.py select
|
||||
# interactive selection (rofi)
|
||||
bw-menu select
|
||||
|
||||
# interactive selection (fzf)
|
||||
bw-menu select --selector fzf
|
||||
|
||||
# select and print to stdout instead of clipboard
|
||||
bw-menu select --field username --print
|
||||
|
||||
# list recent selections
|
||||
bw-menu history list
|
||||
|
||||
# get password of last selected entry
|
||||
./src/main.py history get 0 password
|
||||
bw-menu history get 0 --field password
|
||||
|
||||
# list 5 last selected entries
|
||||
./src/main.py history list
|
||||
# get username and print to stdout
|
||||
bw-menu history get 0 --field username --print
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user