Just uploaded dbedia::blob to CPAN.
Besides dbedia::blob module there is also dbedia-blob script that is doing sha256 checksumming and uploading to a server. Simply by:
$ dbedia-blob --meta --base-uri https://b.dbedia.com/ --upload dollar-camel.png https://b.dbedia.com/e018cdef54178fa53e63673697cfb59fd908707c4c379fb7f5e2bb2970ff8996/dollar-camel.png --- filename: dollar-camel.png mime_type: image/png size: 19876
and the dollar-camel.png is online.
a complete how-to would be something like:
location ~ "^(/..)(..)(..)(.{58})(.*)$" { alias /var/www/blobs/$1/$2/$3/$4; expires max; }
~/.ssh/config
→
Host dbedia-blob HostName YOUR_SSH_SERVER user blob-user