[GitHub] Conditional query to find open source projects
Article Directory
Notes content source: "how to efficiently find open source projects do online," the authors: B station master CodeSheep Up
Many classmates and friends, after studying the relevant knowledge points in a systematic way, urgently need some projects that are more targeted to the learning content to practice and familiarize themselves. At the beginning, I put the rich project resources on GitHub, looking around for the projects I need, but it won’t be right. The GitHub community conducts efficient searches and digs out practical projects suitable for practice and learning.
1. Project description content screening in:
Filter according to the introduction content of the project (such as title name, description description, Readme introduction document):
- in:name keyword ( note! separated by spaces )
- in:description keyword ( note! separated by spaces )
- in:readme keyword ( note! separated by spaces )
Filter condition | meaning |
---|---|
in:name | Filter based on project name keywords |
in:description | Filter according to project description keywords (recommended) |
in:readme | Filter according to the content keywords of the project Readme document (recommended) |
2. Project popularity screening
GitHub generally uses the number of Stars and the number of Forks to reflect the popularity of the project. Few people say that a good project may be bad, but a lot of people say that it is a good project, and it will definitely not go bad.
Therefore, we can further filter the items we want by limiting the number of Stars and Forks.
Filter condition | meaning |
---|---|
stars: (interval) | Filter according to the entered stars interval |
forks: (interval) | Filter according to the input forks interval |
Note: At this time, there is no space between the colon and the number interval. Remember that the filter condition with spaces does not take effect.
Three, other
Filter condition | meaning |
---|---|
language:(programming language) | Filter by programming language |
pushed: (time interval) | Filter according to the latest update time interval entered |
Combination query example
Finally, a more specific combination query example is given, and other interesting query conditions are available for everyone to explore.
in:readme Spring Security language:java stars:>1000 pushed:>2019-11-11
Description of query conditions:
- Filter out projects that contain Spring Security in the readme document
- The programming language is: Java
- The number of Stars is greater than 1000
- The latest update time requirement of the project warehouse: there will be updates after 2019-11-11
You can go to GitHub to try it out and find a real favorite and suitable project for actual combat~
If there is some lack of content, please comment and point out that I will check it as soon as possible and update and enrich the content of the article in time.