Where are the backend data stored when my app has to write in the files in Github?

Hello guys! I am really curious about the cloud data storage here.
I created my app in Streamlit Community Cloud which is connected to my Github repository, this app will add logs every time I logged-in to the log.xlsx file in the same folder of app.py, but I can’t find any logs in Github folder. But this app is running well and I can see that this app is recording the logs. So where are the files? In the Streamlit Community Cloud? How can I find them and pull them to my local disk?

Thank you!

They are in the same machine where your app is running, for streamlit cloud that is a virtual machine dedicated to your app, set up using google services, I think. The details are of little practical relevance, since you don’t have much access to it anyway.

You can download files by using a download button or just a link.

1 Like

Also, note that, in addition to what @Goyo said, any changes you make to files in your app will not automatically be put into github. If you need to keep track of logs like that in a persistent location, I would recommend using an external database of some sort Connect to data sources - Streamlit Docs (Neon Connect Streamlit to Neon - Streamlit Docs is my current favorite choice)

1 Like