Skip to content

Commit 5e03670

Browse files
committed
chat feature added
1 parent 5cd4946 commit 5e03670

34 files changed

+7276
-0
lines changed

.eslintignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.eslintrc.cjs

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
root: true,
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:svelte/recommended',
7+
'prettier'
8+
],
9+
parser: '@typescript-eslint/parser',
10+
plugins: ['@typescript-eslint'],
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020,
14+
extraFileExtensions: ['.svelte']
15+
},
16+
env: {
17+
browser: true,
18+
es2017: true,
19+
node: true
20+
},
21+
overrides: [
22+
{
23+
files: ['*.svelte'],
24+
parser: 'svelte-eslint-parser',
25+
parserOptions: {
26+
parser: '@typescript-eslint/parser'
27+
}
28+
}
29+
]
30+
};

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
vite.config.js.timestamp-*
10+
vite.config.ts.timestamp-*

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.prettierrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte"],
7+
"pluginSearchDirs": ["."],
8+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
9+
}

Dockerfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# syntax=docker/dockerfile:1
2+
3+
FROM node:latest
4+
5+
WORKDIR /app
6+
ENV ENV prod
7+
8+
COPY package.json package-lock.json ./
9+
RUN npm ci
10+
11+
12+
COPY . .
13+
RUN npm run build
14+
15+
CMD [ "node", "./build/index.js"]

README.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Ollama Web UI 👋
2+
3+
ChatGPT-Style Web Interface for Ollama 🦙
4+
5+
![Ollama Web UI Demo](./demo.gif)
6+
7+
## Features ⭐
8+
9+
- 🖥️ **Intuitive Interface**: Our chat interface takes inspiration from ChatGPT, ensuring a user-friendly experience.
10+
- 📱 **Responsive Design**: Enjoy a seamless experience on both desktop and mobile devices.
11+
-**Swift Responsiveness**: Enjoy fast and responsive performance.
12+
- 🚀 **Effortless Setup**: Install seamlessly using Docker for a hassle-free experience.
13+
- 🤖 **Multiple Model Support**: Seamlessly switch between different chat models for diverse interactions.
14+
- 🌟 **Continuous Updates**: We are committed to improving Ollama Web UI with regular updates and new features.
15+
16+
## How to Install 🚀
17+
18+
### Using Docker 🐳
19+
20+
```bash
21+
docker build -t ollama-webui .
22+
docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui
23+
```
24+
25+
Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄
26+
27+
## What's Next? 🚀
28+
29+
### To-Do List 📝
30+
31+
Here are some exciting tasks on our to-do list:
32+
33+
- 📜 **Chat History**: Effortlessly access and manage your conversation history.
34+
- 📤📥 **Import/Export Chat History**: Seamlessly move your chat data in and out of the platform.
35+
- 🎨 **Customization**: Tailor your chat environment with personalized themes and styles.
36+
- 📥🗑️ **Download/Delete Models**: Easily acquire or remove models directly from the web UI.
37+
- ⚙️ **Advanced Parameters Support**: Harness the power of advanced settings for fine-tuned control.
38+
- 📚 **Enhanced Documentation**: Elevate your setup and customization experience with improved, comprehensive documentation.
39+
- 🌟 **User Interface Enhancement**: Elevate the user interface to deliver a smoother, more enjoyable interaction.
40+
- 📲🖥️ **Cross-Device Responsiveness**: Seamlessly transition between desktop and mobile for a consistent experience.
41+
- 🚀 **Integration with Messaging Platforms**: Explore possibilities for integrating with popular messaging platforms like Slack and Discord.
42+
- 🧐 **User Testing and Feedback Gathering**: Conduct thorough user testing to gather insights and refine our offerings based on valuable user feedback.
43+
44+
Feel free to contribute and help us make Ollama Web UI even better! 🙌
45+
46+
## Contributors ✨
47+
48+
A big shoutout to our amazing contributors who have helped make this project possible! 🙏
49+
50+
- [Jeffrey Morgan (Creator of Ollama)](https://github.com/jmorganca)
51+
- [Timothy J. Baek](https://github.com/tjbck)
52+
53+
## License 📜
54+
55+
This project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LICENSE) file for details. 📄
56+
57+
## Support 💬
58+
59+
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! 🤝
60+
61+
---
62+
63+
Let's make Ollama Web UI even more amazing together! 💪

demo.gif

861 KB
Loading

0 commit comments

Comments
 (0)