r/javascript • • Oct 14 '26

Mimic - a browser-based dev environment that runs Node.js

https://github.com/mimic-js/mimic
12 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/gsweats Oct 17 '26

Interesting idea and really cool architecture. Great job pulling it off! With the rising cost of cloud compute and even on-prem hardware this idea of pushing work back on clients is appealing.

Could this theoretically plug into GitLab or whatever source management app in order to "npm install" and then run test scripts? So much compute time goes to running tests.

2

u/gianluca_caruso-6 21d ago

The CI bill doesn't disappear; it gets converted into laptop fans and battery drain. At least the person running the tests hears the fan before finance does.

1

u/archieofficial Oct 17 '26

Thanks!

Yes! It already loads the repos from GitHub and can install packages and call other CLIs in the playground: https://www.mimicjs.com/playground

I haven't checked vitest/jest running yet, but it should probably work fine, as do other Node programs.