Private-to-Public Sync
Publish safely. Syncs private to public, excludes internal files, every time. You work in a private repo. Internal plans, dev notes, AI context… all the stuff that makes your team productive but shouldn’t be public. When it’s time to publish, you need a clean copy with none of that included. This script handles it. One command. Every internalai/ folder excluded automatically.
What It Does
- Copies all files from your private repo to the public mirror
- Excludes
ai/folders (plans, todos, dev notes) - Creates a branch and commits with co-authors
- Pushes, creates a PR, and merges it
- Creates a matching GitHub release
- Publishes to npm and GitHub Packages
Install
Usage
--dry-run first to see exactly what will be synced.