Connect Cloudflare R2 with Blob0

A step-by-step guide to connecting Cloudflare R2 with Blob0: Cloudflare OAuth sign-in is the default, and the screenshots document the manual API-key alternative for a private bucket.

For the public macOS release 0.3.1. Field and button names below match its English interface.

Download and installation guide

1. Create an R2 bucket

  1. In the Cloudflare dashboard, open Storage & databases → R2 Object Storage and select Create bucket. If your account has never used R2, enable it first when prompted.

    R2 Object Storage overview with Create bucket highlighted
  2. Enter a bucket name — lowercase letters, numbers and hyphens only; it cannot be renamed later. Keep Location on Automatic unless you need a data-residency jurisdiction, keep Default Storage Class on Standard, then select Create bucket.

    Create bucket form showing my-private-bucket, Automatic location and Standard storage class

    Infrequent Access suits data read less than once a month, but it has a 30-day minimum storage duration and retrieval fees, so Standard is the safer default for an everyday file library.

  3. The new bucket opens on its Objects tab. Public Access shows Disabled — every new R2 bucket starts private. You do not need to make it public to manage it with Blob0; storage and API usage follow your Cloudflare plan.

    New bucket Objects tab with Public Access Disabled highlighted

2. Keep the bucket private and copy its endpoint

Open the bucket's Settings tab. An R2 bucket can be read without credentials only through a Custom Domain or the Public Development URL (r2.dev). For a private bucket, leave both off: no custom domain, and the r2.dev URL disabled.

Bucket Settings showing no custom domain and a disabled Public Development URL

Connecting a custom domain makes every object in the bucket readable by anyone who knows its path. Keep public assets in a separate bucket, and share private files with time-limited presigned links.

Learn how to share an object with a presigned URL

Under General, the S3 API value is the connection address. Blob0 needs only the part before the bucket name:

Bucket General settings with the S3 API endpoint highlighted

https://<ACCOUNT_ID>.r2.cloudflarestorage.com

For EU, US or FedRAMP jurisdiction buckets, copy the matching jurisdiction-specific endpoint shown in Cloudflare. Do not append the bucket name or use an r2.dev / public custom domain as the API endpoint.

Cloudflare sign-in (default)

  1. On first launch, Blob0 opens Cloudflare sign-in by default. To add another connection later, use the sidebar connection menu or open Settings → Connections → Add connection, then select Continue with Cloudflare.

  2. In the browser that opens, review and approve the requested Cloudflare permissions.

  3. In Blob0, choose an account, select Load buckets, choose a bucket, optionally change the local connection name, then select Connect.

3. Create S3 API credentials (manual option)

  1. Back on the R2 overview, select Manage API Tokens under Account Details, then Create Account API token. Account tokens stay active if you leave the organization; depending on your permissions you can create a User API token the same way.

    R2 overview with Manage API Tokens highlighted under Account Details
  2. Name the token (for example blob0 my-private-bucket) and choose Object Read & Write. Object Read only is enough for browsing and downloading, but uploads and changes will fail.

    API token form with the token name and Object Read & Write permission selected
  3. Under Specify bucket(s), choose Apply to specific buckets only and pick your bucket. Keep TTL on Forever or set an expiry, leave Client IP Address Filtering empty, and select Create Account API Token.

    API token scope restricted to my-private-bucket, with TTL and client IP filtering settings
  4. Copy the Access Key ID and Secret Access Key into a password manager — the secret is shown only once. Blob0 uses this S3 key pair, not the Token value; the default endpoint listed below them is the same S3 API endpoint.

    Created API token showing redacted Access Key ID, Secret Access Key and the default S3 endpoint
Cloudflare credential and permission documentation

4. Fill in the Blob0 connection form

Choose Use access keys instead on the Cloudflare sign-in screen to follow the manual setup below. The screenshots document this alternative: select Cloudflare R2 under Provider; its preset uses Region auto and configures addressing for R2.

Blob0 Add connection form with fictional Cloudflare R2 credentials and a masked secret
These Blob0 screenshots use fictional settings and local mock data; no real storage service is connected.
4. Fill in the Blob0 connection form
App fieldWhat to enter
ProviderCloudflare R2
Connection nameA local label, such as Personal R2. It does not rename your bucket.
S3 API endpointThe HTTPS endpoint from your R2 account, as explained above.
BucketThe exact bucket name, without a URL or folder prefix.
Regionauto — the R2 SDK region value and the default in Blob0.
Access Key IDThe Access Key ID from the R2 token confirmation.
Secret Access KeyThe matching Secret Access Key, with no extra whitespace.
Public / custom domainOptional. Leave blank for private access. Only set a public domain you have configured for direct file links; this field does not authenticate the connection.

5. Test, then save the connection

Select Test connection. Blob0 lists the bucket root without uploading or deleting objects. A successful result starts with Connected — and shows the number of items returned at the root; an empty bucket can correctly show 0 items.

Blob0 connection form showing the successful Connected result after Test connection

Select Add connection after the test succeeds. Blob0 saves the profile and connects to the bucket. To switch between saved buckets later, use the sidebar connection menu. Access keys are stored in the macOS Keychain; the profile configuration stores non-sensitive metadata.

Blob0 file browser connected to my-private-bucket

A successful listing confirms read/list access, not write permission. If you need uploads or changes, use the scoped read/write token. For an optional transfer check, use a small disposable file in your own bucket and remove it afterward.

Troubleshooting

AccessDenied or 403
Check that the token is valid, covers this bucket, and belongs to the account in the endpoint. If listing works but uploads fail, check Object Read & Write permission.
NoSuchBucket or 404
Check the exact bucket name, account endpoint and jurisdiction. The Bucket field is a name, not a URL.
SignatureDoesNotMatch
Re-enter the matching key pair without whitespace, use Region auto and the correct S3 endpoint, and check that your Mac clock is accurate.
Connection or network error
Check internet access and whether a proxy or firewall blocks the R2 endpoint. Keep public/custom domains separate from the S3 API endpoint.
No objects are visible
An empty root can be valid. Confirm the selected bucket and open its folder prefixes. The test result is not a recursive total of every object.

If the issue persists, send support your Blob0 version and the error message. Redact access keys, activation codes and signed URLs from logs or screenshots. If a secret was exposed, revoke that token in Cloudflare and create a replacement.

Contact Blob0 support

Official references

Connect another S3-compatible provider