Generates and updates the nuget.json file containing all active nuget packages, their associated repositories and contributors.
An active nuget package has at least 200 downloads per day in aggregate across the last 5 versions.
The static nuget.json file (updated once a month via a workflow) can be used in shields.io badges. The following are generated from the latest version, entirely server-less:
Source:
![NuGet Packages](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2Fdevlooped%2Fnuget%2Fraw%2Frefs%2Fheads%2Fmain%2Fnuget.json&query=%24.summary.packages&style=social&logo=nuget&label=packages)
![Daily Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2Fdevlooped%2Fnuget%2Fraw%2Frefs%2Fheads%2Fmain%2Fnuget.json&query=%24.summary.downloads&style=social&logo=nuget&label=daily%20downloads
)
Additional package owners can be added via owners.json so that all package stats can be collected for the given accounts. Static badges can then be used for those, such as:
The SponsorLink reference implementation complements this repo by providing support for the same shields.io badges for specific github accounts.
Examples:
The https://sponsorlink.devlooped.com/nuget/[all/dl]?[login]
Azure functions URL filters and sumarizes the nuget.json file for the given github login.