seladb/StarTrack-js

Deleted Stars

shivin9 opened this issue · 2 comments

Hi,

Thanks for creating StarTrack-js. I wanted to ask whether you track removed stars also as the star curve is always increasing.

Thanks,
Shivin

that's a very good point! unfortunately GitHub API does not provide any information on deleted stars. It only gives you the current stars on a certain repo and the date they were given.

Here is GitHub's starring API as a reference: https://developer.github.com/v3/activity/starring/

There is no way to track deleted stars without a backend polling this data continuously and comparing with the previous data. The problem with having such a backend (except for the efforts to build and maintain it) is that it'd required to poll GitHub API at scale which might cause an issue with GitHub's rate limiting

Thanks for the information!