Use Github API to get info on the searched repository, at first just try to have the easiest infos to get about the repo