Skip to content

Commit 2380e99

Browse files
Clean up and add screenshots
1 parent 167929e commit 2380e99

File tree

6 files changed

+11
-219
lines changed

6 files changed

+11
-219
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A HTML UI for Ollama.
88

99
## Goals
1010

11-
- Zero dependencies
11+
- Zero dependencies: Vanilla HTML, CSS, and Javascript
1212
- Simple installation: download and open in browser
1313

1414
## Features
@@ -19,6 +19,11 @@ A HTML UI for Ollama.
1919
- Clear chats
2020
- Persistence of chat history using local storage
2121

22+
## Screenshots
23+
24+
![Main screen](/screenshots/main.png)
25+
![Settings screen](/screenshots/settings.png)
26+
2227
## Installing
2328

2429
First, install and start [Olama](https://ollama.ai/).
@@ -44,7 +49,9 @@ $ open index.html
4449
## Development
4550

4651
```bash
47-
$ yarn add --dev parcel
52+
$ yarn global add parcel-bundler
53+
# Alternatively, use npm:
54+
# npm install -g parcel-bundler
4855
$ parcel index.html
4956
$ open http://locahost:1234
5057
```

SettingsDialog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export class SettingsDialog {
4141

4242
loadSettings() {
4343
const url = this.storage.get('url', 'http://localhost:11434');
44+
const model = this.storage.get('model', 'mistral');
4445
this.urlInput.value = url;
46+
this.modelInput.value = model;
4547
this.models.load().then(() => {
4648
console.log(this.models.getAllModelNames()); // This will log the model names once they are loaded
4749
const modelList = new List('input-ollama-models', this.models.getAllModelNames())

package-lock.json

Lines changed: 0 additions & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,5 @@
33
"cssnano": "^6.0.1",
44
"postcss": "^8.4.32",
55
"sass": "^1.69.5"
6-
},
7-
"dependencies": {
8-
"grid": "^4.10.8",
9-
"grid.css": "^0.6.1",
10-
"reset": "^0.1.0",
11-
"reset.css": "^2.0.2",
12-
"style": "^0.0.3",
13-
"style.css": "^1.0.3",
14-
"typography": "^0.16.24",
15-
"typography.css": "^0.1.0"
166
}
177
}

screenshots/main.png

97 KB
Loading

screenshots/settings.png

124 KB
Loading

0 commit comments

Comments
 (0)