Sacrificed my night to the productivity gods. The output is the beginnings of the "ipti" CLI which is a tool for authoring / reading #IPLD databases based on my impl of the Prolly Tree spec.
It's not ready for release yet but this will make it easier to integrate into pipelines with bash or other languages without having to touch golang directly.
Indexer library here: https://github.com/RangerMauve/ipld-prolly-indexer
Note I don't have a standard for replicating over the network so it currently reads/writes CAR files