I made this to be able to open-source parts of our monorepo while keeping the rest private.
The result is a tool that allows you to have one monorepo that is the source of truth for as many other repos as you want. It could also be used to create “workspace” repos if you onboard a freelance and you don’t want to give him access to your whole mono-repo.
We are using nx as a monorepo tool, here is an example of it using the Copybara Action
Based on Google’s Copybara project.