Commit Graph
11 Commits
Author SHA1 Message Date
Claude 07e8e93b4c Inline local-ai-setup.sh and kiwix_download.sh — truly self-contained
ubuntu-post-install.sh now embeds both companion scripts as single-quoted
heredocs written to mktemp files at runtime. No external files, git clone,
or internet access needed for [A] Local AI stack or [Z] Download ZIMs —
the single script is the only file required.

  local-ai-setup.sh  → embedded at lines 1084-1922 (LOCAL_AI_SETUP_EOF)
  kiwix_download.sh  → embedded at lines 2022-2221 (KIWIX_DOWNLOAD_EOF)

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 21:09:09 +00:00
Claude 1f37def86d Add Local AI stack and ZIM download options to ubuntu-post-install.sh
Adds two new top-level menu choices to the installation mode selector:

  [A] Local AI stack  — finds or clones local-ai-setup.sh, asks which
      mounted drive to use for Ollama models and Kiwix ZIM files, runs
      the installer as the actual user, then patches docker-compose.yml
      for alternate storage if selected.

  [Z] Download ZIMs   — finds or clones kiwix_download.sh, shows
      mounted drives, optionally redirects the download via KIWIX_DIR,
      then runs the downloader as the actual user in the background.

Both functions locate their scripts alongside ubuntu-post-install.sh
first, then ~/local-ai/, then fall back to cloning outis1one/local-ai.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 21:09:09 +00:00
Outis 716477e907 Add files via upload 2026-03-20 15:38:51 -04:00
Outis 98f1021d40 Add files via upload 2026-03-20 15:29:01 -04:00
Outis 0a8b19fbdb Merge pull request #2 from outis1one/claude/cleanup-setup-webui-bCgPE
Add configure-storage.sh — interactive drive/folder setup for ZIM and…
2026-03-20 15:28:14 -04:00
Claude b2946a1c24 Add configure-storage.sh — interactive drive/folder setup for ZIM and models
Scans mounted drives, shows size/free space, prompts user to assign drives
for Kiwix ZIM files and Ollama model storage, then patches docker-compose.yml
in place with a backup.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 19:22:24 +00:00
Outis aa415cbecf Merge pull request #1 from outis1one/claude/cleanup-setup-webui-bCgPE
Claude/cleanup setup webui b cg pe
2026-03-20 11:17:04 -04:00
Claude 8a1ac05f1e Add single self-contained local-ai-setup.sh
Merges all components into one script — no separate server files needed.
Embeds server.py (RAG) and mcp_server.py (MCP) as inline heredocs.

- Auto-detects VRAM and sets models + context window accordingly:
  6GB  → 7B models, 8k ctx
  8GB+ → 14B chat + 7B code, 16k ctx
  16GB → 14B models, 32k ctx (V100/A100 friendly)
- New install or update (detects existing compose)
- --force flag to overwrite config files
- --no-pull to skip model download prompt
- Adds fetch_url tool to MCP server
- Optional DeepSeek-R1:14b pull for reasoning tasks

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 15:14:10 +00:00
Claude 0f6d09db12 Refactor setup: new/update detection, split Python servers, add MCP server
- laptop_full_setup.sh now handles both fresh install and updates cleanly
  (detects existing install, --force flag to overwrite config files)
- server.py: standalone RAG server with AST-aware code chunking (Python),
  pattern-split for JS/TS/Go, /ingest/repo and /webhook/gitea|github endpoints
- mcp_server.py: new MCP server (port 8002/SSE) with Claude Code-equivalent
  tools: bash, file ops, ripgrep search, git ops, Gitea API, GitHub API,
  RAG repo ingest
- docker-compose: adds mcp-server service, workspace volume, env_file for tokens
- .env preserved on update (tokens never overwritten)
- GPU: OLLAMA_NUM_GPU=999 auto-adapts to any VRAM size (no hard-coded 6GB)
- ZIM downloads remain in kiwix_download.sh (separate, large files)

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 12:50:59 +00:00
Claude 8a1780b179 Remove obsolete update_script.sh
Prep for full rewrite with MCP server, enhanced RAG, and Claude Code parity.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
2026-03-20 11:05:25 +00:00
Outis e9bee0f13d Add files via upload 2026-03-19 22:25:26 -04:00