一、in 关键词限制搜索范围:
公式:xxx 关键词 in:name 或者 description 或者 readme。
1、xxx in:name 表示项目名包含 xxx.
springboot in:name
2、xxx in:description 表示项目描述包含xxx.
springboot in:description
3、xxx in:readme 表示项目的readme文件包含xxx.
springboot in:readme
4、组合使用:搜索项目名或者readme包含SpringBoot的项目
springboot in:name,readme
二、用 stars 或者 forks 数量关键词去查找:
公式:xxx关键词 stars或者forks 通配符或者区间范围数字
(通配符 :> 或者 :>= )(区间范围数字: 数字1…数字2)
1、查找 stars 数大于等于 5000 的springboot项目。
springboot stars:>=5000
2、查找 forks 数大于等于 500 的springboot项目。
springboot forks:>=500
3、组合使用:查找 forks 在100到200之间并且 stars 数在80到100之间的springboot项目。
springboot forks:100..200 stars:80..100
三、awesome 加强搜索:
公式:awesome 关键字。
备注:awesome 系列一般是用来收集学习、工具、书籍类相关的项目。
1、搜索优秀的redis相关的项目,包括框架、教程等。
awesome redis
四、高亮显示某一行代码:
公式:高亮1行:地址后面紧跟#L数字;
高亮多行:地址后面紧跟#L数字-L数字2
1、高亮1行。
https://github.com/JeffLi1993/springboot-learning-example/blob/master/2-x-spring-boot-groovy/pom.xml#L6
2、高亮多行。
https://github.com/JeffLi1993/springboot-learning-example/blob/master/2-x-spring-boot-groovy/pom.xml#L6-L16
五、项目内搜索:
公式:在项目内,按英文t。
六、搜索某个地区内的大佬:
公式:location:地区 language:语言
1、搜索北京的Java用户。
location:beijing language:java