A rofi plugin that asks ollama about available models to quickly start new conversations.
mode_example.mp4
The plugin is only packaged for Nix. See
To get a working dev shell via nix
:
nix develop
You will need cargo
+ some dependencies:
pkg-config
openssl
glib
pango
cairo
For unreleased versions of rofi
, you will need to set RUSTFLAGS=--cfg rofi_next
.
Then:
cargo build --release
For local testing/usage:
export ROFI_PLUGIN_PATH=PATH/TO/rofi-ollama/target/release/
rofi -modi ollama -show ollama
Or directly install the plugin:
mv ./target/release/librofi_ollama.so /PATH/TO/ROFI/lib/rofi/librofi_ollama.so