From d7f0381eae93463f13f6d361c5c75e6380dde131 Mon Sep 17 00:00:00 2001 From: host Date: Sun, 19 Apr 2026 00:27:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_badges.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 README_badges.md diff --git a/README_badges.md b/README_badges.md new file mode 100644 index 0000000..829810b --- /dev/null +++ b/README_badges.md @@ -0,0 +1,132 @@ +# 🚀 TrueNAS SCALE AI Workspace + +### code-server + OmniRoute + Claude Code (Kiro AI) + +![TrueNAS](https://img.shields.io/badge/TrueNAS-SCALE-blue?logo=truenas) +![Docker](https://img.shields.io/badge/Docker-Ready-blue?logo=docker) +![VSCode](https://img.shields.io/badge/code--server-VSCode-green?logo=visualstudiocode) +![Claude](https://img.shields.io/badge/Claude-Code-purple) +![License](https://img.shields.io/badge/license-MIT-green) + +------------------------------------------------------------------------ + +## 📦 Стек + +- **code-server** --- VS Code в браузере\ +- **OmniRoute** --- прокси для AI\ +- **Claude Code** --- CLI агент\ +- **Kiro AI** --- провайдер моделей + +------------------------------------------------------------------------ + +## 🛠 Подготовка + +``` bash +mkdir -p /mnt/ssd/apps/vscode/config \ + /mnt/ssd/apps/vscode/workspace \ + /mnt/ssd/apps/omniroute + +chown -R 568:568 /mnt/ssd/apps +chmod -R 775 /mnt/ssd/apps +``` + +------------------------------------------------------------------------ + +## 🐳 Docker Compose + +``` yaml +services: + code-server: + image: lscr.io/linuxserver/code-server:latest + container_name: code-server + environment: + - PUID=568 + - PGID=568 + - TZ=Europe/Prague + - PASSWORD=your_password + volumes: + - /mnt/ssd/apps/vscode/config:/config + - /mnt/ssd/apps/vscode/workspace:/config/workspace + - /mnt/ssd/apps:/mnt/ssd/apps + ports: + - 18443:8443 + restart: unless-stopped + + omniroute: + image: diegosouzapw/omniroute:latest + container_name: omniroute + environment: + - PORT=20128 + volumes: + - /mnt/ssd/apps/omniroute:/app/data + ports: + - 20128:20128 + restart: unless-stopped +``` + +------------------------------------------------------------------------ + +## 🤖 Установка Claude Code + +``` bash +docker exec -u 0 -it code-server bash -c " +apt update && +apt install -y nodejs npm && +npm install -g @anthropic-ai/claude-code +" +``` + +------------------------------------------------------------------------ + +## ⚙️ OmniRoute + +Открыть: http://``{=html}:20128 + +**Model Mapping:** - `claude-sonnet-4-6` → `claude-sonnet-4.5` - `*` → +`claude-sonnet-4.5` + +------------------------------------------------------------------------ + +## ▶️ Запуск + +``` bash +claude --model kr/claude-sonnet-4.5 +``` + +------------------------------------------------------------------------ + +## ⚡ Алиасы + +``` bash +alias c4s='claude --model kr/claude-sonnet-4.5' +alias c4h='claude --model kr/claude-haiku-4.5' +``` + +------------------------------------------------------------------------ + +## 📂 Доступ к файлам + +Открыть в VS Code: + + /mnt/ssd/apps + +------------------------------------------------------------------------ + +## 🧠 Возможности + +- AI прямо в браузере\ +- централизованный API через OmniRoute\ +- быстрые и дешёвые модели (Haiku)\ +- доступ ко всем конфигам + +------------------------------------------------------------------------ + +## 🧩 Архитектура + + Browser → code-server → Claude Code → OmniRoute → Kiro AI + +------------------------------------------------------------------------ + +## 📜 License + +MIT