Streamlit public app source code

Hi

I am new to streamlit. I want to ask very basic question that if I deploy a public app and the source code is in github , Can any one access the github repo for source code ? or can access public app only ??

Thank you

Hi @Ritushree_Pagare,

If you deploy a public app on Streamlit Community Cloud and the source code is hosted on GitHub, the accessibility of the GitHub repository depends on the repo’s settings:

  • Public Repo: Anyone can access both the app and the source code.
  • Private Repo: Anyone can access the app, but only authorized users can access the source code.

So if you want to keep your source code private while sharing your Streamlit app, ensure that your GitHub repository is set to private.

I hope that clarifies.

Thanks,
Charly

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.