chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

Running interface in browser

Open katyo opened this issue 5 months ago • 3 comments

Is it possible to use a frontend via browser?

First I would like avoid using electron in any case. Second I would like run backend on a remote machine.

katyo avatar Feb 25 '24 14:02 katyo

Remote backends are only partially supported in that you have to handle file syncing and dependency installation manually. It's not a recommended way to use chaiNNer.

As for running in the browser, I guess it's not technically impossible, but we would have to rewrite a large portion of chaiNNer to no longer rely on electron. For example, if you tried to run the current UI in a browser you would not be able to load and save chain files.

joeyballentine avatar Feb 25 '24 15:02 joeyballentine

@joeyballentine Thanks for detailed answer.

In my usage scenario I have powerful remote workstation. Because a remote graphics connection is not a preferred way to work for me, I think it may be useful have support running backend remotely and using electron-based frontent with it.

katyo avatar Feb 26 '24 10:02 katyo

Since that's still semi possible, you can try out following this guide: https://gist.github.com/adodge/1c250335b4d0d58575e3a2354a6f5c29

Note: it was not written by us

joeyballentine avatar Feb 26 '24 12:02 joeyballentine