Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

badge suggestion: dependent packages and dependent repos from ecosyste.ms #9846

Open
chris48s opened this issue Dec 28, 2023 · 0 comments
Open
Labels
service-badge Accepted and actionable changes, features, and bugs

Comments

@chris48s
Copy link
Member

chris48s commented Dec 28, 2023

馃搵 Description

https://ecosyste.ms/ collates and publishes open data about a variety of package ecosystems.

I suggest using their API to create 2 badges showing

  • number of dependent packages and
  • number of dependent repos

馃敆 Data

Docs: https://packages.ecosyste.ms/docs/index.html

Some example API calls:

Rate limit: https://github.com/ecosyste-ms/packages/#api
5000/req per hour (pretty generous) with option to contact and request an increase

馃帳 Motivation

I think the case where this API would be most useful are the dependent_packages_count and dependent_repos_count fields. At the moment, we have libraries.io badges for these but given the problems we are having in #9839 I think implementing some badges that show this data from ecosyste.ms would give users somewhere to go if we aren't able to get an upstream solution to help us get the token pool working again and have to deprecate.

There could be other useful data points that are available from this API, although a lot of them would just replicate data available from the upstream registries themselves (e.g: latest version, downloads, etc). I wouldn't want to get too bogged down in reproducing data points we already get straight from the registries, especially given there is a rate limit to stay under.

@chris48s chris48s added the service-badge Accepted and actionable changes, features, and bugs label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

No branches or pull requests

1 participant