Can I return a html file?

I want to create a app. The app should be log in first and then enter the system. Can streamlit use the button to refresh the html page or return a new html page.Thank you.

Hi @nelson_wu and welcome to the forum :wave:

We’ve been discussing that over here Please take a look and let me know if you have any questions.

Also, one of our major goals for 2020 is Streamlit plugin system which will give you the ability to write arbitrary JavaScript code and insert it into your app. This opens the door for a lot of possibilities for custom solutions to layout, visualization, interactivity with chart/maps/tables, and other unique needs of your app. You can help design this feature or follow its progress over there

P.S. Thanks for using Streamlit!

Hi @kantuni, following up on this question, if I’m running streamlit lets say as a lambda function in a python container, is there a way where one would send the data to streamlit and get the js/html bundle back from the server?

Hey @urosran,

Right now that’s not supported in Streamlit, but feel free to submit a feature request on GitHub and we will come back to you with the timeline when / if it’s going to be implemented.

Please let me know if you need anything else. :slight_smile:

Thanks for the answer @kantuni, I’ll be sure to do that :slight_smile:

1 Like

You’re always welcome!