Skip to content

louis-thevenet/rofi-ollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-ollama

A rofi plugin that asks ollama about available models to quickly start new conversations.

It only works with kitty for the moment, I am still looking for a general way of opening terminal emulators. You can open an issue for other terminals and I'll add it.

Example

mode_example.mp4

Installation

Via package manager

The plugin is only packaged for Nix. See

From source

Nix

To get a working dev shell via nix:

nix develop

Others

You will need cargo + some dependencies:

  • pkg-config
  • openssl
  • glib
  • pango
  • cairo

Build the plugin

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

About

Launch ollama models from Rofi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published