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
482 stars 23 forks source link

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

Closed williamstein closed 1 year ago

williamstein commented 1 year 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 1 year 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