Navid Sassan a316e1b233 Rewrite bw-menu using rbw CLI backend and proper Python packaging
Replace bw-serve/Ansible-based implementation with a clean rewrite:
- rbw CLI wrapper for listing entries and fetching credentials
- Rofi script-mode and fzf selectors with history-first sorting
- JSON-backed frecency history at ~/.cache/bw-menu/
- Clipboard support via wl-copy/xclip auto-detection
- uv + hatchling packaging with bw-menu entry point
2026-02-17 19:32:27 +01:00
2024-05-23 13:43:19 +02:00

Bitwarden Menu

Installation

# 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

cd bw-menu
ln -s ../../lib src/lib
./src/main.py --help

Usage

# 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

# get password of last selected entry
./src/main.py history get 0 password

# list 5 last selected entries
./src/main.py history list
Description
Bitwarden Menu
Readme MIT 188 KiB
Languages
Python 100%