Background
Recently I’ve started a new Meteor-based project which involves the ability for users to store their own images in the cloud. I’ve considered a number of options to provide this, from storing to local FS to Amazon S3. In the end I’ve decided that it would be convinient to store files in Mongo’s GridFS. I’d need a Mongo cluster anyway, so why not also store the files there.
But it turned out that there is no built-in support in Meteor for GridFS.