{"id":18064352,"url":"https://github.com/travishorn/ollapa","last_synced_at":"2025-10-26T06:30:19.160Z","repository":{"id":259816769,"uuid":"879307213","full_name":"travishorn/ollapa","owner":"travishorn","description":"An Ollama client built with Svelte 5 and SvelteKit. Chat completely local and client-side with a friendly interface!","archived":false,"fork":false,"pushed_at":"2024-11-01T00:23:47.000Z","size":261,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-18T20:36:49.209Z","etag":null,"topics":["ai","artificial-intelligence","chat-interface","chatbot","client-side","conversational","large-language-model","llm","local","offline","ollama","spa","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://ollapa.chat","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/travishorn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T15:09:29.000Z","updated_at":"2024-12-10T12:56:20.000Z","dependencies_parsed_at":"2024-10-29T23:06:57.901Z","dependency_job_id":null,"html_url":"https://github.com/travishorn/ollapa","commit_stats":null,"previous_names":["travishorn/ollama-client","travishorn/ollapa"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Follapa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Follapa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Follapa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travishorn%2Follapa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/travishorn","download_url":"https://codeload.github.com/travishorn/ollapa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238274033,"owners_count":19444966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","artificial-intelligence","chat-interface","chatbot","client-side","conversational","large-language-model","llm","local","offline","ollama","spa","svelte","sveltekit"],"created_at":"2024-10-31T06:05:40.693Z","updated_at":"2025-10-26T06:30:18.640Z","avatar_url":"https://github.com/travishorn.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"The Ollapa logo; Stylized black-and-white line drawing of a llama's head with bold outlines and simple shading.\" src=\"src/lib/assets/ollapa-logo.webp\" style=\"width:128px;height:128px\" /\u003e\n\u003c/p\u003e\n\n# Ollapa\n\nAn Ollama client built with Svelte 5 and SvelteKit. Chat completely local and\nclient-side with a friendly interface!\n\nVisit [ollapa.chat](https://ollapa.chat)\n\n\u003e [!IMPORTANT]\n\u003e You can interact with the chat client directly at the URL above, but you must\n\u003e first configure your locally-running Ollama server. See below.\n\n## Configure Your Ollama Server\n\nFirst, [you must have Ollama installed](https://ollama.com/).\n\nThen, you must have at least one model installed. Example:\n\n```sh\nollama pull llama3.2\n```\n\nFinally, if you are accessing Ollapa client from the web at https://ollapa.chat,\nyou must set the `OLLAMA_ORIGINS` environment variable on your local machine so\nthat your locally running Ollama REST API server accepts connections from the\nexternal domain https://ollapa.chat. Instructions for macOS, Linux, and Windows\nare as follows:\n\n### macOS\n\nUse `launchctl` to set the environment variable.\n\n```sh\nlaunchctl setenv OLLAMA_ORIGINS \"https://ollapa.chat\"\n```\n\n### Linux\n\n1. Open the service file.\n\n```sh\nsystemctl edit ollama.service\n```\n\n2. Edit the `[Service]` section to set the environment variable.\n\n```\n[Service]\nEnvironment=\"OLLAMA_ORIGINS=https://ollapa.chat\"\n```\n\n3. Restart the service.\n\n```sh\nsystemctl daemon-reload\nsystemctl restart-ollama\n```\n\n### Windows\n\n1. Quit Ollama from the taskbar.\n\n2. Press **Start** and type `environment variables`.\n\n3. Click **Edit the environment variables**.\n\n4. Click **Environment Variables...**.\n\n5. Under **System variables**, click **New...**.\n\n6. For **Variable name**, enter `OLLAMA_ORIGINS`.\n\n7. For **Variable value**, enter `https://ollapa.chat`.\n\n8. Click **OK** on each window to save the settings and close them.\n\n9. Open a _new_ (close out of any already-open) terminal and run `ollama serve`.\n\n## Local Server\n\nYou don't have to use [ollapa.chat](https://ollapa.chat). You can run this client locally if you wish.\n\nMake sure [Node.js](https://nodejs.org) and [git](https://git-scm.com/) are installed.\n\nClone this repository.\n\n```sh\ngit clone https://github.com/travishorn/ollapa\n```\n\nChange into the directory.\n\n```sh\ncd ollapa\n```\n\nInstall the dependencies.\n\n```sh\nnpm install\n```\n\nRun the development server.\n\n```sh\nnpm run dev\n```\n\nVisit http://localhost:5173 to access the client in your web browser.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\nIf you modify the code, kindly...\n\n- `npm run format` to ensure consistency across the codebase.\n- `npm run lint` to ensure there are no linting errors.\n\n## Roadmap\n\n- Feature: cancel completion\n- Feature: storage meter\n- Feature: connected to Ollama API status\n- Fix: autoscroll only when already at chat bottom\n\n## License\n\nThe MIT License (MIT)\n\nCopyright © 2024 Travis Horn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravishorn%2Follapa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravishorn%2Follapa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravishorn%2Follapa/lists"}