An open API service indexing awesome lists of open source software.

https://github.com/pnmartinez/repo-popularity-stats

Simple tool to check whether a repo is getting increasingly more attention or not.
https://github.com/pnmartinez/repo-popularity-stats

github issues repository stats tracker

Last synced: about 2 months ago
JSON representation

Simple tool to check whether a repo is getting increasingly more attention or not.

Awesome Lists containing this project

README

          

# repo-popularity-stats

Simple tool for visually inspecting whether a repo you are interested in is going viral. Useful to check where you stand in the "competitive advantage landscape" by using that code.

![repo-popularity-stats-issue-creation-trend](https://repository-images.githubusercontent.com/282170014/29a85a80-d1e0-11ea-9c86-b9cf27490645)

## Quickstart on commmand line (CLI)

Simply get from the repo URL the `repo_creator/repo_name` and run:
```
python cli.py repo_creator/repo_name
```

## Two folded code: CLI + Jupyter

The code is in a Jupyter notebook, nicely shown.

It is *the same code* as the in the command line interface `cli.py` (only without the argument parsing header). It is quite self-explanatory: open it and take a look.

If you use the notebook just change the first cell to **define the target repo you want to analyze**, and then run all cells.

It will query GitHub's API, which has different limits for registered/unregistered requests; unregistered has worked fine so far.

## Need other repo stats?

Open one of the URLs that the program is querying, i. e:

```
https://api.github.com/repos/ + repo_creator/repo_name + /issues?state=all&per_page=100&page=1
```

You can check all the JSON fields and change the code to retrieve whatever you need.