What does HackerNews think of miniflare?

🔥 Fully-local simulator for Cloudflare Workers

Language: TypeScript

https://github.com/cloudflare/miniflare

It's a simulator, works like a charm. The next version is going to be based on workerd, the actual Cloudflare runtime which they recently open-sourced.

Slshx is a library for building strongly-typed Discord commands (https://discord.com/developers/docs/interactions/application...) that run on Cloudflare Workers (https://workers.cloudflare.com/), using a React-inspired syntax (hooks and JSX). It supports all Discord command types/options, autocomplete and interactive message components. During development, it automatically deploys your commands whenever you change your code.

I created this because I think Cloudflare Workers are a great fit for hosting Discord commands, but there wasn't an easy way to get started that had a fun development experience. I also wanted to see what a Miniflare-first (https://github.com/cloudflare/miniflare) library could look like.

Yes, miniflare [0] lets you run Workers locally, but I wouldn't treat it to production traffic.

There's also Deno, which is very similar in technology to Workers [1].

Others are building "Workers" atop WebAssembly, and things are looking up on that front as well [2][3].

See also: https://github.com/debarshibasak/awesome-paas

[0] https://github.com/cloudflare/miniflare

[1] https://deno.land

[2] https://github.com/suborbital/atmo

[3] https://github.com/krustlet/krustlet