seladb / StarTrack-js

GitHub star history and stats - based on JavaScript only!
https://seladb.github.io/StarTrack-js/
MIT License
550 stars 22 forks source link

Tracking github search results? #7

Open vjeux opened 4 years ago

vjeux commented 4 years ago

Omry just showed me this tool and it’s awesome! Great job (good call rewriting it to react ;))

I was wondering if you would be able to do a variation where you could track number of github search results over time. This would be super helpful to track the external growth of a project in terms of actual usage, less promotional behavior (stars).

Thanks!

seladb commented 4 years ago

What do you mean by github search results? Is it available through github API?

vjeux commented 4 years ago

Not really sure how to get the data, but here's a search query: https://github.com/search?o=desc&q=hydra.main%28config_path&s=indexed&type=Code

Would be great to have a graph of the number of results over time.

seladb commented 4 years ago

looks like github does have the API for it: https://developer.github.com/v3/search/

This might be a good idea, but probably for a later phase of the project. Your ask requires a backend process to run the query every day and a database to store the results.

Currently there is no backend at all, so that requires some work 😃

Once a backend is built I have more ideas of how to use it, for example: