GridSpace / grid-apps

Browser-based Slicer for 3D Printing, CAM, Laser (Kiri:Moto) and mesh editor (Mesh:Tool)
https://grid.space/
MIT License
464 stars 143 forks source link

electron version? #129

Open 0xtrzy opened 3 years ago

0xtrzy commented 3 years ago

Is possible create electron version for linux?

stewartoallen commented 3 years ago

Yes, I have not looked into this in quite some time. I would be happy to accept a code contribution if someone did the work.

ConorIA commented 3 years ago

Not sure if this is of interest, but there is a PoC for a QT wrapper for a different webapp over at https://gitlab.com/ddobrev/Fibre. It could be adapted for Kiri:moto in a manner of minutes. It is lighter than electron, but I couldn't provide a full pro/con list for one or the other.

pbek commented 3 years ago

Doing something with https://nwjs.io/ also should also be possible.

pbek commented 3 years ago

Not sure if this is of interest, but there is a PoC for a QT wrapper for a different webapp over at https://gitlab.com/ddobrev/Fibre. It could be adapted for Kiri:moto in a manner of minutes. It is lighter than electron, but I couldn't provide a full pro/con list for one or the other.

I'm not sure if Qt webengine supports WebAssembly, I can only find open feature requests.

pbek commented 3 years ago

I gave it a few hours, see https://github.com/GridSpace/grid-apps/pull/181. You can already run the app on a desktop with npm run start. Needs more work.

pbek commented 3 years ago

But it looks already nice...

image
sp00ck commented 2 years ago

nice idea, i need this. i need offline program

pbek commented 2 years ago

The PR never got merged. 😅 #181

stewartoallen commented 2 years ago

at this point the PR conflicts. also, it really gets into the package file -- is there a way to create a more stand-alone package or put it all into a sub-directory?

sp00ck commented 2 years ago

The internet will not always work and not everywhere. I just want to be able to work completely offline. Without access to the Internet. At home on a disk.

I do not care in what form. Of course it would be best if the electron contained everything as in the 'large' installation to make it easier to maintain. But for a user the most important thing would be one file without problems with dependencies, libraries etc. That's why electron and similar were created. A directory is not the ideal solution when it comes to dependencies.

less problem == electron (or docker but it is not this same easy way and not on all platforms)

pbek commented 2 years ago

181 was based on https://nwjs.io/, feel free to take over where I have started. 😁