Easily search for GitHub treasures! Find your ideal project quickly with these tips

“Blogger Profile”

Hello friends, my name is A Xu. Focus on sharing research related to artificial intelligence AI, python, and computer vision.
?For more learning resources, you can follow Gong-Zhong-hao: [Axu Algorithm and Machine Learning] to learn and communicate together~
Thank you guys for liking and following!

“——Recommended Classics from Previous Issues——“

1. Practical Column on AI Application Software Development [Link]

Project name Project name
1. [Development of face recognition and management system] 2. [Development of license plate recognition parking lot management system]
3. [Development of gesture recognition system] 4. [Development of facial liveness detection system]
5. [Development of rapid image style transfer software] 6. [Facial expression recognition system]
7. [YOLOv8 multi-target recognition and automatic annotation software development]

2. Machine Learning Practical Column [Link], has been updated for 31 issues. Welcome to pay attention and will continue to be updated~~
3. Deep Learning [Pytorch] Column [Link]

《——Text——》

Foreword

Many friends often have this kind of confusion. I read a lot of technical learning documents, books, and even videos. I wanted to practice it, so I opened GitHub and wanted to find an open source project to learn and gain practical experience in the project. . At this time, many friends will face this problem: “I don’t know how to search, how should I find it?”, and they can only give up in the end. I believe that after reading this article, you can learn how to accurately search for projects on GitHub.

1. Components of open source projects

Before we explain it clearly, let’s first understand what components an open source project has:
? name: project name
? description: A brief description of the project
? Source code of the project
? README.md: Introduction to the details of the project

In addition to these elements, the star number and fork number of the project itself are also criteria for judging whether an open source project is popular. This is also a very important search criterion. In addition, we should also pay attention to the latest update date of this project, because the more active the project is, the more frequent its update date will be.
The above elements are some key points that we should pay attention to when searching.

2. How to search quickly and accurately

So how do we quickly and accurately search for the projects we want?
Suppose we want to search for React now. I believe most friends will directly enter: "React" in the search box, and then press Enter, you will find that the situation looks like This is what it looks like:

The search results will show a lot of open source projects, which makes you overwhelmed and you have no idea where to start. Many friends give up after searching for this step because there are too many projects and they can’t figure out how to find the open source projects they are interested in. So like this The search is very inaccurate. So let’s learn a slightly more precise search method.

2.1 Search by name

Search for projects whose project name contains React:

in:name React

Get the following results:

As you can see, these search results are all projects with the “React” keyword in the project name, but there are still a lot of projects.
Now let’s constrain
For example, if I am precise enough, the star number of the project is greater than 5000 + :

in:name React stars:>5000

The result is this:

The search results instantly became much more precise, with only 114 items to choose from. Of course, we generally don’t set the number of stars so high. Generally, setting 1000 is enough.
In the same way, we can also search according to the number of forks:

in:name React stars:>5000 forks:>3000

You will find that the results are getting more and more accurate!

2.2 Search according to README

Search for projects containing React in README.md:

in:readme React

There are so many results, so let’s limit its number of stars and number of forks:

in:readme React stars:>3000 forks:>3000

The search results were accurate to 90 at once. It will become much easier for you to choose projects at this time.

2.3 Search according to description

Suppose we want to study microservice projects now. We search for projects that contain microservices in the project description:

in:description microservices


There are so many results, so let’s add some filtering conditions:

in:description microservice language:python

language:python means that we limit the language to python. Let’s see the result:

The search results are much more accurate.
If among these projects, we want to find the projects that have been updated recently, which means that the update time is very recent, we can do this:

in:description microservice language:python pushed:>2020-01-01

pushed:>2020-01-01 means that we limit the last update time of the project to 2020-01-01. Let’s see the result:

There are only 8 search results. These projects are among the more actively updated projects, so I don’t have to worry about it anymore.

Summary

The final summary is that if we want to conduct a precise search, it is nothing more than adding filtering conditions. The filtering method is as follows:

in:name xxx // Search by project name
in:readme xxx // Search according to README
in:description xxx // Search according to description
So here, we can add filter conditions
stars:>xxx // The number of stars is greater than xxx
forks:>3000 //The number of forks is greater than xxx
language:xxx // The programming language is xxx
pushed:>YYYY-MM-DD // The last update time is greater than YYYY-MM-DD

The above are some tips for accurately searching projects on GitHub. I hope they will be helpful to you.

Source: https://juejin.im/post/5e3d01c56fb9a07c91100801

If the article is helpful to you, please follow, like, favorite, and subscribe to the column!

Welcome to follow GZH below: A Xu algorithm and machine learning, learn and communicate together~