stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[minor new feature] sort extensions by popularity (github stars)
Problem:
There are over 170 extensions. Some are popular and well maintained, others are still in early development. So every time I need a new feature, I need to open the github page for each extension and check their quality and popularity.
Solution:
Make it easier to find the most popular extensions. This will also help new users to discover and try the most popular extensions.
Method:
Sort each repo by their github stars and display the star count for comparison.
Requirement:
To load the start count correctly, you must load a json with the data.
For now, you can get use the Extension index URL from my github: https://raw.githubusercontent.com/GoulartNogueira/stable-diffusion-webui-extensions/master/index.json
but I've already submit the update to the official source.
I've also provided the script so they can run periodically and keep the star count up-to-date.
Checklist:
- [x] I have read contributing wiki page
- [x] I have performed a self-review of my own code
- [x] My code follows the style guidelines
- [x] My code passes tests
I made a rework of your PR https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/11520
I ended up merging w-e-w's solution since he already implemented changes on the extension repo side.
it doesn't really matter anymore but both PR should be compatible with the changes at the index since I specifically use the same key for the stars ate the index