forked from open-webui/open-webui
feat: rename to open-webui
This commit is contained in:
parent
f4000f4b68
commit
acf5c938ef
10 changed files with 37 additions and 32 deletions
21
README.md
21
README.md
|
@ -1,4 +1,4 @@
|
||||||
# Ollama Web UI: A User-Friendly Web Interface for Chat Interactions 👋
|
# Open Web UI (Formerly Ollama WebUI) 👋
|
||||||
|
|
||||||
![GitHub stars](https://img.shields.io/github/stars/ollama-webui/ollama-webui?style=social)
|
![GitHub stars](https://img.shields.io/github/stars/ollama-webui/ollama-webui?style=social)
|
||||||
![GitHub forks](https://img.shields.io/github/forks/ollama-webui/ollama-webui?style=social)
|
![GitHub forks](https://img.shields.io/github/forks/ollama-webui/ollama-webui?style=social)
|
||||||
|
@ -13,11 +13,9 @@
|
||||||
|
|
||||||
ChatGPT-Style Web Interface for Ollama 🦙
|
ChatGPT-Style Web Interface for Ollama 🦙
|
||||||
|
|
||||||
**Disclaimer:** _ollama-webui is a community-driven project and is not affiliated with the Ollama team in any way. This initiative is independent, and any inquiries or feedback should be directed to [our community on Discord](https://discord.gg/5rJgQTnV4s). We kindly request users to refrain from contacting or harassing the Ollama team regarding this project._
|
![Open Web UI Demo](./demo.gif)
|
||||||
|
|
||||||
![Ollama Web UI Demo](./demo.gif)
|
Also check our sibling project, [Open WebUI Community](https://openwebui.com/), where you can discover, download, and explore customized Modelfiles for Ollama! 🦙🔍
|
||||||
|
|
||||||
Also check our sibling project, [OllamaHub](https://ollamahub.com/), where you can discover, download, and explore customized Modelfiles for Ollama! 🦙🔍
|
|
||||||
|
|
||||||
## Features ⭐
|
## Features ⭐
|
||||||
|
|
||||||
|
@ -37,7 +35,7 @@ Also check our sibling project, [OllamaHub](https://ollamahub.com/), where you c
|
||||||
|
|
||||||
- 🌐 **Web Browsing Capability**: Seamlessly integrate websites into your chat experience using the `#` command followed by the URL. This feature allows you to incorporate web content directly into your conversations, enhancing the richness and depth of your interactions.
|
- 🌐 **Web Browsing Capability**: Seamlessly integrate websites into your chat experience using the `#` command followed by the URL. This feature allows you to incorporate web content directly into your conversations, enhancing the richness and depth of your interactions.
|
||||||
|
|
||||||
- 📜 **Prompt Preset Support**: Instantly access preset prompts using the `/` command in the chat input. Load predefined conversation starters effortlessly and expedite your interactions. Effortlessly import prompts through [OllamaHub](https://ollamahub.com/) integration.
|
- 📜 **Prompt Preset Support**: Instantly access preset prompts using the `/` command in the chat input. Load predefined conversation starters effortlessly and expedite your interactions. Effortlessly import prompts through [Open WebUI Community](https://openwebui.com/) integration.
|
||||||
|
|
||||||
- 👍👎 **RLHF Annotation**: Empower your messages by rating them with thumbs up and thumbs down, facilitating the creation of datasets for Reinforcement Learning from Human Feedback (RLHF). Utilize your messages to train or fine-tune models, all while ensuring the confidentiality of locally saved data.
|
- 👍👎 **RLHF Annotation**: Empower your messages by rating them with thumbs up and thumbs down, facilitating the creation of datasets for Reinforcement Learning from Human Feedback (RLHF). Utilize your messages to train or fine-tune models, all while ensuring the confidentiality of locally saved data.
|
||||||
|
|
||||||
|
@ -51,7 +49,7 @@ Also check our sibling project, [OllamaHub](https://ollamahub.com/), where you c
|
||||||
|
|
||||||
- 🔄 **Multi-Modal Support**: Seamlessly engage with models that support multimodal interactions, including images (e.g., LLava).
|
- 🔄 **Multi-Modal Support**: Seamlessly engage with models that support multimodal interactions, including images (e.g., LLava).
|
||||||
|
|
||||||
- 🧩 **Modelfile Builder**: Easily create Ollama modelfiles via the web UI. Create and add characters/agents, customize chat elements, and import modelfiles effortlessly through [OllamaHub](https://ollamahub.com/) integration.
|
- 🧩 **Modelfile Builder**: Easily create Ollama modelfiles via the web UI. Create and add characters/agents, customize chat elements, and import modelfiles effortlessly through [Open WebUI Community](https://openwebui.com/) integration.
|
||||||
|
|
||||||
- ⚙️ **Many Models Conversations**: Effortlessly engage with various models simultaneously, harnessing their unique strengths for optimal responses. Enhance your experience by leveraging a diverse set of models in parallel.
|
- ⚙️ **Many Models Conversations**: Effortlessly engage with various models simultaneously, harnessing their unique strengths for optimal responses. Enhance your experience by leveraging a diverse set of models in parallel.
|
||||||
|
|
||||||
|
@ -77,9 +75,9 @@ Also check our sibling project, [OllamaHub](https://ollamahub.com/), where you c
|
||||||
|
|
||||||
- 🌟 **Continuous Updates**: We are committed to improving Ollama Web UI with regular updates and new features.
|
- 🌟 **Continuous Updates**: We are committed to improving Ollama Web UI with regular updates and new features.
|
||||||
|
|
||||||
## 🔗 Also Check Out OllamaHub!
|
## 🔗 Also Check Out Open WebUI Community!
|
||||||
|
|
||||||
Don't forget to explore our sibling project, [OllamaHub](https://ollamahub.com/), where you can discover, download, and explore customized Modelfiles. OllamaHub offers a wide range of exciting possibilities for enhancing your chat interactions with Ollama! 🚀
|
Don't forget to explore our sibling project, [Open WebUI Community](https://openwebui.com/), where you can discover, download, and explore customized Modelfiles. Open WebUI Community offers a wide range of exciting possibilities for enhancing your chat interactions with Ollama! 🚀
|
||||||
|
|
||||||
## How to Install 🚀
|
## How to Install 🚀
|
||||||
|
|
||||||
|
@ -308,9 +306,8 @@ This project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LI
|
||||||
## Support 💬
|
## Support 💬
|
||||||
|
|
||||||
If you have any questions, suggestions, or need assistance, please open an issue or join our
|
If you have any questions, suggestions, or need assistance, please open an issue or join our
|
||||||
[Ollama Web UI Discord community](https://discord.gg/5rJgQTnV4s) or
|
[Open WebUI Discord community](https://discord.gg/5rJgQTnV4s) to connect with us! 🤝
|
||||||
[Ollama Discord community](https://discord.gg/ollama) to connect with us! 🤝
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Created by [Timothy J. Baek](https://github.com/tjbck) - Let's make Ollama Web UI even more amazing together! 💪
|
Created by [Timothy J. Baek](https://github.com/tjbck) - Let's make Open Web UI even more amazing together! 💪
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
</div>
|
</div>
|
||||||
{#if modelfile.user}
|
{#if modelfile.user}
|
||||||
<div class="mt-0.5 text-sm font-normal text-gray-500 dark:text-gray-500">
|
<div class="mt-0.5 text-sm font-normal text-gray-500 dark:text-gray-500">
|
||||||
By <a href="https://ollamahub.com/m/{modelfile.user.username}"
|
By <a href="https://openwebui.com/m/{modelfile.user.username}"
|
||||||
>{modelfile.user.name ? modelfile.user.name : `@${modelfile.user.username}`}</a
|
>{modelfile.user.name ? modelfile.user.name : `@${modelfile.user.username}`}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
show = false;
|
show = false;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Share to OllamaHub
|
Share to OpenWebUI Community
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="flex justify-center space-x-1 mt-1.5">
|
<div class="flex justify-center space-x-1 mt-1.5">
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
const chat = (await getChatById(localStorage.token, $chatId)).chat;
|
const chat = (await getChatById(localStorage.token, $chatId)).chat;
|
||||||
console.log('share', chat);
|
console.log('share', chat);
|
||||||
|
|
||||||
toast.success('Redirecting you to OllamaHub');
|
toast.success('Redirecting you to OpenWebUI Community');
|
||||||
const url = 'https://ollamahub.com';
|
const url = 'https://openwebui.com';
|
||||||
// const url = 'http://localhost:5173';
|
// const url = 'http://localhost:5173';
|
||||||
|
|
||||||
const tab = await window.open(`${url}/chats/upload`, '_blank');
|
const tab = await window.open(`${url}/chats/upload`, '_blank');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { dev } from '$app/environment';
|
import { dev } from '$app/environment';
|
||||||
|
|
||||||
export const WEBUI_NAME = 'Ollama Web UI';
|
export const WEBUI_NAME = 'Open Web UI';
|
||||||
export const WEBUI_BASE_URL = dev ? `http://${location.hostname}:8080` : ``;
|
export const WEBUI_BASE_URL = dev ? `http://${location.hostname}:8080` : ``;
|
||||||
|
|
||||||
export const WEBUI_API_BASE_URL = `${WEBUI_BASE_URL}/api/v1`;
|
export const WEBUI_API_BASE_URL = `${WEBUI_BASE_URL}/api/v1`;
|
||||||
|
|
|
@ -35,9 +35,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
const shareModelfile = async (modelfile) => {
|
const shareModelfile = async (modelfile) => {
|
||||||
toast.success('Redirecting you to OllamaHub');
|
toast.success('Redirecting you to OpenWebUI Community');
|
||||||
|
|
||||||
const url = 'https://ollamahub.com';
|
const url = 'https://openwebui.com';
|
||||||
|
|
||||||
const tab = await window.open(`${url}/modelfiles/create`, '_blank');
|
const tab = await window.open(`${url}/modelfiles/create`, '_blank');
|
||||||
window.addEventListener(
|
window.addEventListener(
|
||||||
|
@ -348,11 +348,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" my-16">
|
<div class=" my-16">
|
||||||
<div class=" text-2xl font-semibold mb-6">Made by OllamaHub Community</div>
|
<div class=" text-2xl font-semibold mb-6">Made by OpenWebUI Community</div>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class=" flex space-x-4 cursor-pointer w-full mb-3"
|
class=" flex space-x-4 cursor-pointer w-full mb-3"
|
||||||
href="https://ollamahub.com/"
|
href="https://openwebui.com/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<div class=" self-center w-10">
|
<div class=" self-center w-10">
|
||||||
|
|
|
@ -212,9 +212,13 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
window.addEventListener('message', async (event) => {
|
window.addEventListener('message', async (event) => {
|
||||||
if (
|
if (
|
||||||
!['https://ollamahub.com', 'https://www.ollamahub.com', 'http://localhost:5173'].includes(
|
![
|
||||||
event.origin
|
'https://ollamahub.com',
|
||||||
)
|
'https://www.ollamahub.com',
|
||||||
|
'https://openwebui.com',
|
||||||
|
'https://www.openwebui.com',
|
||||||
|
'http://localhost:5173'
|
||||||
|
].includes(event.origin)
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
const modelfile = JSON.parse(event.data);
|
const modelfile = JSON.parse(event.data);
|
||||||
|
@ -474,7 +478,7 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
|
||||||
or
|
or
|
||||||
<a
|
<a
|
||||||
class=" text-gray-500 dark:text-gray-300 font-medium"
|
class=" text-gray-500 dark:text-gray-300 font-medium"
|
||||||
href="https://ollamahub.com"
|
href="https://openwebui.com"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Click here to check other modelfiles.
|
Click here to check other modelfiles.
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
let query = '';
|
let query = '';
|
||||||
|
|
||||||
const sharePrompt = async (prompt) => {
|
const sharePrompt = async (prompt) => {
|
||||||
toast.success('Redirecting you to OllamaHub');
|
toast.success('Redirecting you to OpenWebUI Community');
|
||||||
|
|
||||||
const url = 'https://ollamahub.com';
|
const url = 'https://openwebui.com';
|
||||||
|
|
||||||
const tab = await window.open(`${url}/prompts/create`, '_blank');
|
const tab = await window.open(`${url}/prompts/create`, '_blank');
|
||||||
window.addEventListener(
|
window.addEventListener(
|
||||||
|
@ -272,11 +272,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" my-16">
|
<div class=" my-16">
|
||||||
<div class=" text-2xl font-semibold mb-6">Made by OllamaHub Community</div>
|
<div class=" text-2xl font-semibold mb-6">Made by OpenWebUI Community</div>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class=" flex space-x-4 cursor-pointer w-full mb-3"
|
class=" flex space-x-4 cursor-pointer w-full mb-3"
|
||||||
href="https://ollamahub.com/?type=prompts"
|
href="https://openwebui.com/?type=prompts"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<div class=" self-center w-10">
|
<div class=" self-center w-10">
|
||||||
|
|
|
@ -53,9 +53,13 @@
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
window.addEventListener('message', async (event) => {
|
window.addEventListener('message', async (event) => {
|
||||||
if (
|
if (
|
||||||
!['https://ollamahub.com', 'https://www.ollamahub.com', 'http://localhost:5173'].includes(
|
![
|
||||||
event.origin
|
'https://ollamahub.com',
|
||||||
)
|
'https://www.ollamahub.com',
|
||||||
|
'https://openwebui.com',
|
||||||
|
'https://www.openwebui.com',
|
||||||
|
'http://localhost:5173'
|
||||||
|
].includes(event.origin)
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
const prompt = JSON.parse(event.data);
|
const prompt = JSON.parse(event.data);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 6 KiB |
Loading…
Reference in a new issue