vercel-labs/scriptc ? reverse-engineered prompt

Reverse engineered prompt

Build me a tool that takes TypeScript or JavaScript files and turns them into real native executables, and also supports WebAssembly output for WASI. I want it to feel like a simple CLI, so I can run a script directly, or compile it into a standalone binary I can ship without Node installed.

It should handle basic Node style code like console output, simple HTTP servers, timers, async code, and common npm packages when needed. If something can’t be compiled statically, I want a clear warning or diagnostic instead of it failing mysteriously. It would also be great if there’s a way to check how much of a program can compile natively before building it.

Please make it work on macOS, Linux, Windows, and WASI, and keep a readable fallback backend for debugging. If you need to look up current docs or platform details online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab