sotirisspace / repo-ranger

Repo-Ranger is an AI-powered Github leaderboard that has no AI. It analyzes your Github activity and based on your score you win a clap 👏 or a 💩.
https://reporanger.xyz
GNU General Public License v3.0
6 stars 2 forks source link

[ENHANCEMENT] Repositories Scoreboard #13

Open AkisKourouklis opened 1 month ago

AkisKourouklis commented 1 month ago

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

  1. Creating new user
  2. 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: