gitHub上精确搜索项目的方法
gitHub上的项目主要组成部分:
- name: 项目名
- description: 项目的简要描述
- 项目的源码
- README.md: 项目的详细情况的介绍
1.搜索技巧
- in:name xxx // 按照项目名搜索
- in:readme xxx // 按照README搜索
- in:description xxx // 按照description搜索
那么在这里面呢,我们又可以增加筛选条件
- stars:>xxx // stars数大于xxx
- forks:>3000 // forks数大于xxx
- language:xxx // 编程语言是xxx
- pushed:>YYYY-MM-DD // 最后更新时间大于YYYY-MM-DD
2.实际案例
in:name React
in:name React stars:>5000
按照fork的数量来进行搜索:
in:name React stars:>5000 forks:>3000
2.按照README来搜索
in:readme React
in:readme React stars:>3000 forks:>3000
3.按照description搜索
in:description 微服务
增加语言限制
in:description 微服务 language:python
增加推送时间限制
in:description 微服务 language:python pushed:>2020-01-01
pushed:>2020-01-01的意思是我们把项目的最后更新时间限制到2020-01-01