# トピックを検索する

GitHub 上のリポジトリと関連するトピックを検索できます。

## トピックを GitHub で検索

GitHub 上でトピックを検索し、関連するトピックを調べ、特定のトピックに関連するリポジトリがどのくらいあるのかを確認できます。

1. 検索ページ (`https://[hostname]/search`) に移動します。
2. トピックのキーワードを入力します。
3. 左側のサイドバーで、検索をトピックに絞り込むため、 **[Topics](トピック)** をクリックします。

## 検索修飾子で検索を絞り込む

特定のトピックに関するリポジトリを探索し、投稿するプロジェクトを見つけ、GitHub で最も人気のあるトピックを知りたい場合は、検索修飾子 `is:featured`、`is:curated`、`repositories:n`、および `created:YYYY-MM-DD` を使用してトピックを検索できます。

`is:featured` 検索修飾子は、検索結果を GitHub 上のリポジトリが最も多いトピックに絞り込みます。 これらのトピックは、 <https://github.com/topics/> でも紹介されています。

`is:curated` 検索修飾子は、検索結果を、コミュニティのメンバーが追加の情報を追加したトピックに絞り込みます。 詳細については、[リポジトリの探索](https://github.com/github/explore)に関するページを参照してください。

日付パラメーターや `created:` を使用して、いつ作成されたかに基づいて、または `repositories:n` を使用して、このトピックに関連付けられているリポジトリの数に基づいてトピックをフィルタリングすることもできます。 これらの修飾子の両方で、[範囲より大きい/範囲より小さい修飾子](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)を使用できます。

日付の書式設定は、[ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 標準の `YYYY-MM-DD` (年-月-日) に従う必要があります。 日付の後にオプションの時刻情報 `THH:MM:SS+00:00` を追加して、時間、分、秒で検索することもできます。 これは、`T` の後に `HH:MM:SS` (時-分-秒)、UTC オフセット (`+00:00`) が続きます。

日付に対して検索を行う場合、結果をさらにフィルタリングするためにより大きい、より小さい、範囲の修飾子を利用できます。 詳しくは、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」をご覧ください。

| 修飾子                                                                                                                                                                                                  | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:curated`                                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                   |   |
| **is:curated javascript**]\(<https://github.com/search?utf8=%E2%9C%93&q=javascript+is%3Acurated&type=Topics>) は、キュレーションされ、"javascript" というワードを含むトピックとマッチします。                                         |   |
| `is:featured`                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                   |   |
| **is:featured javascript**]\(<https://github.com/search?utf8=%E2%9C%93&q=javascript+is%3Afeatured&type=Topics>) は、 <https://github.com/topics/> で紹介され、"javascript" というワードを含むトピックとマッチします。             |   |
| `is:not-curated`                                                                                                                                                                                     |   |
| \[                                                                                                                                                                                                   |   |
| **is:not-curated javascript**]\(<https://github.com/search?utf8=%E2%9C%93&q=javascript+is%3Anot-curated&type=Topics>) は、説明やロゴなどの追加情報を持たず、"javascript" というワードを含むトピックとマッチします。                          |   |
| `is:not-featured`                                                                                                                                                                                    |   |
| \[                                                                                                                                                                                                   |   |
| **is:not-featured javascript**]\(<https://github.com/search?utf8=%E2%9C%93&q=javascript+is%3Anot-featured&type=Topics>) は、 <https://github.com/topics/> で紹介されていない、"javascript" というワードを含むトピックとマッチします。 |   |
| `repositories:n`                                                                                                                                                                                     |   |
| \[                                                                                                                                                                                                   |   |
| **repositories:>5000**]\(<https://github.com/search?q=repositories%3A%3E5000>) は、5,000 個を超えるリポジトリを持つトピックとマッチします。                                                                                     |   |
| <code>created:<em>YYYY-MM-DD</em></code>                                                                                                                                                             |   |
| \[                                                                                                                                                                                                   |   |
| **serverless created:>2019-01-01**]\(<https://github.com/search?q=Serverless+created%3A%3E2019-01-01&type=Topics>) は、2018 年より後に作成された "serverless" というワードを含むトピックとマッチします。                              |   |

## トピックでリポジトリを検索

`topic:` 修飾子を使って、特定のトピックに関連するすべてのリポジトリを検索できます。 詳しくは、「[リポジトリを検索する](/ja/enterprise-server@3.22/search-github/searching-on-github/searching-for-repositories#search-by-topic)」をご覧ください。

## 参考資料

* [トピックでリポジトリを分類する](/ja/enterprise-server@3.22/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics)