Develop Kate plugin (for Ollama integration)
"Daniele \"Mte90\" Scasciafratte" <[email protected]> Tue, 18 Mar 2025 15:55:34 +0100
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------29DRSq02G4b0xaJyxh0PN1gM
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Everyone,
I am on Debian Sid, and I am not very skilled with C++ but I am trying to do a plugin to integrate Ollama inside Kate.
There is https://github.com/arturbac/kdevcxx_with_ai but is only for OpenAI and I have issues on compiling (already reported) and the dev are not very responsive.
Following https://develop.kde.org/docs/apps/kate/plugin/ I was able to do https://github.com/Mte90/kate-ollama
The problem is that on installing the plugin path is "-- Installing: /usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/kate-ollama.so" but Kate doesn't load it.
The plugin of course is not complete as I want to do some testing and probably improve the UX but if I am not able to try it...
What I am missing?
--
Daniele Scasciafratte - OpenSource MultiVersal Guy
daniele.tech <https://daniele.tech> - @Mte90Net <https://twitter.com/Mte90net> - GitHub <https://github.com/Mte90> - Italian Linux Society council member <http://www.ils.org/> - Mozillian <https://people.mozilla.org/p/Mte90>
Ex Mozilla Reps/TechSpeakers, (Ex) WordPress Core Contributor <https://profiles.wordpress.org/mte90>,
LibreItalia member <http://www.libreitalia.it/>, Wikimedia Italia member <https://www.wikimedia.it/> and ILS Rieti founder <https://rieti.ils.org/>.
--------------29DRSq02G4b0xaJyxh0PN1gM
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hi Everyone,</p>
<p>I am on Debian Sid, and I am not very skilled with C++ but I am
trying to do a plugin to integrate Ollama inside Kate.</p>
<p>There is <a class="moz-txt-link-freetext" href="https://github.com/arturbac/kdevcxx_with_ai">https://github.com/arturbac/kdevcxx_with_ai</a> but is only
for OpenAI and I have issues on compiling (already reported) and
the dev are not very responsive.</p>
<p>Following <a class="moz-txt-link-freetext" href="https://develop.kde.org/docs/apps/kate/plugin/">https://develop.kde.org/docs/apps/kate/plugin/</a> I was
able to do <a class="moz-txt-link-freetext" href="https://github.com/Mte90/kate-ollama">https://github.com/Mte90/kate-ollama</a></p>
<p>The problem is that on installing the plugin path is "<span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">-- Installing:
/usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/kate-ollama.so</span><span
style="color:#000000;background-color:#ffffff;"></span></span>"
but Kate doesn't load it.</p>
<p>The plugin of course is not complete as I want to do some testing
and probably improve the UX but if I am not able to try it...</p>
<p>What I am missing?</p>
<div class="moz-signature">-- <br>
<br>
<small>Daniele Scasciafratte - OpenSource MultiVersal Guy<br>
<a href="https://daniele.tech">daniele.tech</a> - <a
href="https://twitter.com/Mte90net">@Mte90Net</a> - <a
href="https://github.com/Mte90">GitHub</a> - <a
href="http://www.ils.org/">Italian Linux Society council
member</a> - <a href="https://people.mozilla.org/p/Mte90">Mozillian</a><br>
Ex Mozilla Reps/TechSpeakers, <a
href="https://profiles.wordpress.org/mte90">(Ex) WordPress
Core Contributor</a>, <br>
<a href="http://www.libreitalia.it/">LibreItalia member</a>, <a
href="https://www.wikimedia.it/">Wikimedia Italia member</a>
and <a href="https://rieti.ils.org/">ILS Rieti founder</a>.</small><br>
</div>
</body>
<lt-container></lt-container>
</html>
--------------29DRSq02G4b0xaJyxh0PN1gM--