Can viewers see source code of my app?

Hi!

I have deployed an app from a private repository, and selected the option ‘This app is visible to anyone with the link’.

However, I’m not what this means for the source code. If someone gets a hold of the link, can they also see my python code (e.g. through developer tools), or can they only see the user interface?

Thanks,
Daniel

Hi @dswigh, welcome to the Streamlit community!

No, if your code repo is private, then people cannot see the source code, irrespective if your app is available to the world. You can validate this by right-clicking in the browser and selecting ‘view source’; all you’ll see is obfuscated JavaScript, no Python code.

Best,
Randy

Thank you!

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