sagemathinc / cowasm

CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
https://cowasm.org
BSD 3-Clause "New" or "Revised" License
503 stars 26 forks source link

make a standalone command line version of python-wasm using pkg #28

Closed williamstein closed 1 year ago

williamstein commented 2 years ago

This https://www.npmjs.com/package/pkg would make it possible to have a lightweight purely command line version of python-wasm for windows, macos, linux, without using electron. There would of course be no graphical UI, which is fine.

liudonghua123 commented 2 years ago

https://www.npmjs.com/package/nexe is also another bundler.

williamstein commented 1 year ago

I looked into pkg and I'm not happy with it.

I think the right approach for this project is electronjs and after days of work I've created this, which provides a standalone version of python-wasm:

https://github.com/sagemathinc/cowasm-desktop