有没有办法在 Github 上轻松搜索/列出模板存储库?

jle*_*and 10 search github github-api

有没有办法在 Github 上轻松搜索/列出模板存储库?

模板非常有趣,因为它们允许从模板创建新项目,而无需获取所有历史记录。

Spring Boot 的示例: https: //github.com/Spring-Boot-Framework/Spring-Boot-Application-Template

我尝试了在 Github 上进行常规搜索,但使用“模板”查询不会给出任何有意义的结果,因为许多存储库使用“模板”字符串,而没有实际的 Github 含义。我也找不到任何方法来标记这些存储库。甚至API 搜索页面似乎也不包含模板存储库的正确限定符。

这让我想知道它们如何真正变得有用,因为目前可发现性如此之低。

谢谢!

jle*_*and 13

昨天得到了 Github 支持的答复。就目前而言,这是不可能的。

Hi Julien,

Thank you for writing to GitHub Support.

If I understand you correctly, you want a way to search for repositories but only show template repositories.

If so, then, unfortunately such functionality does not exist. If you want, I can pass this ticket to our product team which reads and evaluates feedback about our products.

Regards,
Paul
GitHub Support
Run Code Online (Sandbox Code Playgroud)