Skip to content

Commit

Permalink
Merge pull request #58 from christianhellsten/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
christianhellsten authored May 8, 2024
2 parents 699d7f5 + 4196a0f commit 110cfd0
Show file tree
Hide file tree
Showing 7 changed files with 1,742 additions and 1,786 deletions.
117 changes: 69 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ To run the Ollama UI using [Caddy](https://caddyserver.com/), execute the follow

```bash
$ git clone git@github.com:christianhellsten/ollama-html-ui.git
$ brew install caddy
$ caddy run
```

Expand All @@ -88,18 +89,27 @@ $ docker build -t ollama-html-ui .
$ docker run -p 80:80 ollama-html-ui
```

<details>
<summary>Contributing</summary>
Clone the repository:
**Using Parcel**

First, clone the repository and install the dependencies:

```bash
$ git clone git@github.com:christianhellsten/ollama-html-ui.git
$ cd ollama-html-ui
$ yarn global add parcel-bundler
$ yarn add --dev parcel
# Alternatively, use npm:
# npm install -g parcel-bundler
$ npm install
$ parcel index.html
# npm install --save-dev parcel
```

Run the ollama-html-ui using parcel:

```bash
$ yarn parcel index.html
```

Open the UI using a browser:

```bash
$ open http://locahost:1234
```

Expand All @@ -119,53 +129,53 @@ $ node test
```bash
$ parcel build index.html
```

</summary>
</details>


<details>
<summary>Tasks</summary>

- [ ] Personas / Characters / Custom GPTs
- [ ] Ollama authentication
- [ ] Edit message / response
- [ ] Clear chat
- [ ] CSP
- [ ] Speech recognition
- [ ] Image upload / multi-modal
- [ ] Markdown support
- [ ] Fork chat
- [ ] Fork chat before / after message

## Done

- [x] Mark message as good, bad, flagged
- [x] Export chat messages to JSON
- [x] Keyboard shortcuts
- [x] Dark & light theme
- [x] Export chat messages to JSON
- [x] Keyboard shortcuts
- [x] Keyboard shortcuts
- [x] Dark & light theme
- [x] Delete message / response
- [x] Ollama chat API / chat memory
- [x] IndexedDB persistence
- [x] Model parameters
- [x] System prompt
- [x] Copy message to clipboard
- [x] Select model in settings (global)
- [x] Select model in chat (local)
- [x] Search chats
- [x] Delete Chat
- [x] Select model
- [x] Save settings
- [x] View settings
- [x] Clear chats
- [x] Edit chat
- [x] New chat
- [x] Abort response
- [x] Send message
- [x] UI tests: https://nodejs.org/api/test.html
- [ ] Personas / Characters / Custom GPTs
- [ ] Ollama authentication
- [ ] Edit message / response
- [ ] Clear chat
- [ ] CSP
- [ ] Speech recognition
- [ ] Image upload / multi-modal
- [ ] Markdown support
- [ ] Fork chat
- [ ] Fork chat before / after message

## Done

- [x] Mark message as good, bad, flagged
- [x] Export chat messages to JSON
- [x] Keyboard shortcuts
- [x] Dark & light theme
- [x] Export chat messages to JSON
- [x] Keyboard shortcuts
- [x] Keyboard shortcuts
- [x] Dark & light theme
- [x] Delete message / response
- [x] Ollama chat API / chat memory
- [x] IndexedDB persistence
- [x] Model parameters
- [x] System prompt
- [x] Copy message to clipboard
- [x] Select model in settings (global)
- [x] Select model in chat (local)
- [x] Search chats
- [x] Delete Chat
- [x] Select model
- [x] Save settings
- [x] View settings
- [x] Clear chats
- [x] Edit chat
- [x] New chat
- [x] Abort response
- [x] Send message
- [x] UI tests: https://nodejs.org/api/test.html

</summary>
</details>
Expand Down Expand Up @@ -207,6 +217,17 @@ $ parcel build index.html
</summary>
</details>

<details>
<summary>Troubleshooting</summary>
If you experience compilation errors, try deleting the cache directory:

```bash
rm -rf .parcel-cache/
```

</summary>
</details>

<details>
<summary>Licensing</summary>

Expand Down
25 changes: 15 additions & 10 deletions dist/index.4de9b498.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.4de9b498.js.map

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions dist/index.7388f1a7.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.7388f1a7.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"eslint-plugin-import": "^2.29",
"eslint-plugin-n": "^16.6",
"eslint-plugin-promise": "^6.1",
"parcel": "^2.11.0",
"parcel": "^2.12.0",
"playwright": "^1.40.1",
"postcss": "^8.4.32",
"prettier": "^3.2.4",
Expand Down
Loading

0 comments on commit 110cfd0

Please sign in to comment.