Skip to content

Commit 9178d29

Browse files
committed
feat: fetch GitHub stars and sort software by stars
This commit introduces a script to fetch GitHub star counts and update software entries, allowing sorting by popularity. - Adds a script to fetch GitHub stars from the API - Updates archetypes to remove stars and stars_widget_url - Modifies layouts to dynamically fetch and display star badges, and update sorting. - Updates the github actions to run the script to update stars on new commits
1 parent 8d59989 commit 9178d29

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

archetypes/neuromorphic-software.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ website: "https://official-website.com"
1010
dependencies: "Key dependencies (e.g., PyTorch, JAX, NumPy, C++17)"
1111
field_of_application: "e.g., Machine Learning, Neuroscience, Data Processing, Hardware Interface, Robotics"
1212
source_code: "https://github.com/org/repo" # This URL is now used to automatically fetch the star count for sorting.
13-
version_widget_url: "https://img.shields.io/pypi/v/package-name.svg" # Or other relevant badge URL (e.g., GitHub release)
13+
# To display the version, use one of the following. `pypi_id` is preferred for PyPI packages.
14+
# Use `version_badge_url_override` for custom badges (e.g., from GitHub releases or other registries).
15+
pypi_id: "" # e.g., "snntorch". This will auto-generate a PyPI version badge.
16+
# version_badge_url_override: "" # e.g., "https://img.shields.io/github/v/release/user/repo"
1417
license: "e.g., MIT, GPL-3.0, AGPL-3.0, Apache-2.0, custom"
1518
supports_hardware: false # Set to true if it directly supports or deploys to neuromorphic hardware platforms
1619
supports_NIR: false # Set to true if it supports the Neuromorphic Intermediate Representation
@@ -25,4 +28,4 @@ Detailed information about the software.
2528
- What problems does it solve?
2629
- Key features and functionalities.
2730
- Target users or research areas.
28-
- How to get started.
31+
- How to get started.

0 commit comments

Comments
 (0)