widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.84k stars 134 forks source link

Solara as desktop app #114

Open maartenbreddels opened 1 year ago

maartenbreddels commented 1 year ago

Started https://github.com/widgetti/solara/discussions/100 and also asked about on Discord.

I'm opening this to collect interest.

What I can see happening is a pyinstaller + https://pypi.org/project/pywebview/ in CI to test if it is possible to make a desktop-like application and because in CI it will always be stable. But users will still have to build the custom apps themselves if they need particular python packages.

maartenbreddels commented 1 year ago

pywebview seems to have issues with requirejs https://github.com/r0x0r/pywebview/issues/794#issuecomment-1561919917

Jhsmit commented 1 year ago

I would use this if it would exist. Currently I have an app which is a desktop-like app but it confuses users because they have to launch it by double clicking a shortcut to a .bat file (highly suspect) and then it opens in the browser which is generally associated with 'being on the internet' while its not.

Also the installation is complicated, I have to to do this myself on one particular PC for all users, install python env, update dependencies and app version etc etc

Although my experience with pyinstaller wasn't always smooth either