|
|
3 هفته پیش | |
|---|---|---|
| plugins | 3 هفته پیش | |
| skills | 3 هفته پیش | |
| .gitignore | 3 هفته پیش | |
| README.md | 3 هفته پیش | |
| config.json | 3 هفته پیش | |
| opencode.jsonc | 3 هفته پیش | |
| package-lock.json | 3 هفته پیش | |
| package.json | 3 هفته پیش |
Global OpenCode configuration: settings, MCP servers, plugins, and skills wiring.
# 1. Clone this config (replace <token> with a Gogs access token)
git clone https://gogadmin:<token>@git.algometic.com/gogadmin/opencode-config.git ~/.config/opencode
# 2. Install plugin dependencies (needed by plugins/rtk.ts)
cd ~/.config/opencode && npm install
# 3. Clone the skills repo (public, referenced by opencode.jsonc)
git clone https://github.com/anthropics/skills ~/.config/opencode/skills-repo
| Path | Purpose |
|---|---|
opencode.jsonc |
Skills path + MCP servers (postgres, flymcp) |
config.json |
Local Qwen provider (qwen-local/qwen3.8) and default model |
plugins/rtk.ts |
RTK plugin — requires rtk >= 0.23.0 in PATH |
package.json |
Plugin dependency: @opencode-ai/plugin |
opencode.jsonc points at /home/i78700es/.local/bin/flymcp — install flymcp and fix the path if the user/home differs.postgres://localhost:5432/mcp (sandbox creds in opencode.jsonc) — make sure the local postgres sandbox is running, or update the URL.config.json targets http://192.168.1.38:8284/v1 — adjust if the local model server moves.rtk >= 0.23.0 in PATH so the plugin's command rewrites work.cd ~/.config/opencode
git pull # get updates
git add -A && git commit -m "..." && git push # publish changes
For continuous sync, point Syncthing (or rsync over cron) at ~/.config/opencode/ — the .gitignore already excludes node_modules/ and skills-repo/.