Miniflare – Simulator for developing and testing Cloudflare Workers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo wrangler

    🤠 wrangle your Cloudflare Workers

    Here are things I ran into.

    `wrangler login` doesn't work if I'm not already logged in to CloudFlare website. If I have to login first, it doesn't do whatever necessary redirect it should do so most of the time I have to run `wrangler login` twice.

    `wrangler dev` is slow.

    `wrangler dev` requires root domain. https://github.com/cloudflare/wrangler/issues/1529

    I also feel that the interaction between DNS settings and workers is under-documented, probably because it crosses responsibility of two different teams.

    For example, it took me way too long to figure out that if I have a workers-only website for foo.bar.org, I have to put dummy DNS entry for foo.bar.org

    Frankly, despite reading wrangler docs multiple times, I don't think I fully understand the interactions between what's in the DNS, what's in the workers route and further more if you add pages to the mix.

    Docs should explicitly spell out DNS / routes setup for most common scenarios like: 1) workers-only site (no proxying to any other server) 2) workers in front of a proxied website

    Workers should be seamlessly integrated with pages i.e. pages should just automatically recognize and use workers-site/ directory on deploy.

    I don't think setting up pages automatically configures DNS settings for its domain, which it obviously should (might be mis-remembering).

  • GitHub repo cloudflare-docs

    Cloudflare’s developer docs.

    Also, every pages as an "Edit on Github" link so you can go straight to the page you're seeing (in this case - https://github.com/cloudflare/cloudflare-docs/blob/productio...)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo miniflare

    🔥 Fully-local simulator for Cloudflare Workers

  • GitHub repo cloudflare-worker-local

    Run a Cloudflare Worker Locally

    I'm very happy about this, an official support to run Workers locally. I invested some of my personal time to get this tool, I submitted a patch on a community project (since Cloudflare wasn't officially supporting this). I think it was a very important missing piece for me to consider Workers a serious development tool.

    https://github.com/gja/cloudflare-worker-local/commit/ce6004...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts