ecosyste-ms / ost

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources, based on data from https://opensustain.tech
https://ost.ecosyste.ms
GNU Affero General Public License v3.0
4 stars 1 forks source link

Add dependencies as additional donations option for OpenClimate.fund. #282

Open Ly0n opened 5 days ago

Ly0n commented 5 days ago

As discussed yesterday in the OST meeting we can add the OST dependencies that are unique in this space. This information can also be used for our next publication.

Most of the data is already been available here based on issue #87 : https://ost.ecosyste.ms/projects/dependencies

Andrew suggested that we remove the top 1% or 2% of projects dependencies on each package manager, so that we get the unique dependencies for OST based on programming language and category.

andrew commented 5 days ago
Screenshot 2024-06-26 at 11 05 57

I've added a link to the dependencies on that page that are already part of OST.

Next step is to fetch details for all those dependencies from https://packages.ecosyste.ms/ so we can see if they are in the top X percent for their ecosystem.

andrew commented 5 days ago

Some relevant stats:

andrew commented 5 days ago

I've kicked off a script to sync the data for all 12k dependencies, that may take an hour to run, I think I'm going to make a seperate Dependency table for faster lookups rather than scanning the whole projects table though.

Ly0n commented 5 days ago

Brilliant, I'm curious!

andrew commented 4 days ago
Screenshot 2024-06-26 at 15 11 39

Now showing the average ranking of each dependency in the list, so you can see how popular it is within it's ecosystem (i.e. within the top 0.1% of packages on pypi)

I've also added a threshold url parameter option so you can have a play around with different limits to see how the look: https://ost.ecosyste.ms/projects/dependencies?threshold=1.0 (anything with an average ranking lower than the threshold isn't displayed, unless it's an OST project)

andrew commented 4 days ago

Performance of the threshold option isn't great right now, need to make some improvements to rendering speed, but try refreshing if it times out.