Amazon S3 and S3-compatible storage

Upload straight to your own bucket on Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO or another S3-compatible service, without Wherry.

Glimmer can upload to a bucket of your own without Wherry. Uploads are signed with your keys and go straight to the bucket. Your keys stay in your Keychain.

Add a bucket#

  1. Open Settings ▸ Uploads. Under Destinations · Glimmer Capture’s own, make sure Glimmer Capture’s own uploaders is on (it is by default).
  2. Click Add Destination and choose S3-compatible storage….
  3. Fill in the sheet (below), then click Test Connection to try it.
  4. Click Add Destination.

If you have no default destination yet, the new one becomes the default. Otherwise, click it in Settings ▸ Uploads to make it the default, or pick it from the To menu when you upload a file or text.

The settings#

SettingWhat to enter
NameAny name. It’s shown in Settings and in the To menu.
ServiceAmazon S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO or Other S3-compatible. The sheet shows a short note for each.
EndpointMinIO and Other S3-compatible only: the server’s address and port, for example https://minio.example.com:9000.
RegionThe bucket’s region. Choosing a service fills in its usual region.
Account IDCloudflare R2 only, instead of the region: your Cloudflare account ID.
BucketThe bucket’s name.
Folder in the bucketOptional. A folder for uploads, such as shots/{yyyy}/{mm}/. {yyyy}, {mm} and {dd} are filled in with the date (UTC).
LinksExpiring, Public URL or No link. See below.
Access key ID and Secret access keyA key that can write to the bucket. Use one limited to this bucket.

Services#

ServiceNotes
Amazon S3New buckets block public access and have ACLs off. For public links, use a bucket policy on the folder, CloudFront, or expiring links.
Cloudflare R2The account ID goes in the endpoint. The S3 endpoint is never public: for public links, set the public URL to the bucket’s r2.dev address or a custom domain.
Backblaze B2Use an application key. The region is in the bucket’s endpoint (for example s3.us-west-004.backblazeb2.com). Public links need a public bucket.
WasabiUse the bucket’s region. Deleted files are still billed for Wasabi’s minimum storage period.
MinIOSelf-hosted: enter the server’s address and port.
Other S3-compatibleEnter the endpoint.
ChoiceWhat you get
Expiring (default)A signed link that stops working after 1 hour, 1 day (the default) or 7 days. The bucket stays private.
Public URLA permanent link where the bucket is served publicly: a custom domain, a CDN, R2’s r2.dev address or a public bucket. Type a base address such as https://img.example.com/, or a template with {key}, for example https://img.example.com/{key}. {bucket} and {region} work too. Leave it empty to use the bucket’s own address. Public links must use https.
No linkThe file is stored privately and nothing is copied.

Expiring and public links can be opened by anyone who has them, so the leak check treats them as public and shows every time. With No link, the destination counts as private.

Test Connection#

Test Connection uploads a tiny image, opens its link, then deletes it, and lists each step. It uses the keys as you typed them and saves nothing. If a step fails, it says why and what to change.

Your keys#

The access key and secret go into your Keychain when you click Add Destination. Settings keeps only a reference to them. When you edit the destination, the secret field shows Unchanged (in the Keychain); leave it empty to keep the saved secret.

Remove deletes the destination and its keys from the Keychain. Files you already uploaded stay in the bucket.

After each upload, Glimmer opens the link and checks it serves the file, with the right type and size. Only then is the link copied.

If the check fails, you see Uploaded · link not verified with the reason, and nothing is copied. The common reasons:

  • The bucket is private, or public access is blocked. The public URL returns 403 Forbidden. Make the bucket or folder publicly readable with a bucket policy, serve it through a custom domain or CDN, or switch to expiring links. For R2, turn on the bucket’s r2.dev address or connect a custom domain, and set it as the public URL.
  • The public URL returns 404. Check that the custom domain or CDN points at this bucket and that the template matches where files go.
  • Your Mac’s clock is wrong. Signed requests are refused when the Mac’s clock is off. Glimmer says how far off it is. Turn on Set time and date automatically in System Settings ▸ General ▸ Date & Time.
  • The region is wrong. When the service says which region the bucket is in, Glimmer shows it. Change the destination’s region to match.

What gets uploaded#

  • Every file gets a random name, so links can’t be guessed.
  • Web pages and SVG files aren’t uploaded: served from your bucket’s domain, they would run as live pages.
  • Large files are uploaded in parts. If an upload stops partway, the parts are removed. To clear parts left behind by an older upload, right-click the destination in Settings ▸ Uploads and choose Clean Up Incomplete Uploads. It removes leftovers more than a day old.

Free and Pro#

The free version uploads to one destination, of any kind. Pro has unlimited destinations. With Pro, Delete remote in the Library inspector deletes an uploaded file from the bucket.

Dropbox and Imgur#

Add Destination also has Dropbox…: see Dropbox. It lists Imgur… too, but Imgur can’t be set up: the sheet says it “isn’t configured in this build”, because Imgur no longer registers new apps.

Next#

Something missing or unclear? Write to [email protected].

↑ ↓ to move, Enter to open, Esc to close