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#
- Open Settings ▸ Uploads. Under Destinations · Glimmer Capture’s own, make sure Glimmer Capture’s own uploaders is on (it is by default).
- Click Add Destination and choose S3-compatible storage….
- Fill in the sheet (below), then click Test Connection to try it.
- 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#
| Setting | What to enter |
|---|---|
| Name | Any name. It’s shown in Settings and in the To menu. |
| Service | Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO or Other S3-compatible. The sheet shows a short note for each. |
| Endpoint | MinIO and Other S3-compatible only: the server’s address and port, for example https://minio.example.com:9000. |
| Region | The bucket’s region. Choosing a service fills in its usual region. |
| Account ID | Cloudflare R2 only, instead of the region: your Cloudflare account ID. |
| Bucket | The bucket’s name. |
| Folder in the bucket | Optional. A folder for uploads, such as shots/{yyyy}/{mm}/. {yyyy}, {mm} and {dd} are filled in with the date (UTC). |
| Links | Expiring, Public URL or No link. See below. |
| Access key ID and Secret access key | A key that can write to the bucket. Use one limited to this bucket. |
Services#
| Service | Notes |
|---|---|
| Amazon S3 | New buckets block public access and have ACLs off. For public links, use a bucket policy on the folder, CloudFront, or expiring links. |
| Cloudflare R2 | The 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 B2 | Use 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. |
| Wasabi | Use the bucket’s region. Deleted files are still billed for Wasabi’s minimum storage period. |
| MinIO | Self-hosted: enter the server’s address and port. |
| Other S3-compatible | Enter the endpoint. |
Links#
| Choice | What 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 URL | A 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 link | The 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.
Links are checked#
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].