Zero-Subscription Image Host for Obsidian & Blogging on Mac (Cloudflare R2 + Auto-Compression)
Use your own Cloudflare R2 bucket, a custom domain, and Blob0 on Mac to auto-compress and upload images from Obsidian, Typora, and your clipboard with zero monthly hosting fees.
If you write in Obsidian, Typora, or a Markdown blog on macOS, images quickly become the messiest part of your workflow. Keep them inside your vault and sync gets bloated; pay for a hosted image service and you pick up another recurring bill; wire up raw S3 scripts and every screenshot turns into a chore.
There is a cleaner setup that costs nothing for most personal blogs and vaults: store images in your own Cloudflare R2 bucket (which includes a generous free tier and zero egress fees) behind a custom domain, and let a local Mac app compress and upload each image the moment you paste it.
This walkthrough covers the full architecture, why R2 fits personal image hosting, and how to wire Obsidian, Typora, and direct clipboard uploads without running PicGo or committing credentials to plain text.
Why Cloudflare R2 works well as a personal image host
Traditional object storage charges twice: once for storing bytes and again every time a reader loads an image (egress bandwidth). For blogs, documentation, or shared notes, unpredictable egress is what makes AWS S3 feel risky for personal projects.
Cloudflare R2 removes egress fees and gives every account a free monthly allowance (10 GB of storage and millions of Class A/B operations — check Cloudflare R2 pricing for current limits). Pair an R2 bucket with a custom domain on Cloudflare (for example, https://img.yourdomain.com) and you get:
- Full ownership of every asset — no platform lock-in or broken links if a third-party image host shuts down.
- Fast CDN delivery — images are served over HTTPS from your own domain.
- Zero monthly SaaS rent for the hosting layer — most writers and indie developers stay comfortably inside the free tier.
The missing piece is the desktop workflow. Uploading screenshots through Cloudflare's web dashboard breaks your writing flow, and raw S3 CLIs do not automatically compress images or return Markdown links when you press ⌘V in Obsidian.
The architecture: local upload bridge + on-device compression
Instead of sending your images through a third-party SaaS backend, the whole pipeline stays on your Mac and talks directly to your R2 bucket:
| Step | What happens | Where credentials live |
|---|---|---|
| 1. Connect bucket | Connect Cloudflare R2 with OAuth (or manual S3 keys) and set your public image domain | macOS Keychain only |
| 2. Compress before upload (optional) | Shrink PNG, JPEG, or WebP locally on your Mac; upload untouched if compression does not reduce size | On-device (no API key for Local or Zipic) |
| 3. Local upload service | Blob0 listens on 127.0.0.1:36678 using a PicGo-compatible HTTP API protected by a local token | Local loopback only |
| 4. Paste in Obsidian | Pressing ⌘V sends the clipboard image to Blob0, uploads to R2, and replaces the paste with a public Markdown URL | Note keeps only the public HTTPS URL |
Step 1: Connect your Cloudflare R2 bucket
Before turning on image hosting, you need an R2 bucket with a Public URL (either a custom domain connected in Cloudflare R2 settings or an enabled public bucket URL) so readers can load images without signing in.
In Blob0, you can connect Cloudflare R2 in two ways:
- Sign in with Cloudflare (OAuth): Blob0 uses Authorization Code + PKCE to mint a single bucket-scoped R2 API token (
Workers R2 Storage Bucket Item Write), saves the S3 credential in macOS Keychain, and immediately revokes the temporary OAuth access token. - Manual access keys: Create a bucket-scoped R2 API token in Cloudflare Dashboard and paste the endpoint, bucket name, and keys into Blob0 (see our step-by-step Connect Cloudflare R2 guide).

Make sure you fill in the Public / custom domain field on the connection profile (for example, https://img.example.com). That is the base URL your Markdown notes will reference — never the private S3 API endpoint and never an expiring presigned URL.
Free plan note: Blob0's free plan includes one permanent connection with full access to image compression, clipboard uploads, and the local upload service. If you manage multiple buckets or providers, check Blob0 pricing for the one-time Pro license.
Step 2: Turn on automatic image compression
Retina macOS screenshots routinely weigh 1.5–4 MB as raw PNGs. Uploading them directly slows down your blog and burns storage faster than necessary.
Open Settings → Image uploads and enable Compress images before upload:

Blob0 offers three compression engines, shared across desktop uploads, the local PicGo service, and the CLI:
- Local (recommended default): Runs entirely on your Mac with no API key. Choose between Highest quality, Balanced, and Smaller files. PNG uses palette quantization while JPEG and WebP use lossy re-encoding at the chosen tier.
- Zipic: Uses the local CLI bundled with Zipic 1.10.5+ on macOS if you already own it.
- TinyPNG: Optional cloud engine using your own TinyPNG API key (stored in macOS Keychain). It is the only engine that sends images to a third-party server (
api.tinify.com).
Two safety guarantees apply across every engine: your original file on disk is never modified, and if compression does not produce a strictly smaller file, Blob0 uploads the original unchanged.
Step 3: Enable the local upload service (no PicGo app required)
Scroll down inside Settings → Image uploads to Local upload service:
- Select your R2 connection under Upload destination.
- Set an Object key prefix such as
obsidian/orblog/so uploaded images stay neatly grouped inside your bucket. - Turn on Enable local upload service (settings apply automatically) and confirm that Status shows Running (default port
36678). - Click Copy URL.

By default, the service listens strictly on 127.0.0.1 and requires a generated access token embedded in the copied URL:
http://127.0.0.1:36678/upload?token=YOUR_LOCAL_TOKEN
Keep that local URL private — it never gets written into your Markdown notes.
Step 4: Connect Obsidian or Typora
Obsidian (Image auto upload plugin)
- In Obsidian Settings → Community plugins, install and enable Image auto upload by
renmu123. - Open the plugin settings and set Default uploader to
PicGo(app). - Enable Auto pasted upload.
- Paste Blob0's complete copied URL into PicGo server upload route (named PicGo server in older plugin versions).
- Turn Remote server mode off (both apps run on the same Mac) and keep Delete source file after you upload file off until you have verified your workflow.
Now copy any screenshot, place your cursor in a note, and press ⌘V. Obsidian sends the image to Blob0, Blob0 compresses and uploads it to R2, and Obsidian inserts the public HTTPS Markdown link automatically.

If you already have a note full of local images, open Obsidian's Command palette (⌘P) and run Image auto upload: Upload all images to migrate them in one pass. For full plugin screenshots and troubleshooting, see the dedicated Obsidian Image auto upload guide.
Typora and other port-36677 editors
Editors like Typora hardcode port 36677 and do not support a token query parameter. In Blob0's Local upload service settings:
- Quit PicGo if it is running.
- Change Port from
36678to36677and press Enter to apply. - Turn on Token-free access.
- In Typora Preferences → Image, choose PicGo (app) as the upload service and click Verify Image Upload Option.
Security note: When Token-free access is enabled, any local process on your Mac can upload images to that public bucket without a token. Turn it off if you only use Obsidian or other token-aware tools.
Bonus: Uploading screenshots outside Obsidian
What if you are writing in a browser CMS, GitHub issue, or newsletter editor that has no PicGo integration?
You do not need a second menu-bar app just to push an image to R2:
- Open your target folder in Blob0 and press
⌘V(or click Upload → Preview clipboard files… if you want to inspect and rename the file first). - Blob0 compresses and uploads the clipboard image (or copied Finder files) with collision-safe naming so existing objects are never silently overwritten.
- Click Copy link on the completed transfer row to copy the public URL immediately.
Honest trade-offs and boundaries
- Blob0 must be open while Obsidian uploads. You can enable Launch at startup in Settings → Preferences so the local upload service is always ready.
- Blob0 is not a screenshot annotation or screen-recording tool. If you primarily want to draw arrows on screenshots and send quick links from the menu bar, read our Blob0 vs Dropshare comparison — many people keep a dedicated capture tool alongside Blob0.
- Public URLs are public. Setting a Public URL on a bucket means anyone with the exact link can view the image. If you need to share private client files with an expiration date instead, read how to send large files with expiring links.
Related guides and next steps
- Download Blob0 for macOS — free for one connection, or a one-time license for unlimited buckets.
- Send Large Files to Clients with Expiring Links — keep buckets private while sharing deliverables.
- Let Claude Code & Codex Upload Files Without Plaintext Keys — automate blog or release uploads from your AI coding agent.
- Step-by-step Obsidian Image auto upload documentation — detailed plugin versions, demo vault, and error troubleshooting.