vanguardvirtual / 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
4 stars 1 forks source link

[ENHANCEMENT] Contribute To Open Source Functionality #15

Open AkisKourouklis opened 6 days ago

AkisKourouklis commented 6 days ago

Is your feature request related to a problem? Please describe. (optional) We need to a functionality to inform users on the frontend on cool projects that they can contribute to. Filter them etc.

Describe the solution you'd like (required)

First we need to look for cool issue to save on our database we can use queries on the Github API like GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python

We will have different type of issues that we will recommend. Easy, Medium and Hard. We will filter them based on things like: check out additional context to see all endpoints

Each day we will have 1 page of Github issues (30 issues) for each of difficulty(easy, medium, hard), and after 24 hours we will refresh the github issues.

USE OF LLMS

Each issue we save to our database we will run through Anthropic AI to create a small description-tutorial on how to work on that issues. We will have LLM's to generate for as a small description and instructions for the issue.

Additional context (optional)

ewer Stars: Projects with fewer stars might be less overwhelming or smaller in scope. GitHub doesn't directly provide a search qualifier for a maximum number of stars, but you can sort by least stars:

GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python+sort:stars-asc

However, this doesn't limit the search to only small repos but sorts them in a way where smaller projects might appear first. Fewer Forks: Similarly, fewer forks might indicate a smaller or less popular project:

GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python+sort:forks-asc

Fewer Issues: Projects with fewer open issues might be smaller or more manageable:

GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python+issues:<100

This query assumes that a project with fewer than 100 open issues might be smaller, but this is a rough estimate. Created Recently: Newer repositories might still be small:

GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python+created:>2024-01-01

Adjust the date as needed to find projects started within a certain timeframe. Combining Factors: You could try combining some of these factors for a more refined search. Unfortunately, directly specifying repo size or complexity isn't supported in GitHub's search syntax, so we use these proxies:

GET /search/issues?q=is:open+label:"good%20first%20issue"+language:python+issues:<100+sort:stars-asc