Skip to content

Instantly share code, notes, and snippets.

View WalshyDev's full-sized avatar

Daniel Walsh WalshyDev

View GitHub Profile
@WalshyDev
WalshyDev / README.md
Created July 10, 2025 16:16
Workers Assets upload example with cloudflare-typescript

Workers Assets upload example with cloudflare-typescript

Setup

This example uses .env to populate the environment variables needed to process the requests. Setup a new .env file with the contents like the following:

CLOUDFLARE_ACCOUNT_ID=<ACCOUNT_ID>
CLOUDFLARE_API_TOKEN=<API_TOKEN>
ASSETS_DIRECTORY=