Cloudflare Launches Remote Binding for Local Development

Cloudflare Announces Remote Bindings for Local Development

Cloudflare has released the general availability of remote bindings for local development.

Remote bindings let developers connect directly to production, deployed resources in their Cloudflare account — removing the need to rely only on local mocks or simulations.

---

What This Means for Developers

With remote bindings, you can:

  • Connect locally running Worker code to deployed resources — such as R2 buckets and D1 databases.
  • Test local code changes against real production or staging data.
  • Eliminate complex local mock setups.

Example: configure Wrangler or Vite to proxy all requests to `env.MY_BUCKET` with remote binding enabled.

{
  "name": "my-worker",
  "compatibility_date": "2025-09-25",
  "r2_buckets": [
    {
      "bucket_name": "my-bucket",
      "binding": "MY_BUCKET",
      "remote": true
    }
  ]
}

Result: all requests to `env.MY_BUCKET` are forwarded to the remote resource, while the Worker executes locally.

---

Supported Tools

Remote bindings are supported in:

  • Wrangler v4.37.0
  • Cloudflare Vite plugin
  • @cloudflare/vitest-pool-workers

You can combine remote bindings with environment-specific configurations, e.g.:

  • Access staging data for local testing.
  • Keep production data protected.

---

How Remote Bindings Work

Cloudflare engineers Samuel Macleod and Dario Piotrowicz detailed the architecture in this blog post.

> We wanted developers to access remote resources without changing production Workers code... We realised we could leverage the same production API.

Service Bindings Explained

A service binding links two Workers, enabling communication over HTTP or JSRPC.

In remote bindings:

  • Local runtime (`workerd`) translates calls like `env.KV.get()` into HTTP requests.
  • Requests are sent directly to the remote KV service.
  • This bypasses the production runtime while keeping behavior consistent.
image

Source: Cloudflare blog

---

Remote KV Binding Flow

With a remote KV binding:

  • Local Worker skips the local KV simulator.
  • Calls go through a remote proxy client.
  • Remote proxy server connects to the real KV store.
  • Developer accesses live KV data during development.

---

Developer Feedback

Positive responses from the community include Dyords Abuzo’s comment:

> No more “it worked on my machine... but where did my data go in production?!” Massive win for developer experience.

---

New Wrangler Utilities

  • `startRemoteProxySession` — supports remote bindings outside of `wrangler dev`.

Starting with:

  • Wrangler v4.37.0
  • Vite plugin v1.13.0
  • Vitest plugin v0.9.0

You can enable remote bindings for any resource by adding:

"remote": true

to its Wrangler configuration.

---

Complementary AI-Powered Content Workflows

In modern development, especially with AI-assisted code/content generation, linking production resources to local development can greatly accelerate iteration.

Example platform: AiToEarn官网

  • Integrates AI-powered workflows with multi-platform publishing.
  • Publishes and monetizes content across Douyin, Kwai, WeChat, Bilibili, Rednote, Facebook, Instagram, LinkedIn, Threads, YouTube, Pinterest, and X.
  • Provides analytics and rankings via AI模型排名.

Use case:

For teams developing applications and deploying AI-generated content, combining Cloudflare remote bindings with AiToEarn’s publishing toolkit enables:

  • Seamless dev/test with real backend data.
  • Instant distribution of content across multiple channels.
  • Live performance tracking.

---

Bottom Line:

Remote bindings make local development faster and more accurate by connecting directly to live Cloudflare resources. Paired with multi-platform publishing tools like AiToEarn, teams can streamline both technical deployments and content distribution — keeping staging, production, and creative workflows tightly integrated.

Read more

Translate the following blog post title into English, concise and natural. Return plain text only without quotes. 哈佛大学 R 编程课程介绍

Harvard CS50: Introduction to Programming with R Harvard University offers exceptional beginner-friendly computer science courses. We’re excited to announce the release of Harvard CS50’s Introduction to Programming in R, a powerful language widely used for statistical computing, data science, and graphics. This course was developed by Carter Zenke.