simple blobstore that leverages the local file system to store blobs. lbs is written in nodejs and leverages sqlite3 for metadata. lbs is meant as a library within your nodejs application, not for individual users.
all blobs are stored to the blobs directory of the current working directory, the
sqlite3 index is stored at
keys are based on a sha512 hash of the file contents and uses only the first 32 hexadecimal characters from the hash, this keeps keys short in case they're used in urls.
lbs leverages a very simple security mechanism, a random token is generated for each blob that is 8 hexadecimal characters long. the token does not expire, though theoretically could be updated.
npm install lbs
git clone email@example.com:stephenhu/lbs
var lbs = ;lbs;lbs;
id: ""key: ""filename: ""extension: ""bytes: 0token: ""application: ""dirty: falseversion: 0properties: ""createdAt: ""updatedAt: ""// TODO: get sample output from lbs.get