pikku-deploy-cloudflare

Deploy Pikku apps to Cloudflare Workers with fetch handlers, scheduled tasks, and Durable Objects.

56|Updated Apr 18, 2021
One-click install
npx skills add https://github.com/pikkujs/pikku --skill pikku-deploy-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pikku-deploy-cloudflare
Source: https://github.com/pikkujs/pikku/tree/main/.claude/skills/pikku-deploy-cloudflare
Command: npx skills add https://github.com/pikkujs/pikku --skill pikku-deploy-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy Pikku apps to Cloudflare Workers, enabling HTTP fetch handlers, scheduled tasks, and Durable Objects in a Cloudflare runtime.

Core Features & Use Cases

  • Cloudflare deployment integration for Pikku apps, including fetch handlers, scheduled tasks, and Durable Objects.
  • Streamlined worker entry configuration and environment binding using the Pikku setup-services pattern.
  • Typical use cases include exporting worker handlers and configuring wrangler.toml for production deployments.

Quick Start

Install the Cloudflare integration for Pikku and configure your worker entry to enable fetch, scheduled tasks, and Durable Objects.

Frequently Asked Questions about pikku-deploy-cloudflare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Pikku app to Cloudflare Workers with fetch handlers?

To deploy a Pikku app to Cloudflare Workers, wire a worker entry using runFetch for HTTP fetch handlers and configure wrangler.toml for production deployment.

Can I run scheduled tasks on Cloudflare Workers using Pikku?

Yes, you can run scheduled tasks on Cloudflare Workers by wiring the worker entry with runScheduled and exporting the scheduled handler configuration.

Does Pikku support Durable Objects when deploying to Cloudflare?

Pikku supports Durable Objects in Cloudflare deployments by configuring the worker entry and wrangler.toml to export the required Durable Objects bindings.

How do I configure environment bindings for a Pikku Cloudflare Workers deployment?

Configure environment bindings by using the Pikku setup-services pattern within the worker entry to map Cloudflare environment variables to application services.

What is the best way to integrate the @pikku/cloudflare package into a worker entry?

Integrate the @pikku/cloudflare package by installing it in your project and importing it into the worker entry to enable fetch, scheduled, and Durable Objects handlers.

Why do I need a wrangler.toml file for Pikku Cloudflare Workers deployments?

A wrangler.toml file is required to define production deployment configurations, including Durable Objects bindings and handler exports for the Cloudflare runtime.