Complete Ollama Web UI implementation featuring: Frontend (SvelteKit + Svelte 5 + Tailwind CSS + Skeleton UI): - Chat interface with streaming responses and markdown rendering - Message tree with branching support (edit creates branches) - Vision model support with image upload/paste - Code syntax highlighting with Shiki - Built-in tools: get_current_time, calculate, fetch_url - Function model middleware (functiongemma) for tool routing - IndexedDB storage with Dexie.js - Context window tracking with token estimation - Knowledge base with embeddings (RAG support) - Keyboard shortcuts and responsive design - Export conversations as Markdown/JSON Backend (Go + Gin + SQLite): - RESTful API for conversations and messages - SQLite persistence with branching message tree - Sync endpoints for IndexedDB ↔ SQLite synchronization - URL proxy endpoint for CORS-bypassed web fetching - Health check endpoint - Docker support with host network mode Infrastructure: - Docker Compose for development and production - Vite proxy configuration for Ollama and backend APIs - Hot reload development setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "ollama-webui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "^4.0.0",
|
|
"@sveltejs/kit": "^2.16.0",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"@types/node": "^22.10.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"svelte": "^5.16.0",
|
|
"svelte-check": "^4.1.0",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@skeletonlabs/skeleton": "^2.10.0",
|
|
"@skeletonlabs/tw-plugin": "^0.4.0",
|
|
"@sveltejs/adapter-node": "^5.4.0",
|
|
"@types/dompurify": "^3.0.5",
|
|
"dexie": "^4.0.10",
|
|
"dompurify": "^3.2.0",
|
|
"marked": "^15.0.0",
|
|
"shiki": "^1.26.0"
|
|
}
|
|
}
|