forked from open-webui/open-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
7,276 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:svelte/recommended', | ||
'prettier' | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
extraFileExtensions: ['.svelte'] | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.svelte'], | ||
parser: 'svelte-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser' | ||
} | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"pluginSearchDirs": ["."], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
FROM node:latest | ||
|
||
WORKDIR /app | ||
ENV ENV prod | ||
|
||
COPY package.json package-lock.json ./ | ||
RUN npm ci | ||
|
||
|
||
COPY . . | ||
RUN npm run build | ||
|
||
CMD [ "node", "./build/index.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Ollama Web UI 👋 | ||
|
||
ChatGPT-Style Web Interface for Ollama 🦙 | ||
|
||
![Ollama Web UI Demo](./demo.gif) | ||
|
||
## Features ⭐ | ||
|
||
- 🖥️ **Intuitive Interface**: Our chat interface takes inspiration from ChatGPT, ensuring a user-friendly experience. | ||
- 📱 **Responsive Design**: Enjoy a seamless experience on both desktop and mobile devices. | ||
- ⚡ **Swift Responsiveness**: Enjoy fast and responsive performance. | ||
- 🚀 **Effortless Setup**: Install seamlessly using Docker for a hassle-free experience. | ||
- 🤖 **Multiple Model Support**: Seamlessly switch between different chat models for diverse interactions. | ||
- 🌟 **Continuous Updates**: We are committed to improving Ollama Web UI with regular updates and new features. | ||
|
||
## How to Install 🚀 | ||
|
||
### Using Docker 🐳 | ||
|
||
```bash | ||
docker build -t ollama-webui . | ||
docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui | ||
``` | ||
|
||
Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄 | ||
|
||
## What's Next? 🚀 | ||
|
||
### To-Do List 📝 | ||
|
||
Here are some exciting tasks on our to-do list: | ||
|
||
- 📜 **Chat History**: Effortlessly access and manage your conversation history. | ||
- 📤📥 **Import/Export Chat History**: Seamlessly move your chat data in and out of the platform. | ||
- 🎨 **Customization**: Tailor your chat environment with personalized themes and styles. | ||
- 📥🗑️ **Download/Delete Models**: Easily acquire or remove models directly from the web UI. | ||
- ⚙️ **Advanced Parameters Support**: Harness the power of advanced settings for fine-tuned control. | ||
- 📚 **Enhanced Documentation**: Elevate your setup and customization experience with improved, comprehensive documentation. | ||
- 🌟 **User Interface Enhancement**: Elevate the user interface to deliver a smoother, more enjoyable interaction. | ||
- 📲🖥️ **Cross-Device Responsiveness**: Seamlessly transition between desktop and mobile for a consistent experience. | ||
- 🚀 **Integration with Messaging Platforms**: Explore possibilities for integrating with popular messaging platforms like Slack and Discord. | ||
- 🧐 **User Testing and Feedback Gathering**: Conduct thorough user testing to gather insights and refine our offerings based on valuable user feedback. | ||
|
||
Feel free to contribute and help us make Ollama Web UI even better! 🙌 | ||
|
||
## Contributors ✨ | ||
|
||
A big shoutout to our amazing contributors who have helped make this project possible! 🙏 | ||
|
||
- [Jeffrey Morgan (Creator of Ollama)](https://github.com/jmorganca) | ||
- [Timothy J. Baek](https://github.com/tjbck) | ||
|
||
## License 📜 | ||
|
||
This project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LICENSE) file for details. 📄 | ||
|
||
## Support 💬 | ||
|
||
If you have any questions, suggestions, or need assistance, please open an issue or join our [Discord community](https://discord.gg/ollama) to connect with us! 🤝 | ||
|
||
--- | ||
|
||
Let's make Ollama Web UI even more amazing together! 💪 |
Oops, something went wrong.