Private Github Repo

If I am not mistaken, private repos cannot be deployed to Streamlit sharing contrary to Heroku.
My questions:

  • Is there any reason for that?
  • Is there an intention to include this feature in the near future?

@Berk_Demir I too stumbled upon this. As far as I know private repos cannot be deployed using streamlit sharing but I guess the team is working on that.

If you still want to use the private repo Heroku offers a way to do so. Please have a look.

I have specified that I used Heroku and Streamlit’s private repo problem is “contrary to Heroku”. I prefer using Streamlit Sharing.

Yes, this is intentional as part of our product differentiation. Streamlit sharing is intended to promote sharing of ideas within the Streamlit community. Streamlit for Teams (our paid tiers) is intended for use cases requiring more computing resources and/or where users want to keep some portion of their code/logic proprietary.

Both Streamlit sharing and Streamlit for Teams are in active development, so when Streamlit for Teams becomes generally available, one could imagine having different tiers/add-ons, including private repos. But as of now, the expectation is that Streamlit sharing will remain public code repos only.


I understand your train of thoughts. However, I do not agree. I was planning on sharing some of my works with people so that they can use it on their works. However, I do not want this code to be publicly available away from my apps. Of course this is not what open-source means. But my intention was also good without willing to make any money.
But as I said, I understand and respect this decision of Streamlit.

1 Like