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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Automate updating stats for github, discord, X, and Reddit on the main page. #214

Closed
mcdubhghlas opened this issue Nov 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mcdubhghlas
Copy link
Member

For these specific lines:

Github: MainPageHero.vue#L57

Discord: MainPageHero.vue#L64

Twitter/X: MainPageHero.vue#L71

Reddit: MainPageHero.vue#L78

I'm not familiar with vueJS or JS in general, but I'd imagine there is a sane way to auto-update these values via their respective APIs. For example, for github's API's is apparently free to access:

$ curl https://api.github.com/repos/Redot-Engine/redot-engine | grep "stargazers_count" | sed "s/[^0-9]//g"                                   
4742
@mcdubhghlas mcdubhghlas added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 13, 2024
@mcdubhghlas
Copy link
Member Author

Closing due to being the exact same as #183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant