Our replication system is very complex. I am not sure that even publishing our spec would get much usage because it’s so complex.
But maybe we can open source an API?