Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tim-butterfield/ollama-chat-tauri
Local GUI for Ollama AI/LLM using React.js + Tauri/Rust
https://github.com/tim-butterfield/ollama-chat-tauri
ai chat llm ollama react rust sqlite tailwind tauri
Last synced: 12 days ago
JSON representation
Local GUI for Ollama AI/LLM using React.js + Tauri/Rust
- Host: GitHub
- URL: https://github.com/tim-butterfield/ollama-chat-tauri
- Owner: Tim-Butterfield
- License: mit
- Created: 2025-01-20T22:08:04.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2025-01-21T14:21:34.000Z (12 days ago)
- Last Synced: 2025-01-21T15:27:10.975Z (12 days ago)
- Topics: ai, chat, llm, ollama, react, rust, sqlite, tailwind, tauri
- Language: Rust
- Homepage:
- Size: 2.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OllamaChat
A fully offline, cross-platform chat application using **React.js**, **Tauri**, **Rust**, and **SQLite** for the desktop app.
The app integrates with a locally running Ollama API to retrieve models and generate responses.Caveat:
The current feature set is rudimentary and only lightly tested. Expect missing features and some defects.
## Ollama
Download Ollama here: https://ollama.com/
Load an Ollama model like this:
```bash
ollama run llama3.2:1b
```Make sure Ollama API is running
```bash
ollama serve
```The rust code is currently hard-coded for port 11434.
## Installation
```bash
git clone https://github.com/Tim-Butterfield/ollama-chat-tauri.git
cd ollama-chat-tauri
cd src/apps/desktop
npm install
npm run tauri
```## Screenshots
![GUI example](assets/gui_example.png)
The use of the ReactMarkdown component along with the Tailwind CSS typography prose style prettifies the output.
![Model selection](assets/models_selection.png)
The model selection drop-down allows choosing from the currently loaded models.
![New session](assets/new_session.png)
Click the "+" button to start a new chat session.
![Context menu](assets/context_menu.png)
The context menu allows for editing a session title or deleting a chat session you no longer need.