Robuku is a rofi script written in Go that manages bookmarks from buku. This script allows you to add, delete, modify, and navigate to bookmarks directly from the Rofi interface.
- Search: Find bookmarks using rofi's built-in matching features.
- Goto: Open a bookmark in your default web browser.
- Add: Add a new bookmark.
- Delete: Remove an existing bookmark.
- Modify: Update fields of an existing bookmark.
- A buku SQLite database file (
bookmarks.db
). You can set a custom path with the environment variable$ROBUKU_DB_PATH
. - Optionally,
xdg-utils
or you can set a browser with the environment variable$ROBUKU_BROWSER
.
-
Clone the repository:
git clone --depth 1 https://github.com/vannrr/robuku.git cd robuku
-
Build Robuku:
- a.
make install
- b.
or if you don't have
make
:
go build -ldflags="-w -s" -o robuku main.go mkdir -p ~/.config/rofi/scripts/ cp robuku ~/.config/rofi/scripts/
- Download from release page https://github.com/vannrr/robuku/releases/latest
- place binary in
~/.config/rofi/scripts/
Run the script with rofi:
rofi -show robuku
Tags and URLs are used as metadata for search but are not displayed unless the bookmark has no title. In that case, the URL is displayed instead of the title.
If the message box is not resizing to the text, go to your rofi config and remove
the height
property from window
. Instead, set the lines
property
(number of entries listed in rofi) of listview
to achieve the desired height.
If hotkeys are not working in rofi, check the following properties in the rofi config:
kb-custom-1
, kb-custom-2
, and kb-custom-3
. If they are not set to their default values,
the hotkeys listed in robuku will be incorrect.
- https://github.com/jarun/buku
- https://github.com/carnager/buku_run (similar project written in bash)
- https://github.com/davatorium/rofi
- https://github.com/lbonn/rofi (wayland fork)
- https://github.com/davatorium/rofi/blob/next/doc/rofi-script.5.markdown
This project is licensed under the MIT License. See the LICENSE file for details.