Hi! I really liked the idea of turning my Streamlit app into a progressive web app (PWA). This would make it so people could “install” my app to their phones and have a fullscreen interface for it. I looked for a while and couldn’t find many resources for how to turn a Streamlit app into a PWA. So I worked out my own solution!
It’s slightly hacky, but the basic idea was to embed the Streamlit Cloud app iframe into a minimal website with all the fixings needed to make it into a PWA. It doesn’t have caching or work offline like advanced PWAs do, but users can still “install” it and use it while connected to the internet.
Here’s a template in case it’s useful to others: