jamstackthemes icon indicating copy to clipboard operation
jamstackthemes copied to clipboard

Stars not getting updated

Open sharadcodes opened this issue 3 years ago • 3 comments

Many of my themes have more stars now but the site is still showing the old count. For example:

serial programmer

https://jamstackthemes.dev/theme/jekyll-theme-serial-programmer/

https://github.com/sharadcodes/jekyll-theme-serial-programmer

sharadcodes avatar Jul 30 '22 06:07 sharadcodes

Deleting data/themes.json before running npm run deploy seems to fix this issue, at least locally. Fresh data are fetched, including Github starts, but the rebuild takes a looong time

RoneoOrg avatar Sep 22 '22 20:09 RoneoOrg

+1 on old information on the site

nunocoracao avatar Nov 13 '22 23:11 nunocoracao

I'm running a fork[1] and found a way to update the stats:

  • delete data/themes.json
  • refresh the Github token
  • define X-GitHub-Api-Version in scripts/build/github.js (see the following commit)

I don't know if all these steps are required, please report your test results and I'll do the same. Cheers

[1] See https://jamstack.club -- Source code: https://gitlab.com/Roneo/jamstack.club

RoneoOrg avatar Mar 30 '23 09:03 RoneoOrg