Share a Streamlit App with Stlite Sharing | Scribe

    Share a Streamlit App with Stlite Sharing

    • Shantala Mukherjee |
    • 0 step |
    • 4 minutes
    Navigate to [https://edit.share.stlite.net/](https://edit.share.stlite.net/)
    Click "Empty Template"
    Delete the existing sample code and paste your own code
    Click the file upload button to upload any data files. In this case, it is 'APAC_sector_weight.csv'.
    Click "Save"
    The app will run and give an error because the module 'plotly' has not been installed yet.
    Click "requirements"
    By default, this tab will be blank.
    Type "plotly" in the first line.
    Click "Save"
    Pyodide will take a few seconds to install Plotly
    Click "streamlit_app.py"
    Click "Save"
    Click "Rerun" on the right hand side where the Streamlit app shows
    Go to the right hand panel where the Streamlit app shows and click "Open App". This will open the app in a new browser tab.
    To copy the shareable URL to your app, click on the copy icon
    I have pasted the copied URL in a Google Doc. Notice that the link is very long because the entire app is encoded and embedded in the URL.
    You can now close the '[edit.share.stlite.net](http://edit.share.stlite.net)' browser tab as it is no longer needed. The above URL for the app will continue to work, just paste it into a new web browser window and the app will load after a few seconds.

    Want to make guides like this in seconds? Yes, it's really that fast.

    This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe