Skip to content

Commit

Permalink
Rename + domain
Browse files Browse the repository at this point in the history
  • Loading branch information
travishorn committed Oct 29, 2024
1 parent 2c32c21 commit e6255c6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Ollama Client
# Ollapa

Ollama client built with Svelte 5 and SvelteKit.

https://ollapa.chat

## Usage

When accessing from the web, you must set the `OLLAMA_ORIGINS` environment
Expand All @@ -13,7 +15,7 @@ external domain.
Use `launchctl` to set the environment variable.

```sh
launchctl setenv OLLAMA_ORIGINS "https://travishorn.github.io"
launchctl setenv OLLAMA_ORIGINS "https://ollapa.chat"
```

### Linux
Expand All @@ -28,7 +30,7 @@ systemctl edit ollama.service

```
[Service]
Environment="OLLAMA_ORIGINS=https://travishorn.github.io"
Environment="OLLAMA_ORIGINS=https://ollapa.chat"
```

3. Restart the service.
Expand All @@ -52,7 +54,7 @@ systemctl restart-ollama

6. For **Variable name**, enter `OLLAMA_ORIGINS`.

7. For **Variable value**, enter `https://travishorn.github.io`.
7. For **Variable value**, enter `https://ollapa.chat`.

8. Click **OK** on each window to save the settings and close them.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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
@@ -1,5 +1,5 @@
{
"name": "ollama-client",
"name": "ollapa",
"version": "0.0.1",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/db.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { openDB } from 'idb';

const DB_NAME = 'OllamaClient';
const DB_NAME = 'Ollapa';
const DB_VERSION = 1;
const STORE_NAME = 'chats';

Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<svelte:head>
<title>Ollama Client</title>
<title>Ollapa</title>
</svelte:head>

<div class="flex h-screen bg-neutral-800 text-neutral-100">
Expand Down
5 changes: 1 addition & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ const config = {
kit: {
adapter: adapter({
fallback: 'index.html'
}),
paths: {
base: '/ollama-client'
}
})
}
};

Expand Down

0 comments on commit e6255c6

Please sign in to comment.