3 ms·
this is incredible! can you make this interface usable from a web browser (such as chrome) rather than an app?
by purplecats 1y ago
this is incredible! can you make this interface usable from a web browser (such as chrome) rather than an app?
- thejash 1y agoIt actually originally worked that way, and you can still mostly kinda use it that way (except that, because of CSRF protection, it's obnoxious -- run the program once to figure out the command line that the backend python process is started with, eg, via `ps -Fe` on linux, then shut down the app, then run that process. As long as you don't set the `ELECTRON_APP_SECRET` env var, CSRF will be disabled. Use `netstat -pant | grep -i listen` to figure out what port it is listening on) Obviously not the most user friendly or usable, but we found that people often got pretty confused when this was a browser tab instead of a standalone app (it's easy to lose the tab, etc)
- bni 1y agosculptor_backend seems to consume a lot of CPU and memory when just idling. Would you consider switching from Electron to Tauri so it uses the native WebView of the OS?