cloudflare-to-bun

Community

Migrate Cloudflare Workers to Bun with ease.

AuthorDaleSeo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cloudflare Workers often require code and deployment changes to run on Bun, including API mappings and bindings replacements. This Skill provides structured guidance for converting edge functions to Bun-compatible server code and updating bindings, enabling a smoother migration.

Core Features & Use Cases

  • API Mapping: Translate Cloudflare Worker runtime APIs to Bun equivalents to preserve functionality.
  • Bindings Migration: Replace KV, R2, D1, and Durable Objects with standard storage/backends.
  • Deployment Guidance: Plan edge-to-server deployment and modernization strategies for Bun servers.
  • Use Case: Migrate a module worker that uses fetch, KV, and durable objects to a Bun server with equivalent patterns.

Quick Start

Start by reviewing references and migrating a simple module worker to Bun, focusing on fetch API, KV -> Redis mapping, and replacing Durable Objects with Redis-backed state.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cloudflare-to-bun
Download link: https://github.com/DaleSeo/bun-skills/archive/main.zip#cloudflare-to-bun

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.