Re:Denoflare – develop, test, and deploy Cloudflare workers ...
by jFriedensreich on Monday November 08, 2021 @07:49AM
(#29148748)
really great someone finally makes an effort to build something like miniflare based on deno. though as with miniflare i miss the official goal to not only be a test/simulation project but an official way to run your cf compatible functions in production.
[ Parent
| on HN ]
Re:Denoflare – develop, test, and deploy Cloudflare workers ...
by johnspurlock on Monday November 08, 2021 @12:17PM
(#29151546)
Author here: yes this is exactly the goal of denoflare, I started it before miniflare existed, and Deno seemed much more aligned with the Cloudflare Worker model than Node, honestly.
With denoflare, you can serve your Cloudflare Worker script locally and deploy it to Cloudflare with a single tool, without the need for Wrangler, Node, NPM, or a separate bundler.
Also makes writing/deploying ESM-module-based workers trivial - can even deploy a CF Worker to your own account from a URL, e.g. [1]
[1] denoflare push --name webtail https://raw.githubusercontent.com/skymethod/denoflare/v0.3.0...
Re:Denoflare – develop, test, and deploy Cloudflare workers ...
by jFriedensreich on Tuesday November 09, 2021 @08:12AM
(#29161261)
thats really awesome. but why not update the docs to refelct that? they only mention "develop and test" locally. Are you afraid cloudflare will see this development as a threat?