SnapSafe
File Storage

Heads Up

SnapSafe and this documentation are both in very active development and not yet ready for use. Consider contributing on GitHub.

S3 Compatibility

SnapSafe uses the lightweight and fetch based aws4fetch library to interact with the storage service. Any object storage service that is compatible with the S3 API and supports presigned URLs should work. We recommend Cloudflare R2 because of its S3 compatibility, generous free tier, and no egress fees.

Add the Environment Variables

Once you have created an account, put the following in your .env file.

STORAGE_ACCESS_KEY="..."
STORAGE_SECRET_KEY="..."
STORAGE_ENDPOINT="..."