搜索语法限制

  • Queries longer than 256 characters are not supported
  • You can't construct a query using more than five AND, OR, or NOT operators

参考

Searching for repositories

限定符 示例 说明
in

jquery in:name

jquery in:name,description

jquery in:readme

搜索名字中包含关键字的信息

所搜名字或描述中包含关键字的信息

搜索readme中包含关键字的信息

user user: USERNAME 根据用户名进行搜索
org org: ORGNAME org:github matches repositories from GitHub.
size size: n size:1000 matches repositories that are 1 MB exactly.
size:>=30000 matches repositories that are at least 30 MB.
size:<50 matches repositories that are smaller than 50 KB.
size:50..120 matches repositories that are between 50 KB and 120 KB.
forks forks: n forks:5 matches repositories with only five forks.
forks:>=205 matches repositories with at least 205 forks.
forks:<90 matches repositories with fewer than 90 forks.
forks:10..20 matches repositories with 10 to 20 forks.
stars stars: n stars:500 matches repositories with exactly 500 stars.
stars:10..20 matches repositories 10 to 20 stars, that are smaller than 1000 KB.
stars:>=500 fork:true language:php matches repositories with the at least 500 stars, including forked ones, that are written in PHP.
created created: YYYY-MM-DD webos created:<2011-01-01 matches repositories with the word "webos" that were created before 2011.
pushed pushed: YYYY-MM-DD

css pushed:>2013-02-01 matches repositories with the word "css" that were pushed to after January 2013.

case pushed:>=2013-03-06 fork:only matches repositories with the word "case" that were pushed to on or after March 6th, 2013, and that are forks.

language language: LANGUAGE rails language:javascript matches repositories with the word "rails" that are written in JavaScript.
topic

topic: TOPIC

topics: n

topic:jekyll matches repositories that have been classified with the topic "jekyll."

topics:5 matches repositories that have five topics.

topics:>3 matches repositories that have more than three topics.

license license: LICENSE_KEYWORD license:apache-2.0 matches repositories that are licensed under Apache License 2.0.
is

is:public

is:private

is:public org:github matches repositories owned by GitHub that are public.

is:private pages matches private repositories you have access to and that contain the word "pages."

mirror

mirror:true

mirror:false

mirror:true GNOME matches repositories that are mirrors and contain the word "GNOME."

mirror:false GNOME matches repositories that are not mirrors and contain the word "GNOME."

achieved

archived:true

archived:false

archived:true GNOME matches repositories that are archived and contain the word "GNOME."

archived:false GNOME matches repositories that are not archived and contain the word "GNOME."

good-first-issues good-first-issues:>n

good-first-issues:>2 javascript matches repositories with more than two issues labeled good-first-issue and that contain the word "javascript."

help-wanted-issues help-wanted-issues:>n help-wanted-issues:>4 react matches repositories with more than four issues labeled help-wanted and that contain the word "React."

Searching code

Qualifier Example
in:file octocat in:file matches code where "octocat" appears in the file contents.
in:path octocat in:path matches code where "octocat" appears in the file path.
  octocat in:file,path matches code where "octocat" appears in the file contents or the file path.
user: USERNAME user:defunkt extension:rb matches code from @defunkt that ends in .rb .
org: ORGNAME org:github extension:js matches code from GitHub that ends in .js .
repo: USERNAME/REPOSITORY repo:mozilla/shumway extension:as matches code from @mozilla's shumway project that ends in .as .
path:/ octocat filename:readme path:/ matches readme files with the word "octocat" that are located at the root level of a repository.
path: DIRECTORY form path:cgi-bin language:perl matches Perl files with the word "form" in a cgi-bin directory, or in any of its subdirectories.
path: PATH/TO/DIRECTORY console path:app/public language:javascript matches JavaScript files with the word "console" in an app/public directory, or in any of its subdirectories (even if they reside in app/public/js/form-validators ).
language: LANGUAGE element language:xml size:100 matches code with the word "element" that's marked as being XML and has exactly 100 bytes.
  display language:scss matches code with the word "display," that's marked as being SCSS.
  org:mozilla language:markdown matches code from all @mozilla's repositories that's marked as Markdown.
size: n function size:>10000 language:python matches code with the word "function," written in Python, in files that are larger than 10 KB.
filename: FILENAME filename:linguist matches files named "linguist."
  filename:.vimrc commands matches .vimrc files with the word "commands."
  filename:test_helper path:test language:ruby matches Ruby files named test_helper within the test directory.
extension: EXTENSION form path:cgi-bin extension:pm matches code with the word "form," under cgi-bin , with the .pm file extension.
  icon size:>200000 extension:css matches files larger than 200 KB that end in .css and have the word "icon."

Searching users

Qualifier Example
type:user mike in:name created:<2011-01-01 type:user matches personal accounts named "mike" that were created before 2011.
type:org data in:email type:org matches organizations with the word "data" in their email.
in:login kenya in:login matches users with the word "kenya" in their username.
in:fullname bolton in:fullname matches users whose real name contains the word "bolton."
in:email data in:email matches users with the word "data" in their email.
repos: n repos:>9000 matches users whose repository count is over 9,000.
  bert repos:10..30 matches users with the word "bert" in their username or real name who own 10 to 30 repositories.
location: LOCATION repos:1 location:iceland matches users with exactly one repository that live in Iceland.
language: LANGUAGE language:javascript location:russia matches users in Russia with a majority of their repositories written in JavaScript.
  jenny language:javascript in:fullname matches users with JavaScript repositories whose full name contains the word "jenny."
created: YYYY-MM-DD created:<2011-01-01 matches users that joined before 2011.
  created:>=2013-05-11 matches users that joined at or after May 11th, 2013.
  created:2013-03-06 location:london matches users that joined on March 6th, 2013, who list their location as London.
  created:2010-01-01..2011-01-01 john in:login matches users that joined between 2010 and 2011 with the word "john" in their username.
followers: n followers:>=1000 matches users with 1,000 or more followers.
  sparkle followers:1..10 matches users with between 1 and 10 followers, with the word "sparkle" in their name.

未完待续...

Github 搜索语法大全相关推荐

  1. Github搜索语法大全,超实用的开源项目搜索技巧

    写在前面 在每一个程序员眼中,GitHub作为全球最大同性交友网站,它上面的各类优质开源框架以及教程,无论在数量还是质量上,是当之无愧的世界第一,因此,如何高效的在GitHub上进行搜索就成为了每一位 ...

  2. 信息收集之Github搜索语法搜集敏感信息

    转载https://blog.csdn.net/qq_36119192/article/details/99690742 目录 使用 Github 进行邮件配置信息收集 使用Github进行数据库信息 ...

  3. 一套打通 Github 搜索语法

    目录 前言: (1)查询大于或小于另一个值的值 (2)查询范围之间的值 (3)查询日期 (4)排除特定结果 (5)使用用户名的查询 (6)常用的搜索语法归纳 前言: Github:全球最大的开源网站, ...

  4. 信息收集之Github搜索语法

    目录 使用 Github 进行邮件配置信息收集 使用Github进行数据库信息收集 使用Github进行 SVN 信息收集 使用Github进行综合信息收集 在渗透测试的信息收集阶段,可以去Githu ...

  5. 百度/Google 高级搜索语法大全

    搜索语法汇总[建议收藏] 1. filetype  搜索文件的后缀或者扩展名 filetype:介绍:通过搜索引擎,获取指定类型的文件.搜索示例:filetype:xls 将返回所有以xls结尾的ex ...

  6. github搜索语法-信息搜集指南----总结

    在 GitHub 上查找文件 您可以使用文件查找器在仓库中搜索文件. 要在 GitHub 上的多个仓库中搜索文件,请使用 filename 代码搜索限定符. 提示: 文件查找器的结果不包括某些目录,例 ...

  7. 搜集源码之github搜索语法,网盘搜索,搜索引擎等

    优雅地寻找网站源码(一) 0x0 前言 ​ 渗透过程中如果能获取到网站的源代码,那么无疑开启了上帝视角.虽然之前出现过不少通过搜索引擎查找同类网站,然后批量扫备份的思路,但是却没人分享其具体过程,这里 ...

  8. 百度搜索技巧语法大全

    在网上冲浪少不了用到搜索引擎,而很多朋友都习惯把Google视为第一个选择对象.当然Google无论在搜索速度还是结果关联性方面都是十分优秀的.但百度(http://www.baidu.com)作为G ...

  9. 天下会-百度搜索技巧语法大全

    在网上冲浪少不了用到搜索引擎,而很多朋友都习惯把 Google 视为第一个选择对象.当然 Google 无论在搜索速度还是结果关联性方面都是十分优秀的.但百度 ( http://www.baidu.c ...

最新文章

  1. NETGEAR拒绝连接请求_3分钟理解HTTP的请求与响应
  2. Python机器学习(三)--决策树算法
  3. 【Network Security!】网络安全常用术语
  4. 2.14 文件和目录权限chmod
  5. vue 高德地图多边形_Vue + 高德地图画矢量图
  6. android开发--翻转闹铃(从制作到打包)
  7. B1277 [HNOI2002]Tinux系统 树形dp
  8. 简单讨论火车票系统后面的架构设计
  9. 异步(python 版)
  10. Github | 标星9W+如何准备谷歌面试?
  11. 各种手机处理器排行榜_11月新机性能排行榜:荣耀V30第四,vivo S5上榜
  12. SSM框架-添加信息及图片上传到本地MultipartResolver-foreknow_cms
  13. 【代码笔记】iOS-MBProgressHUD+MJ
  14. 决战大数据(升级版):大数据的关键思考 - 电子书下载(高清版PDF格式+EPUB格式)...
  15. 国际电话登机英文术语
  16. VCSA6.7移除添加vSAN磁盘组
  17. WINVNC源码分析(二)——图像
  18. rm 好凶残,太 TM 吓人了!
  19. 【Prometheus 自主无人机平台 】无人机蜂群拦截系统作战构想与关键技术论文解读
  20. 基于粒子群算法的水电站中长期发电优化调度

热门文章

  1. 手机user agent大全下载 整理发布一批移动设备的user agent【分享】
  2. inputSuggest邮箱提示自动补全js插件
  3. 挂起函数suspend
  4. 正则匹配AAABBB格式,同时过滤掉AAAAAA,BBBBBB格式
  5. 在外网通过ssh连接访问内网教程
  6. aspx页面打开html文件,aspx文件如何打开
  7. 大学图书馆图书借阅管理系统
  8. 初识DE2-115开发板
  9. 远程视频会议系统/视频调度指挥平台/音视频通话系统EasyRTC在应急指挥领域中的应用
  10. VOC Dataset