MCPcopy Index your code
hub / github.com/cosmic-utils/cosmic-ext-applet-ollama

github.com/cosmic-utils/cosmic-ext-applet-ollama @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
66 symbols 108 edges 8 files 2 documented · 3% updated 3mo ago★ 588 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ollama applet for COSMIC Desktop

<img alt="chat" src="https://github.com/cosmic-utils/cosmic-ext-applet-ollama/blob/main/screenshots/chat.png" width="280">
<img alt="settings" src="https://github.com/cosmic-utils/cosmic-ext-applet-ollama/blob/main/screenshots/settings.png" width="280">

Before using this applet, you must have Ollama installed on your system. To do this, run this in your terminal:

curl -fsSL https://ollama.com/install.sh | sh

Source: Ollama Github

After installing Ollama. Pull some models, you would like to use with chat, for example

ollama pull mistral

More models you can find in library: Ollama/Library

Installing this applet

Clone the repository, and use just

If you don't have just installed, it is available in PopOS repository, so you can install it with apt

sudo apt install just

or for Fedora

sudo dnf install just

Now you can clone repo and install applet.

git clone https://github.com/cosmic-utils/cosmic-ext-applet-ollama.git
cd cosmic-ext-applet-ollama

Building

Run just:

just build-release

Installing

sudo just install

Done

From now, you will be able to add applet to your desktop panel/dock and chat with different models in real time :)

Cheers!

Known wgpu issue

There are currently some rendering issues with the wgpu libcosmic features in some (older?) gpus. This doesn't affect Ollama, only the applet. If you are affected by this, you can build and install it with this feature disabled:

just build-no-wgpu
sudo just install

Core symbols most depended-on inside this repo

push
called by 41
src/chat.rs
save
called by 5
src/lib.rs
installed_models
called by 3
src/models.rs
bot_bubble
called by 2
src/window.rs
client_request
called by 2
src/stream.rs
read_conversation_files
called by 2
src/chat.rs
localizer
called by 1
src/localize.rs
localize
called by 1
src/localize.rs

Shape

Method 29
Class 18
Function 11
Enum 8

Languages

Rust100%

Modules by API surface

src/window.rs19 symbols
src/api.rs14 symbols
src/lib.rs11 symbols
src/chat.rs11 symbols
src/stream.rs6 symbols
src/localize.rs3 symbols
src/models.rs1 symbols
src/main.rs1 symbols

For agents

$ claude mcp add cosmic-ext-applet-ollama \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page