ssb pack/unpack
We've spoken quite a couple of times about SSB replication over USB, for sneakernets. In other words, it would require packing a local SSB database into one file in the origin computer, then in the destination computer, the file could be unpacked/consumed to update that local database with new data, if there are any.
Technically, it would require:
- A file format and/or folder convention
- I'm interested in it being like java JAR or Android APK: it's just a zip file, but with a custom extension
- Example:
staltz20190319.sbp
but internally it's a zip file - I chose
.sbp
as an initial suggestion. "Scuttlebutt Package". Web searches tell me that sbp is used only by a few other not-so-popular applications
- A JS library and CLI to pack a local SSB database into a
.sbp
file - A JS library and CLI to consume an
.sbp
file and update your local SSB database
Here's the fun part: the diversity of use cases for this are huge! Of course the canonical use case is sharing the package through USB, but there's more:
- Share the file through email
- Share it through Firefox Send
- Share it via Bluetooth
- Share it on a website as a download
Then SSB apps can register themselves in the OS to be the preferred app for the .sbp
file extension, and this would make it even easier to consume the file without doing manual work. Android as an OS also supports preferred apps for certain file extensions.