Update README for rbw-based rewrite

This commit is contained in:
Navid Sassan 2026-02-17 19:37:18 +01:00
parent a316e1b233
commit 55861a65b1

View File

@ -1,30 +1,40 @@
# Bitwarden Menu # bw-menu
A rofi/fzf frontend for Bitwarden via the `rbw` CLI.
## Installation ## Installation
```bash ```bash
# install dependencies # dependencies
sudo dnf install -y python3 python3-pyperclip xclip rofi sudo dnf install -y rofi fzf wl-clipboard # or xclip instead of wl-clipboard
cargo install rbw
git clone --branch python https://git.navidsassan.ch/navid.sassan/bw-menu.git
git clone https://github.com/Linuxfabrik/lib.git
# install bw-menu
git clone https://git.navidsassan.ch/navid.sassan/bw-menu.git
cd bw-menu cd bw-menu
ln -s ../../lib src/lib uv sync
./src/main.py --help
``` ```
## Usage ## Usage
```bash ```bash
# start bw serve # interactive selection (rofi)
export BW_SESSION="$(bw unlock --raw)" && bw serve --hostname 127.0.0.1& bw-menu select
# get dropdown (takes a second)
./src/main.py 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 # 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 # get username and print to stdout
./src/main.py history list bw-menu history get 0 --field username --print
``` ```