I’ve had a dream for a long time. That it should be easy for everyone to develop and share data apps: Data apps for every one
With panel convert to webassembly this is within reach. I’ve released a first prototype of Panel Sharing. Try it out at awesome-panel and let me know what you think.
Nice! The page does take a while to load, making a user think it’s broken. Once it loads it seems reasonably responsive, though the fonts and layout are messed up on my system:
I know Its only a prototype. Most of the issues I know how to solve. Just need time.
The one thing I don’t know is how to get the “convert and reload” process to be really fast (max 2 seconds). I’ve created a Feature Request to Panel to make the convert and reload experience faster. Or at least to get some idea for doing this #4043.
stlite sharing takes time to load but after the initial load the Streamlit app reloads super-fast when the code is updated.
What I know though is that they can “mount” streamlit in a div and when the streamlit applications starts is writes something about mounting filesystem.
If you just done this over last hour think my experience vastly improved though maybe not a fair test from a premier inn free wifi on a small screen iPhone but it does work reasonably well.
My experience
~ 1 hour ago i did not appreciate the wait but I was eager to try out your continued efforts
~ 5 min ago considerable change in wait time for the better, I’m putting it down to your changes here, my initial thoughts were something cached on the phone until i saw your note
The pyodie spinning wheel would be nice to give a progress update or percentage indicator, sometimes I get stuck on code executing for longer than i would like to see and unsure if it has hung or not - 4 times out of 5 I hit refresh and it loads speedy but I’m on edge every time i see that wheel now
Thanks a lot @carl . The feedback is much appreciated.
My experience right now on my iPhone is that 1) on Safari the app stops at the “executing code” step 2) in Chrome the apps loads and executes reasonably well 3) on Chrome the videostream stops after the first image is taken. These problems are probably something for Pyodide (or Panel) to solve?
So you can in fact share your apps now! Panel Sharing works! But I still need to add authentication to Github, persisted storage and lots of small details.
I’ve added add support for a base64 encoded project url that is updated whenever you convert the project.
This is an easy way to save and share the state of Panel Sharing without having to login and share with the rest of the world. There will be some constraints as browsers support urls of very varying length (Chrome probably best).