Loading repository data…
Loading repository data…
Haroon966 / repository
Private local chat for Ollama & OpenAI-compatible APIs. Sessions in SQLite, runs in browser or as a Tauri desktop app.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A fully local, cross-platform desktop app that talks to Ollama, Open WebUI, or any OpenAI-compatible API. Sessions live in SQLite on your machine—no CDN, no tracking, plain CSS.
| 💬 Streaming chat | Tokens appear as they arrive. |
| 🔌 Ollama & compatible | Works with Ollama, LocalAI, LM Studio—configurable base URL and model. |
| 🧩 Open WebUI mode | Dedicated route + endpoint adapter for Open WebUI deployments. |
| 💾 Sessions saved | Conversations in SQLite; resume anytime after restart. |
| 🎨 Theming | Light, dark, or system; optional primary color. |
| 🔍 Search | Find text across sessions and messages. |
| 📦 Cross-platform | Windows (.exe), Ubuntu (.deb / AppImage), macOS (.dmg). |
Browser (no Rust):
npm install && npm run dev
Open http://localhost:5173 → Settings → set base URL (e.g. http://localhost:11434 for Ollama) and model.
Open WebUI mode (browser or desktop):
http://127.0.0.1:8080)./open-webui route.Open WebUI full console route:
/open-webui/full to load the complete Open WebUI interface inside Cove.http://127.0.0.1:8080).Desktop app (Rust required):
npm install && npm run tauri dev
Same flow: configure Settings and point to your API.
sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-devnpm run build
npm run tauri build
| Platform | Output |
|---|---|
| Windows | src-tauri/target/release/bundle/nsis/Cove_0.1.0_x64-setup.exe (or .msi) |
| Ubuntu | src-tauri/target/release/bundle/deb/*.deb or appimage/*.AppImage |
| macOS | src-tauri/target/release/bundle/dmg/*.dmg (build on macOS) |
Tip: Set
CI=truefor non-interactive builds.
| Path | Description |
|---|---|
src/ | React + TypeScript frontend (Vite) |
src/App.tsx, App.css | Main layout, plain CSS |
src/components/ | ChatPanel, SessionList, Settings |
src/api/ | ollama.ts, openai.ts, openwebui.ts — provider adapters |
src/hooks/useStreamingChat.ts | Streaming state and send |
src-tauri/ | Tauri 2 Rust app |
src-tauri/src/lib.rs | Command registration |
src-tauri/src/db.rs | SQLite sessions and messages |
src-tauri/src/config.rs | Config repository + migration logic |
The app is set up for GitHub Pages. Push to main and enable Settings → Pages → Build and deployment → Source: GitHub Actions. The site will be at https://Haroon966.github.io/Cove/ (or your repo name).
To build locally for the same base path:
VITE_BASE_PATH=/Cove/ npm run build
Then serve the dist/ folder under the /Cove/ path.
~/.local/share/app.cove/cove.db on Linux).app_config table) in the same database.config.json are auto-migrated on first launch, then SQLite becomes source of truth.All requests go only to the base URL you set in Settings. No telemetry or external APIs.
docs/persistence-runbook.md.open_webui, openai, groq, etc.).Backup all data from Settings).docs/open-webui-integration.md.Run before release:
npm run build
npm run tauri build
Then verify:
/open-webui.This project is licensed under GPL-3.0. You may use and modify it. If you distribute it (or a modified version), you must give credit, indicate that you modified it (e.g. in your README or app), and link to this repository: https://github.com/Haroon966/Cove.