Overview
Develop, test, and deploy Cloudflare Workers with Deno
Denoflare CLI
denoflare
is a single cli tool to make developing and deploying Cloudflare Workers simple.
No need for Wrangler , Node , npm , or webpack 🤯 🤯 🤯 🤯
Deno is a great fit for Workers development, the runtime is based on the modern Web Platform , just like Workers, is secure by default , is based on ESM modules , and has a built-in bundler .
Denoflare can:
- Give you first-class support for ESM-based workers
- Help you develop and test a worker, by running locally inside a permissionless Deno isolate, similar to the
Workers Runtime
- see denoflare serve
- Deploy your JavaScript or TypeScript worker to Cloudflare easily from a local script file, or from an https: URL
- see denoflare push
- Monitor your workers in production from the command line
- see denoflare tail
- Generate a customizable static documentation site for Cloudflare Pages in the style of Cloudflare's
Docs Engine
- see denoflare site
- Keep track of your Durable Objects and R2 costs and statistics
- Call the Cloudflare REST API from the command line
- see denoflare cfapi
- Manage Cloudflare R2 storage using the S3 compatibility API
- see denoflare r2
- New! Deploy your worker to Deno Deploy, AWS Lambda, or Supabase Edge Functions
Deploy via files or URLs
Denoflare leverages Deno for bundling, so it works great for local files, but also URLs. Deploying a module-based hello worker is trivial:
denoflare push https://raw.githubusercontent.com/skymethod/denoflare/v0.6.0/examples/hello-worker/hello.ts
Roadmap
Denoflare is still under active initial development (pre 1.0), but is completely open-source and can be used as is.
The core serve
, push
, site
, and analytics
subcommands have been stable for while, so the focus at the moment is to provide first-class support for the expanding suite of Cloudflare's platform products such as:
Join the project over on the Denoflare GitHub repo .
Made with Denoflare
These projects are known to have used denoflare
for development.
firesky.tv
webtail.denoflare.dev
Watch live requests and logs for your Cloudflare Workers in the browser!
bundle.deno.dev
Support this project
Contributions to help fund ongoing development of Denoflare are welcome and appreciated!