You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sharing: cross-device OpenCode config & session sync via GitHub #18102
I switch between a MacBook and a couple of Windows machines daily, and keeping OpenCode config/sessions in sync was driving me nuts. Ended up writing a set of scripts that merge four local directories into one private GitHub repo:
It works through simple wrapper commands (opencode-push, opencode-pull) that let you choose config / sessions / both. Session sync kills running OpenCode first and uses sqlite3 .backup for a safe db copy. There's also force mode, auto-stash, and a migration auto-repair mechanism for when you pull an older db to a machine running newer OpenCode.
Cross-platform: macOS (zsh) + Windows (PowerShell 7). No dependencies beyond Node.js, git, git-lfs, and sqlite3.
No issue template was used. This project requires one of three templates: Bug Report, Feature Request (title must start with [FEATURE]:), or Question. This appears to be a community sharing post, which doesn't fit any of the required templates.
If you'd like to share this as a feature request or discussion, please reopen using the Feature Request template with a title like [FEATURE]: Cross-device config & session sync support and describe the problem you're solving and what native support you'd like to see.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon Mar 18, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:), or Question. This appears to be a community sharing post, which doesn't fit any of the required templates.[FEATURE]: Cross-device config & session sync supportand describe the problem you're solving and what native support you'd like to see.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
lazyalex616 commentedon Mar 18, 2026
Closing — wrong place for this. Apologies for the noise.