Skip to content

Stars not getting updated #333

Open
Open

Description

@sharadcodes

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

Activity

  1. RoneoOrg commented on Sep 22, 2022

    @RoneoOrg
    Contributor

    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

  2. nunocoracao commented on Nov 13, 2022

    @nunocoracao
    Contributor

    +1 on old information on the site

  3. RoneoOrg commented on Mar 30, 2023

    @RoneoOrg
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions