Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen3-coder-next:q4_K_M": {}
#!/usr/bin/env bash
set -euo pipefail
DOTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SRC="${DOTDIR}/home_files"
# --- 0) Symlink dotfiles into $HOME (Gitpod won't auto-symlink once you provide install.sh) ---
while IFS= read -r file; do
rel="${file#"$SRC"/}"
target="$HOME/$rel"