viadee OpenCode Installation
Installer scripts for viadee OpenCode, the viadee sbx kit that runs OpenCode
in a Docker Sandbox with LiteLLM, websearch and OCR preconfigured. They are
published to npm with every kit release only so they can be downloaded without
authentication through jsDelivr; the package has no JavaScript entry point.
Einrichtung
macOS / Linux:
curl -fsSL https://cdn.jsdelivr.net/npm/@viadee/opencode-installation/install.sh | bash
Windows (PowerShell):
irm https://cdn.jsdelivr.net/npm/@viadee/opencode-installation/install.ps1 | iex
Das Skript installiert bei Bedarf sbx (Homebrew bzw. winget), schaltet die
Telemetrie ab, meldet bei Docker an (dafür ist ein kostenfreies Docker-Konto
nötig, am besten mit der @viadee.de-Mailadresse:
https://app.docker.com/signup), erlaubt die viadee-Images, initialisiert
die Netzwerk-Policy balanced, fragt den LiteLLM-Key ab, erklärt auf Wunsch
eigene Keys pro Projekt (sbx secret set litellm --sandbox <projekt>),
erlaubt das Kopieren in die Host-Zwischenablage (clipboard.textCopy, ab
sbx 0.51 nötig), erlaubt auf Nachfrage das Einfügen von Screenshots
(clipboard.imagePaste, Enter gilt als Ja) und richtet den Kurzbefehl
sbx run opencode ein. Jeder Schritt ist wiederholbar.
Anleitung und Problembehebung:
viadee OpenCode in Confluence.