{"id":1903,"date":"2016-09-26T23:53:33","date_gmt":"2016-09-26T14:53:33","guid":{"rendered":"https:\/\/ecpplus.net\/weblog\/?p=1903"},"modified":"2020-06-06T19:30:13","modified_gmt":"2020-06-06T10:30:13","slug":"awesome-repos-with-stars","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/awesome-repos-with-stars\/","title":{"rendered":"Awesome \u67d0\u306e\u30b9\u30bf\u30fc\u4ed8\u304d\u4e00\u89a7"},"content":{"rendered":"<p>Awesome Hoge \u306e\u30da\u30fc\u30b8\u3092\u3088\u304f\u898b\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u7279\u306b iOS \u3092\u3088\u304f\u898b\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u30b9\u30bf\u30fc\u306e\u6570\u3092\u307e\u3068\u3081\u3066\u898b\u305f\u3044\u3068\u601d\u3044\u3001\u4e3b\u306b\u81ea\u5206\u7528\u306b\u30b9\u30bf\u30fc\u4ed8\u304d\u306e\u4e00\u89a7\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002Awesome repositories \u306e contributors \u3068\u5168\u3066\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306e developers \u306e\u65b9\u3005\u306b\u611f\u8b1d\u3067\u3059\u3002<\/p>\n<p>URL\u306f\u3053\u308c\u3067\u3059\u3002<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/awesome-repos.ecp.plus\">Awesome repos with \ud83c\udf1f<\/a><\/p>\n<p>GitHub API \u3067\u53d6\u5f97\u3057\u305f <code>stargazers_count<\/code> \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002 GitHub API\u3001\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u53d6\u5f97\u306a\u30891\u6642\u9593\u306b5,000\u56de\u306eLimit\u306a\u306e\u3067\u7d50\u69cb\u53e9\u3051\u308b\u5370\u8c61\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u306f\u8981\u3089\u306a\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u3001AWS\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u30b5\u30fc\u30d0\u30ec\u30b9\u3067\u30da\u30fc\u30b8\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>Lambda \u3067\u30ec\u30dd\u30b8\u30c8\u30ea\u4e00\u89a7\u3092\u53d6\u5f97<\/li>\n<li>\u307e\u3068\u3081\u3066 GitHub API \u3092\u53e9\u304f\u3068 Lambda \u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3059\u308b\u306e\u3067\u3001\u4e00\u65e6 SQS \u306b JSON \u306b\u3057\u3066\u3044\u308c\u308b\u3002<\/li>\n<li>CloudWatch Events \u3067 Lambda \u3092\u5b9a\u671f\u7684\u306b\u8d77\u52d5\u3057\u3066\u3001 SQS \u306e\u30ad\u30e5\u30fc\u3092\u53d7\u4fe1\u3057\u306a\u304c\u3089\u3001 GitHub API \u3092\u53e9\u3044\u3066 SimpleDB \u306b\u7d50\u679c\u3092\u5165\u308c\u308b<\/li>\n<li>\u5b9a\u671f\u7684\u306b\u3001 SimpleDB \u306e\u30c7\u30fc\u30bf\u3092 Lambda \u3067 JSON \u306b\u3057\u3066s3 \u306b PUT \u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u98a8\u306b\u3057\u3066\u3044\u307e\u3059\u3002API\u306b\u3082\u512a\u3057\u3044\u3088\u3046\u306b\u30011\u65e5\u304b\u3051\u30661\u30eb\u30fc\u30d7\u3059\u308b\u304f\u3089\u3044\u306e\u5468\u671f\u3067\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>DynamoDB \u3067\u306f\u306a\u304f SimpleDB \u306a\u306e\u306f\u3001\u6700\u5f8c\u306e\u51e6\u7406\u3067\u4e00\u62ec\u3067\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001DynamoDB \u306f\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306e\u8a2d\u5b9a\u7684\u306b\u4e00\u62ec\u53d6\u5f97\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u8ab2\u91d1\u7684\u306a\u610f\u5473\u3067 SimpleDB \u306b\u3057\u3066\u307e\u3059\u3002\u7121\u6599\u67a0\u3092\u8003\u3048\u306a\u3044\u3068\u3001\u30df\u30cb\u30de\u30e0\u30b3\u30b9\u30c8\u304c SimpleDB \u306f\u304c$0\u3067 DynamoDB \u306f$0.67\u306a\u306e\u3067\u3002\u305f\u3060\u3001DynamoDB\u3067\u8aad\u307f\u66f8\u304d1\u305a\u3064\u306b\u3057\u3066\u3001s3\u306bPUT\u3059\u308b\u3068\u304d\u3060\u3051 scan \u3057\u3066\u3082\u3001\u3082\u3057\u304b\u3057\u305f\u3089 DynamoDB \u306e\u65b9\u304c\u5b89\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306f\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u90e8\u5206\u306e\u6bd4\u8f03\u306f\u898b\u305f\u3053\u3068\u304c\u306a\u3044\u3068\u3044\u3046\u304b\u3001SimpleDB\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u3042\u307e\u308a\u898b\u304b\u3051\u307e\u305b\u3093\u3002 Lambda \u304b\u3089\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u3048\u308b\u3057\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u6642\u306b\u4fbf\u5229\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u7ba1\u7406\u753b\u9762\u306b\u3082\u7121\u3044\u3057\u3001\u305d\u306e\u3046\u3061\u30b5\u30fc\u30d3\u30b9\u304c\u7d42\u308f\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u3044\u3046\u306e\u304c\u5fc3\u914d\u3067\u3059\u3002<\/p>\n<p>Lambda \u958b\u767a\u74b0\u5883\u306f\u3001\u6700\u8fd1\u77e5\u3063\u305f <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/motdotla\/node-lambda\">node-lambda<\/a> \u304c\u30b7\u30f3\u30d7\u30eb\u3067\u4f7f\u3044\u3084\u3059\u3044\u3067\u3059\u3002\u624b\u5143\u3067\u306e\u5b9f\u884c\u3068\u30c7\u30d7\u30ed\u30a4\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>HTML\u5074\u306f\u3001S3 + CloudFront \u3067\u3059\u3002\u6700\u8fd1 CloudFront \u304c HTTP\/2 \u306b\u5bfe\u5fdc\u3057\u305f\u306e\u3067\u3001\u500b\u4eba\u7684\u306b\u306f\u9759\u7684\u30da\u30fc\u30b8\u306e\u914d\u4fe1\u306b HTTP\/2 \u5bfe\u5fdc\u306e\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u610f\u5473\u304c\u307b\u307c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002\u3042\u3068\u3001React \u3067\u63cf\u753b\u3057\u3066\u308b\u306e\u3067\u3001\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u898b\u3048\u306a\u3044\u3067\u3059\u3002<\/p>\n<p>JSON \u306e URL \u306f\u30d1\u30d6\u30ea\u30c3\u30af\u306a\u306e\u3067\u3001\u76f4\u63a5\u53e9\u3044\u3066\u3082\u826f\u3044\u3067\u3059\u3002\u898b\u308c\u3070\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u4f55\u3068\u306a\u304f\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001 jq \u3068\u304b\u4f7f\u3063\u3066\u7d5e\u308a\u8fbc\u3081\u3070\u3001\u4f8b\u3048\u3070 \u300cAwesome iOS\u3067\u3001Button\u306e\u30ab\u30c6\u30b4\u30ea\u3067\u3001500\u30b9\u30bf\u30fc\u4ee5\u4e0a\u4ed8\u3044\u3066\u3044\u308b\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u958b\u304f\u300d\u3068\u304b\u3082\u3059\u3050\u51fa\u6765\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash line-numbers\">curl https:\/\/s3-ap-northeast-1.amazonaws.com\/awesome-repositories\/ios.json | gunzip | jq -r 'map(select(.category1 == \"Button\")) | map(select(.stargazers_count &gt;= 500)) | \"http:\/\/github.com\/\"+.[].path' | xargs open\n<\/code><\/pre>\n<p>\u203b \u4e00\u6c17\u306b\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30da\u30fc\u30b8\u304c\u7acb\u3061\u4e0a\u304c\u308b\u306e\u3067\u3001\u5185\u5bb9\u306b\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044!<\/p>\n<p>\u6700\u521d iOS \u3060\u3051\u4f5c\u3063\u305f\u3089\u3001\u4ed6\u306e\u3082\u306e\u3082\u307b\u307c\u540c\u3058\u30b3\u30fc\u30c9\u3067\u751f\u6210\u3067\u304d\u305f\u306e\u3067\u3001\u81ea\u5206\u304c\u3088\u304f\u4f7f\u3046\u8a00\u8a9e\u3060\u3051\u3067\u3059\u304c\u30016\u500b\u4f5c\u308a\u307e\u3057\u305f\u3002 Elixir \u529b\u3092\u4e0a\u3052\u305f\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Awesome Hoge \u306e\u30da\u30fc\u30b8\u3092\u3088\u304f\u898b\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u7279\u306b iOS \u3092\u3088\u304f\u898b\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u30b9\u30bf\u30fc\u306e\u6570\u3092\u307e\u3068\u3081\u3066\u898b\u305f\u3044\u3068\u601d\u3044\u3001\u4e3b\u306b\u81ea\u5206\u7528\u306b\u30b9\u30bf\u30fc\u4ed8\u304d\u306e\u4e00\u89a7\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002Awesome repositories \u306e  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2308,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[33,35,8,11],"class_list":["post-1903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-aws","tag-ios","tag-ruby","tag-tool"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=1903"}],"version-history":[{"count":13,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1903\/revisions"}],"predecessor-version":[{"id":2313,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/1903\/revisions\/2313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2308"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=1903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=1903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=1903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}