Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kghandour/Ollama-SwiftUI
User Interface made for Ollama.ai using Swift
https://github.com/kghandour/Ollama-SwiftUI
ollama ollama-app swift swiftui
Last synced: about 1 month ago
JSON representation
User Interface made for Ollama.ai using Swift
- Host: GitHub
- URL: https://github.com/kghandour/Ollama-SwiftUI
- Owner: kghandour
- License: mit
- Created: 2023-10-07T20:12:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T09:21:54.000Z (4 months ago)
- Last Synced: 2024-10-11T18:43:33.729Z (2 months ago)
- Topics: ollama, ollama-app, swift, swiftui
- Language: Swift
- Homepage:
- Size: 4.73 MB
- Stars: 252
- Watchers: 8
- Forks: 26
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- Awesome-Ollama - Ollama-SwiftUI
- StarryDivineSky - kghandour/Ollama-SwiftUI - SwiftUI 是一个用 Swift 语言开发的 Ollama.ai 用户界面,它允许你与下载到 Mac 上的大型语言模型进行无缝聊天。该应用程序需要 Ollama 运行才能正常工作,并提供多种功能,包括与本地大型语言模型聊天、更改模型、重新开始对话、支持系统提示、支持多模态模型(图像+文本)、新的对话选项卡、使用 GUI 下载模型、删除模型、复制模型、亮暗模式和本地化界面(目前支持英语和阿拉伯语)。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
README
# Ollama-SwiftUI
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
A user-friendly interface for https://ollama.ai created in Swift. This application is not directly affiliated with Ollama.ai**This app requires Ollama to be installed and online to function.** Install Ollama: https://ollama.ai
## Table of Content
1. [Introduction](#introduction)
2. [Changelog](CHANGELOG.md)
3. [Features](#features)
4. [Getting Started](#getting-started)
5. [Frequently Asked Questions](#frequently-asked-questions)
6. [Dark Mode showcase](#dark-mode-also-available)
7. [Feedback and Contributions](#feedback-and-contributions)
8. [Contribution Hall of Fame](#contributors-hall-of-fame)## Introduction
A user-friendly interface for [Ollama AI](https://ollama.ai) created in Swift. This application is not directly affiliated with Ollama.ai. It allows you to chat seamlessly with Large Language models downloaded to your mac.**This app requires Ollama to be installed and online to function.** Install Ollama: https://ollama.ai
![Chat dialogue example](assets/images/LightMode1.png)## Features
1. Chatting with local Large Language Models.
2. Ability to change model mid conversation.
3. Restart Conversation at anytime.
4. **[NEW]** Now supports sending system prompt
5. **[NEW]** Now supports multimodal models with image + text.
6. New Tabs for different conversations.
7. Ability to download models using the GUI (Check https://ollama.ai/library for list of model names to download)
8. Ability to delete models
9. Ability to duplicate models
10. Light and Dark Mode
11. Localizable interface. Currently Localized in: English and Arabic![SystemPrompt](assets/images/SystemPrompt.png)
![ImagePromptInput](assets/images/ImagePrompt1.png)
![ImagePromptChat](assets/images/ImagePrompt2.png)
![Manage Models example](assets/images/LightMode2.png)## Getting Started:
1. Install Ollama ( https://ollama.ai )
2. Open Ollama
3. Run Ollama Swift (Note: If opening Ollama Swift starts the settings page, open a new window using Command + N)
4. Download your first model by going into Manage Models
- Check possible models to download on: https://ollama.ai/models
- Copy and paste the name and press on the download button
5. Select the model from the dropdown in the main page to start your conversation
6. Write your prompt and start the conversation!## Frequently Asked Questions:
### 1. I am getting a Server is unreachable error
- You need to download and install https://Ollama.ai and it must be running in the background for this interface to work.### 2. How to change the target IP and port?
- You can modify the IP address and port in the settings. Ollama SwiftUI > Preferences### 3. I am getting "Cannot Be Opened Because the Developer Cannot be Verified" error when trying to open the app
- To fix this go to your macos `System Settings > Privacy and Security > Allow Applications downloaded from > App Store and Identified Developer` and you will find a button saying `Open Anyway`
- This is completely normal. Open source applications are often not submitted to Apple for code review. You can read more about it [here](https://support.apple.com/en-gb/guide/mac-help/mh40616/mac). This does not mean that the application is not safe. In fact, this is the beauty of open source. You can verify it yourself.### 4. I would like a new feature X
- Feel free to create a suggestion by creating a new issue in the repo, or emailing me [email protected]
- This is a passion project so it will not be perfect and since I am doing it on my own time, I will try my best to get to it as soon as possible.### 5. I found bug X
- Feel free to create a bug report by creating a new issue in the repo, or emailing me [email protected]
- This is a passion project so it will not be perfect and since I am doing it on my own time, I will try my best to get to it as soon as possible.### 6. I would like to contribute to the project
- Please do so! It is amazing when contributing to open-source projects. Create a pull-request and I will try to review it as soon as possible.### 7. Are there any system requirements?
- This is a very simple light-weight user interface. As long as you can run https://ollama.ai locally, then this application should work as well.### 8. What keyboard shortcuts are supported?
- command + return : Send a message
- command + "r" : Refresh connection to server
- command + "n" : Start a new window
- command + "t" : Open a new tab
- command + "," : Open settings## Dark Mode also available!
![Chat dialogue example darkmode](assets/images/DarkMode1.png)
![Chat dialogue example darkmode](assets/images/DarkMode2.png)## Feedback and Contributions:
For bugs and feedback, please create a new issue or email [email protected]
Feel free to contribute by creating a Pull request and the best effort will be done to review and merge.## Contributors Hall of Fame:
@HiRoS-neko
@Tooflex
@chryoung