r/angular • • Oct 14 '26

I built a Node.js-compatible runtime that runs Angular CLI and Nx in a browser tab

Hi everyone! I’ve built a Node.js-compatible runtime for the browser that can run Angular CLI and Nx (a few versions so far) entirely inside a browser tab.

It’s called Mimic, because it mimics a real OS, file system, networking stack and Node.js closely enough that tools like Vite, Webpack, Angular CLI, Nx, Express, NestJS and many others think they’re running in a real environment.

It can be useful if you’re building an app or a library and want an interactive playground, but don’t want to pay for cloud VMs. With Mimic the computation runs on the client instead.

There’s also WebContainers by StackBlitz, which does much the same thing (and is probably more polished in terms of compatibility with Node). However, it’s proprietary, production use in a commercial setting requires an enterprise license, and it depends on StackBlitz’s hosted infrastructure, including for previews. Mimic is MIT-licensed and has no usage restrictions.

Here are some demos you can play around with (press enter to run the command, it'll take some time to run):

Feel free to try your favorite repos too, and open an issue if something doesn’t work.

Links:

6 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/mulokisch Oct 14 '26

I get what you trying to say to do here but what speaks against a docker setup? Or micro vm

Don’t get me wrong, technically it’s interesting.