Awesome
Ollama-SwiftUI
<p align="center"> <img src="assets/images/OllamaSwift.svg" width="128"> </p> A user-friendly interface for https://ollama.ai created in Swift. This application is not directly affiliated with Ollama.aiThis app requires Ollama to be installed and online to function. Install Ollama: https://ollama.ai
Table of Content
- Introduction
- Changelog
- Features
- Getting Started
- Frequently Asked Questions
- Dark Mode showcase
- Feedback and Contributions
- Contribution Hall of Fame
Introduction
A user-friendly interface for 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
Features
- Chatting with local Large Language Models.
- Ability to change model mid conversation.
- Restart Conversation at anytime.
- [NEW] Now supports sending system prompt
- [NEW] Now supports multimodal models with image + text.
- New Tabs for different conversations.
- Ability to download models using the GUI (Check https://ollama.ai/library for list of model names to download)
- Ability to delete models
- Ability to duplicate models
- Light and Dark Mode
- Localizable interface. Currently Localized in: English and Arabic
Getting Started:
- Install Ollama ( https://ollama.ai )
- Open Ollama
- Run Ollama Swift (Note: If opening Ollama Swift starts the settings page, open a new window using Command + N)
- 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
- Select the model from the dropdown in the main page to start your conversation
- 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 sayingOpen Anyway
- This is completely normal. Open source applications are often not submitted to Apple for code review. You can read more about it here. 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 feedback@kghandour.com
- 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 bugs@kghandour.com
- 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!
Feedback and Contributions:
For bugs and feedback, please create a new issue or email bugs@kghandour.com 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