Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosmic-utils/cosmic-ext-applet-ollama
Ollama applet for COSMIC Desktop
https://github.com/cosmic-utils/cosmic-ext-applet-ollama
Last synced: 3 days ago
JSON representation
Ollama applet for COSMIC Desktop
- Host: GitHub
- URL: https://github.com/cosmic-utils/cosmic-ext-applet-ollama
- Owner: cosmic-utils
- License: gpl-3.0
- Created: 2024-05-19T20:16:49.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T09:33:02.000Z (24 days ago)
- Last Synced: 2024-09-05T15:52:18.141Z (22 days ago)
- Language: Rust
- Homepage:
- Size: 655 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ollama applet for COSMIC Desktop
Before using this applet, you must have Ollama installed on your system. To do this, run this in your terminal:
```sh
curl -fsSL https://ollama.com/install.sh | sh
```Source: [Ollama Github](https://github.com/ollama/ollama?tab=readme-ov-file#linux)
After installing Ollama. Pull some models, you would like to use with chat, for example
```sh
ollama pull llama3
```More models you can find in library: https://ollama.com/library
# Installing this applet
Clone the repository, and use [just](https://github.com/casey/just)
If you don't have `just` installed, it is available in PopOS repository, so you can install it with `apt`
```sh
sudo apt install just
```Now you can clone repo and install applet.
```sh
git clone https://github.com/elevenhsoft/cosmic-ext-applet-ollama.git
cd cosmic-ext-applet-ollama
```### Building
Run just:
```sh
just
```### Installing
```sh
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:```sh
just build-no-wgpu
sudo just install
```