718 B
718 B
OpenCode Portable Config
This folder is safe to commit to GitHub. It contains config and installers, but no API keys.
What is included
templates/opencode.jsontemplates/oh-my-opencode.jsonscripts/install-linux.shscripts/install-windows.ps1.env.example
How to use
- Push this folder to your GitHub repo.
- On a target machine, clone or download the repo.
- Run the platform installer from
scripts/. - Copy
.env.exampleto.envand fill keys locally. - Run
opencode auth login <provider>or/connectin OpenCode.
Important
- Do not commit
.env. - Do not commit
~/.local/share/opencode/auth.json. - Credentials should always be entered locally on each machine.