{"id":29362949,"url":"https://github.com/mgross21/local-ai","last_synced_at":"2025-07-09T09:21:06.929Z","repository":{"id":302788198,"uuid":"1013623809","full_name":"MGross21/local-ai","owner":"MGross21","description":"Containerized Service to run AI locally","archived":false,"fork":false,"pushed_at":"2025-07-04T07:55:22.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-04T08:37:32.259Z","etag":null,"topics":["anonymity","local-ai","ollama","open-webui","privacy","programming","searxng"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MGross21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-07-04T07:45:48.000Z","updated_at":"2025-07-04T08:05:39.000Z","dependencies_parsed_at":"2025-07-04T08:49:14.919Z","dependency_job_id":null,"html_url":"https://github.com/MGross21/local-ai","commit_stats":null,"previous_names":["mgross21/local-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MGross21/local-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGross21%2Flocal-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGross21%2Flocal-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGross21%2Flocal-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGross21%2Flocal-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MGross21","download_url":"https://codeload.github.com/MGross21/local-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGross21%2Flocal-ai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264428795,"owners_count":23606696,"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":["anonymity","local-ai","ollama","open-webui","privacy","programming","searxng"],"created_at":"2025-07-09T09:21:02.793Z","updated_at":"2025-07-09T09:21:06.920Z","avatar_url":"https://github.com/MGross21.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local AI\n\nProvides a fully self-hosted AI stack for private, local language model inference and search, with a strong focus on privacy.\n\n## Overview\n\nThis repository integrates four primary software components:\n\n1. **Ollama** – Local large language model serving.\n2. **SearXNG** – Privacy-focused, anonymized search engine.\n3. **Open WebUI** – User-friendly chat interface for interaction.\n4. **Tor** – Enables anonymous network access and search through the Tor network.\n\n## Instructions\n\n### Install Required Packages\n\n#### Docker\n\n```bash\nsudo \u003cpackage-manager\u003e docker docker-compose\n```\n\n#### Ollama\n\n*Install/Update*\n\n```bash\ncurl -fsSL https://ollama.com/install.sh | sh\n```\n\n### System Services and Permissions\n\nFollowing [this tutorial](https://docs.docker.com/engine/install/linux-postinstall/),\n\n```bash\nsudo systemctl start docker\nsudo systemctl enable docker\nsudo groupadd docker\nsudo usermod -aG docker $USER\nnewgrp docker # activate changes\n```\n\n#### Optional Test\n\n```bash\ndocker run hello-world\n```\n\n*If you encounter permission errors, it is recommended to reboot your system to ensure that group membership changes take effect.*\n\n### Donwload Repository\n\n```bash\ngit clone https://github.com/MGross21/local-ai\ncd local-ai\n```\n\n### Starting up AI\n\n\u003e[!Warning]\n\u003e Pulling images may take some time \u003cbr\u003e\n\u003e **Total Download: ~10G** (~5G Docker + ~5G Model)\n\n```bash\nollama pull mistral # 7b param model\n```\n\n[See other models here](https://ollama.com/library?sort=popular)\n\n```bash\ndocker compose up -d\n```\n\n### Opening Stack\n\n| Service         | URL/Port                | Preview                      |\n|-----------------|------------------------|----------------------------------|\n| Web UI          | [localhost:3000](http://localhost:3000/) | ![Open WebUI](assets/open_webui_minimal.png) |\n| SearXNG         | [localhost:8080](http://localhost:8080/) | ![SearXNG](assets/searxng.png)       |\n| Ollama API      | [localhost:11435](http://localhost:11435/) |           `Ollama is running`                       |\n\n### Shutdown\n\n```bash\ndocker compose down\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgross21%2Flocal-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgross21%2Flocal-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgross21%2Flocal-ai/lists"}