Hey everyone,
I’m working on a Streamlit app to create a GitHub Wrapped—kind of like Spotify Wrapped but for your year in code! It would show your activity over the past year, with stats, trends, and some fun facts.
Current Progress
- I already built a first version using the GitHub API to fetch commit history, languages used, and contributions across repositories and show some basic metrics.
- Now, I want to improve how the app connects to GitHub. Instead of asking users for a token, I’d like to set up a st.connection for direct authentication.
What I Need Help With
- GitHub Connection with
st.connection
: Has anyone tried setting up a connection to GitHub this way? Any advice on handling authentication smoothly? - Fun Stats to Include: I have the basics like commit count and most used languages, but I want to add more fun insights. Some ideas:
- “Most chaotic commit” (most lines changed at once)
- “Longest commit streak”
- “Night owl vs. early bird coder” (based on commit times)
- Any other cool ideas?
- Best Ways to Show the Data: I’m using Plotly and Matplotlib, but if you have better ideas for visualizing GitHub stats, I’m all ears!
Would love to hear your thoughts! If you’ve worked with st.connection
for GitHub or have ideas for fun metrics, let me know. Thanks!