Skip to content

askushi/github_download_metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Releases Metrics Viewer

This Streamlit app fetches and visualizes GitHub release metrics for any public repository.

Try it live at: https://gh-release-stats.streamlit.app/

demo

πŸ“‹ Features

  • πŸ” Input any GitHub account and repository
  • πŸ“¦ Fetches all releases (handles GitHub API pagination)
  • πŸ“ˆ Displays:
    • Total number of downloads
    • Total number of releases
  • πŸ“Š Interactive table:
    • Version-wise download counts
    • Sortable, filterable, and color-coded using AgGrid

πŸš€ Getting Started

1. Clone this repository or copy the script

2. Install dependencies

pip install streamlit requests pandas

3. Run the app

streamlit run fetch_gh_metrics.py

πŸ› οΈ Configuration

When the app starts, enter:

  • GitHub account name (e.g. myAccount)
  • Repository name (e.g. some_repo)

Click Fetch Releases to retrieve and display data.

πŸ“Œ Notes

  • The app uses GitHub’s REST API with pagination (100 items per page).
  • Caching is enabled to reduce API calls (ttl=300 seconds).
  • Supports only public repositories.

πŸ“„ License

MIT License

About

A way to check how many times a release has been downloaded

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages