I'm looking for a solution that let's me store some nested filestructure (directories, files) in a single file. I thought about simple archives like tarballs, but due to many operations it's not appropriate.
Than I thought about JSON and store binary files into it, as base64 encoded strings. Then I stumbled upon BSON and its limitation to 16MB per file. Then again found GridFS as a wrapper that splits larger files in to smaller chunks.
That's perfect for my aims, because 16MB chunks would fit perfectly.
Because of the decentral alignment of my project I can't use a central DB like Mongo. Is it possible to use GridFS for a single local file like storage.bson
or something, where I can store, well, my files?