{"meta":{"title":"搜索话题","intro":"可以在 GitHub 上搜索与存储库关联的主题。","product":"在 GitHub 上搜索","breadcrumbs":[{"href":"/zh/search-github","title":"在 GitHub 上搜索"},{"href":"/zh/search-github/searching-on-github","title":"在 GitHub 上搜索"},{"href":"/zh/search-github/searching-on-github/searching-topics","title":"搜索话题"}],"documentType":"article"},"body":"# 搜索话题\n\n可以在 GitHub 上搜索与存储库关联的主题。\n\n## 在 GitHub 中搜索主题\n\n可以在 GitHub 上搜索主题、探索相关主题以及查看有多少存储库与特定主题关联。\n\n1. 导航到 [搜索](https://github.com/search)页。\n2. 输入主题关键词。\n3. 在左侧边栏中，要将搜索范围缩小到主题，请单击“主题”。\n\n![搜索词“jekyll”的存储库搜索结果页的屏幕截图，其中左侧菜单中的“主题”选项以深橙色框出。](/assets/images/help/search/topic-left-side-navigation-dotcom.png)\n\n## 使用搜索限定符缩小搜索范围\n\n如果要探索关于特定主题的存储库、查找要贡献内容的项目或了解哪些主题在 GitHub 上最受欢迎，可以使用搜索限定符 `is:featured`、`is:curated`、`repositories:n` 和 `created:YYYY-MM-DD` 搜索主题。\n\n```\n          `is:featured` 搜索限定符可将搜索结果范围缩小到 GitHub 上具有最多存储库的主题。 这些主题还在 https://github.com/topics/ 中提供。\n\n          `is:curated` 搜索限定符可将搜索结果范围缩小到社区成员已添加额外信息的主题。 有关详细信息，请参阅[探索存储库](https://github.com/github/explore)。\n```\n\n可以使用日期参数和 `created:` 根据创建时间筛选主题，也可以使用 `repositories:n` 根据与此主题关联的存储库数量筛选主题。 这两个限定符都可以使用[大于和小于范围限定符](/zh/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)。\n\n日期格式必须遵循 [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 标准，即 `YYYY-MM-DD`（年-月-日）。 也可以在日期后添加可选的时间信息 `THH:MM:SS+00:00`，以按小时、分钟和秒进行搜索。 即 `T`，随后是 `HH:MM:SS`（时-分-秒）和 UTC 时差 (`+00:00`)。\n\n搜索日期时，可以使用大于、小于和范围限定符来进一步筛选结果。 有关详细信息，请参阅“[了解搜索语法](/zh/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)”。\n\n| 限定符          | 示例 |\n| ------------ | -- |\n| `is:curated` |    |\n\n```\n          **is:curated javascript** 匹配精心策划且含有“javascript”字样的主题。\n```\n\n\\| `is:featured` |\n[\n**is:featured javascript**](https://github.com/search?utf8=%E2%9C%93\\&q=javascript+is%3Afeatured\\&type=Topics) 匹配 <https://github.com/topics/> 上提供且含有“javascript”字样的主题。\n\\|  `is:not-curated` |\n**is:not-curated javascript** 匹配没有额外信息（例如说明或徽标）且含有“javascript”字样的主题。\n\\|  `is:not-featured`|\n[\n**is:not-featured javascript**](https://github.com/search?utf8=%E2%9C%93\\&q=javascript+is%3Anot-featured\\&type=Topics) 匹配 xhttps\\://github.com/topics/ 上未提供且含有“javascript”字样的主题。\n\\| `repositories:n` |\n**repositories:>5000** 匹配具有超过 5000 个存储库的主题。\n\\| <code>created:<em>YYYY-MM-DD</em></code> |\n**无服务器 创建时间:>2019-01-01** 匹配在 2018 年之后创建的包含“无服务器”字样的主题。\n\n## 按主题搜索仓库\n\n可以使用 `topic:` 限定符查找连接到特定主题的每个存储库。 有关详细信息，请参阅“[搜索仓库](/zh/search-github/searching-on-github/searching-for-repositories#search-by-topic)”。\n\n## 其他阅读材料\n\n* [使用主题对仓库分类](/zh/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics)"}