Skip to content

🐛 Current streak and longest streak stuck at 369 days #139

@franznkemaka

Description

@franznkemaka

Hi Bloggify,

thanks for the awesome lib. I've been using it for almost a year. Unfortunately, the current streak and longest streak is stuck at 369 days.

Cause:
github-calendar uses github-calender-parser and it scrapes GiHub's graph and parses its content to extract the commit dates in order to create a streak count. Yet the graph can't display more days than that.

Potential solution:
One potential solution is to use https://github.com/DenverCoder1/github-readme-streak-stats API to get the longest streak and current streak days. It is server-based and basically uses GitHub API to get all committed dates of the user with the best accuracy.

What do you guys think about this, should I submit a PR?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions