github-traffic-viewer-website icon indicating copy to clipboard operation
github-traffic-viewer-website copied to clipboard

Suggestion: make this replace repo-analytics

Open Botspot opened this issue 11 months ago • 6 comments

Repo-analytics was a useful web app that was similar to this one. It would graph the view history of github repos, but it also tracked the clone history. image More importantly, to gather longer-term data and get around github's meager 2-week data timespan, the backend server would regularly check each repo's analytics and get new data. For a while there I had over two year's worth of data, and it was really useful to see every spike in clones and cross-reference that day to a news article or YouTube video referencing the project in question.

But then repo-analytics went down, and I believe it is never to return.

Suggestion:

  • track git clones
  • store viewership and clone data long-term and regularly collect new data
  • graph the clones and views with a graph that can show all-time, or can be made more specific to only show the past month, for example.
  • Keep a running total number of views and total number of clones somewhere. This feature never existed in repo-analytics, so back when it worked I tried to reverse-engineer the y-values of every point on the graph and correspond them to a number of views/clones. That was a mess.

Botspot avatar Mar 06 '24 13:03 Botspot

Like that idea but that involves running a server and a database which would involve maintenance costs at a certain point ;-)

Mokkapps avatar Mar 06 '24 19:03 Mokkapps

The creator of repo-analytics handled that with an optional donation to unlock stats of more than 3 repos. It seemed to have worked well, as that repo got over 200 stars. The source code is here: https://github.com/repo-analytics/repo-analytics.github.io

Botspot avatar Mar 06 '24 19:03 Botspot

Ok, that makes sense. Unfortunately, I don't have the time & motivation to implement & support this functionality at the moment.

But thanks for the suggestion, maybe I will implement it in the future!

Mokkapps avatar Mar 06 '24 19:03 Mokkapps

Completely understand, It will take the right person to do it. Is it OK to leave this issue open in case somebody else sees it and decides to take on the challenge?

Botspot avatar Mar 06 '24 19:03 Botspot

Yes, absolutely!

Mokkapps avatar Mar 06 '24 19:03 Mokkapps

I can confirm it now works for me now too. Thanks!

impressivewebs avatar Mar 07 '24 01:03 impressivewebs