Add GitHub stats for custom nodes (#533)

* Add GitHub stats fetching feature
- Added PyGithub package to requirements.txt for GitHub API interaction
- Updated .gitignore to ignore github-stats-cache.json
- Produced github-stats.json for storing GitHub stats
- Modified scanner.py to include the GitHub stats fetching process

* Add sorting for 'GitHub Stars' and 'Last Update' columns

- Fetch 'GitHub Stars' and 'Last Update' data when getting the custom node list.
- Display 'GitHub Stars' and 'Last Update' information in the UI.
- Implement sorting functionality for these two columns, allowing users to sort both in descending and ascending order.

* fix: scanner - prevent stuck when exceed rate limit

---------

Co-authored-by: Dr.Lt.Data <dr.lt.data@gmail.com>
This commit is contained in:
Liu Sida
2024-04-02 19:56:09 +08:00
committed by GitHub
parent 9f2323d1fb
commit abae9638ac
6 changed files with 2915 additions and 79 deletions

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@ startup-scripts/**
matrix_auth
channels.list
comfyworkflows_sharekey
github-stats-cache.json