Skip to content

Experimental plugin to integrate Ollama in Kate for KDE

License

Notifications You must be signed in to change notification settings

Mte90/kate-ollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kate-Ollama

License

Experimental plugin to integrate Ollama in Kate.

Write a text that starts with // AI: [your prompt].

senza.titolo.mp4

Commands

  • Ctrl + /: prints // AI:
  • Ctrl + ;: execute Ollama with the generate endpoint, so doesn't have memory of what was already executed
  • Ctrl + Shift + ;: execute Ollama with the generate endpoint, but with the whole content injected before the prompt

Installation instructions

Build and install:

mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -G Ninja ../
ninja
ninja install

If you are developing a symlink as root can simplify the loading of the latest plugin build:

ln -s /your-folder/build/plugins/kf6/ktexteditor/kateollama.so /usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/ktexteditor/kateollama.so

About

Experimental plugin to integrate Ollama in Kate for KDE

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published