Is your feature request related to a problem? Please describe. (optional)
Now there is no way for users to find good repositories. We need to create a scoreboard for good repositories as well
Describe the solution you'd like (required)
This repository scoreboard will be with tab on the front we will have 3 tabs. Rangers / Repositories / Chat. The repositories will be added automatically from the users that are already inside reporanger. We will use the existing repos table from this task https://github.com/vanguardvirtual/repo-ranger/issues/12
Repositories will have upvotes as well so they can get extra score.
We will have trending repositories that will be the top 3 with the most daily activity. We will do it the same way we did in the issue i mentioned above.
We will also tweet about the repositories every 5 hours and once a day we will tweet the top repository.
[ ] Have a repositories page with trending repos
[ ] Create a crawler to fetch new repositories every 48 minutes so we save 3000 each day
[ ] Add upvotes to repos, upvotes
[ ] Add comments to repos
[ ] Refresh repository once a day, only if people clicked on it. Because we don't have enough requests
[ ] Create reposotories algorithm, most activity by default and most up votes if they have any. Above 5
[ ] Repository analyzer before selecting it to show on daily repos (Have to pass a few checks)
Fetching New Repositories
Now we have 2 ways of creating new repositories
Creating new user
Refresh User
We will have 2 more ways. Creating one directly by passing its username by our crawler.
Crawler
We will crawl from the github api search https://api.github.com/search/repositories?q=&per_page=100. We will loop through for q all the alphabet letter and check the first 10 pages for each letter.
In order for the repo to get saved it needs to pass this checks:
Is your feature request related to a problem? Please describe. (optional)
Now there is no way for users to find good repositories. We need to create a scoreboard for good repositories as well
Describe the solution you'd like (required)
This repository scoreboard will be with tab on the front we will have 3 tabs. Rangers / Repositories / Chat. The repositories will be added automatically from the users that are already inside reporanger. We will use the existing repos table from this task https://github.com/vanguardvirtual/repo-ranger/issues/12
Repositories will have upvotes as well so they can get extra score.
We will have trending repositories that will be the top 3 with the most daily activity. We will do it the same way we did in the issue i mentioned above.
We will also tweet about the repositories every 5 hours and once a day we will tweet the top repository.
Fetching New Repositories
Now we have 2 ways of creating new repositories
We will have 2 more ways. Creating one directly by passing its username by our crawler.
Crawler
We will crawl from the github api search
https://api.github.com/search/repositories?q=&per_page=100
. We will loop through for q all the alphabet letter and check the first 10 pages for each letter.In order for the repo to get saved it needs to pass this checks: