aalykiot/dune ? reverse-engineered prompt

Reverse engineered prompt

Build me a small cross platform JavaScript and TypeScript runtime called Dune, kind of like a hobby version of Node, written in Rust and powered by V8.

I want it to run regular JS files, TypeScript files, and even JSX or TSX for server side rendering. It should have the usual stuff people expect, like console, timers, process info, fetch, file system access, and basic TCP networking so I can make simple servers and clients. It should also support importing remote modules from URLs, plus common things like import.meta.main and import.meta.resolve.

Please make it feel like a real command line tool, with install scripts for Mac, Linux, and Windows, a way to build it from source, and a few examples I can run right away. If you need to check current docs or API details while working, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab