jrieke / streamlit-analytics

👀 Track & visualize user interactions with your streamlit app
MIT License
262 stars 48 forks source link

Firebase secure deployment support #30

Open nathanjones4323 opened 1 year ago

nathanjones4323 commented 1 year ago

This package is awesome! My only problem was that I need to persist the data with firebase, but I can't push my firestore-key.json file to GitHub for security.

This PR uses the method from this blog post to read the firebase credentials from st.secrets in addition to directly from firestore-key.json

nathanjones4323 commented 1 year ago

Link to Streamlit discussion on this PR

nathanjones4323 commented 1 year ago

Resolves Issue #29

nathanjones4323 commented 1 year ago

@jrieke Let me know if you need me to update anything or have questions !

jgieseler commented 1 year ago

Would be really nice if this PR would be merged at some point...

abrayne commented 7 months ago

I would also like a solution of this kind

444B commented 2 months ago

FYI this PR was integrated into version 0.7.0 of streamlit-analytics2 downstream fork (latest version 0.7.7 at time of writing)