{"id":508700,"date":"2021-06-25T01:28:00","date_gmt":"2021-06-24T17:28:00","guid":{"rendered":"http:\/\/4563.org\/?p=508700"},"modified":"2021-06-25T01:28:00","modified_gmt":"2021-06-24T17:28:00","slug":"github-%e6%96%b0%e7%a4%be%e4%ba%a4%e5%88%86%e4%ba%ab%e5%9b%be%e7%89%87%e8%af%9e%e7%94%9f%e8%ae%b0","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=508700","title":{"rendered":"Github \u65b0\u793e\u4ea4\u5206\u4eab\u56fe\u7247\u8bde\u751f\u8bb0"},"content":{"rendered":"<p>[ad_1]<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/06\/f07d2405a19bc8c668c77d09d699e922b4b85.jpg\" \/><br \/>\n#GitHub\u60c5\u62a5<\/p>\n<p><i class=\"emoji\"><b>??\u200d?<\/b><\/i> <a href=\"https:\/\/github.blog\/2021-06-22-framework-building-open-graph-images\/\">Github \u65b0\u793e\u4ea4\u5206\u4eab\u56fe\u7247\u8bde\u751f\u8bb0<\/a><\/p>\n<p><i class=\"emoji\"><b>?<\/b><\/i> <a href=\"https:\/\/ogp.me\/\">Open Graph<\/a><\/p>\n<p>\u5f53\u4f60\u5c06\u94fe\u63a5\u5206\u4eab\u5230\u793e\u4ea4\u5e73\u53f0\u4e0a\u540e\uff0c\u793e\u4ea4\u5e73\u53f0\u4f1a\u5728\u94fe\u63a5\u4e2d\u5bfb\u627e\u5143\u4fe1\u606f\uff0c\u4ee5\u6b64\u751f\u6210\u56fe\u7247\u3002Open Graph \u4fbf\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u5143\u4fe1\u606f\u6807\u51c6\u3002<\/p>\n<p>Github \u4fbf\u91c7\u7528 Open Graph \u534f\u8bae\u58f0\u660e\u5206\u4eab\u94fe\u63a5\u4e2d\u7684\u56fe\u7247\u4fe1\u606f\u3002<\/p>\n<p><i class=\"emoji\"><b>?<\/b><\/i> <b>\u56fe\u7247\u662f\u5982\u4f55\u751f\u6210\u7684<\/p>\n<p><\/b>\u4e3a\u4e86\u5b8c\u5168\u638c\u63e1\u56fe\u7247\u751f\u6210\uff0c\u5e76\u5c06\u6b64\u670d\u52a1\u90e8\u7f72\u5230 Github \u81ea\u5df1\u7684\u57fa\u7840\u8bbe\u65bd\u4e0a\uff0cGithub \u4f7f\u7528\u4e86 <a href=\"https:\/\/github.com\/vercel\/og-image\">vercel\/og-image<\/a> \u7684\u601d\u8def\u3002<\/p>\n<p>Github \u642d\u5efa\u4e86\u4e00\u4e2a Node.js \u5e94\u7528\u6765\u6536\u96c6 Github \u81ea\u5df1 GraphQL API \u4e2d\u7684\u6570\u636e\u3002\u63a5\u7740\u6570\u636e\u5c06\u88ab\u586b\u5145\u5230\u6a21\u7248\u4e2d\uff0c\u6700\u7ec8\u751f\u6210\u4e00\u4e2a HTML \u6587\u4ef6\u3002Github \u4f7f\u7528\u65e0\u5934\u6d4f\u89c8\u5668 <a href=\"https:\/\/github.com\/puppeteer\/puppeteer\">Puppeteer<\/a> \u6765\u6253\u5f00 HTML \u6587\u4ef6\uff0c\u5e76\u5bf9\u5176\u622a\u56fe\u3002<\/p>\n<p><i class=\"emoji\"><b>\u2699\ufe0f<\/b><\/i><b> \u4f18\u5316<\/p>\n<p><\/b>\u719f\u6089\u524d\u7aef\u5f00\u53d1\u7684\u7fa4\u53cb\u4eec\u80af\u5b9a\u77e5\u9053\u4f7f\u7528\u65e0\u5934\u6d4f\u89c8\u5668 Puppeter \u5c31\u8ddf\u542f\u52a8\u4e00\u4e2a Chrome \u6d4f\u89c8\u5668\u4e00\u6837\uff0c\u6027\u80fd\u5f00\u9500\u5927\uff0c\u901f\u5ea6\u6162\u3002Github \u505a\u4e86\u4ee5\u4e0b\u4f18\u5316\uff1a<\/p>\n<p><i class=\"emoji\"><b>1\u20e3\ufe0f<\/b><\/i> \u964d\u4f4e Puppeter \u542f\u52a8\u540e\u7684\u9ed8\u8ba4\u7b49\u5f85\u65f6\u95f4\u3002\u4e3a\u4e86\u786e\u4fdd\u6240\u6709\u8d44\u6e90\u52a0\u8f7d\u6210\u529f\uff0cPuppeter \u4f1a\u9ed8\u8ba4\u7b49\u5f85\u5f88\u957f\u65f6\u95f4\u3002Github \u81ea\u5b9a\u4e49 Puppeter \u5224\u65ad\u8d44\u6e90\u662f\u5426\u52a0\u8f7d\u6210\u529f\u7684\u903b\u8f91\uff0c\u5c06\u7b49\u5f85\u65f6\u95f4\u4ece 2.25 \u79d2\u964d\u4f4e\u5230 600 \u6beb\u79d2\u3002<\/p>\n<p><i class=\"emoji\"><b>2\u20e3\ufe0f<\/b><\/i> \u8c03\u5ea6\u66f4\u591a\u7684\u8ba1\u7b97\u8d44\u6e90\u3002Github \u57fa\u7840\u8bbe\u65bd\u4e2d\u5bb9\u5668\u7684\u9ed8\u8ba4 RAM \u662f 512 MB\uff0c512 \u662f\u4e00\u4e2a\u795e\u5947\u7684\u6570\u5b57\u3002 Github \u901a\u8fc7\u589e\u52a0 RAM \u5230 513 MB\uff0c\u56fe\u7247\u751f\u6210\u65f6\u95f4\u964d\u4f4e\u4e86 500 \u6beb\u79d2\u3002<\/p>\n<p>\u4f18\u5316\u540e\u751f\u6210\u4e00\u5f20\u56fe\u7247\u9700\u8981 280 \u6beb\u79d2\uff0c40% \u7684\u8bf7\u6c42\u90fd\u53ef\u4ee5\u4ece\u7f13\u5b58\u4e2d\u8fd4\u56de\u7ed3\u679c\u3002<\/p>\n<p>Have Fun <i class=\"emoji\"><b>\u2728<\/b><\/i><\/p>\n<p>\u9891\u9053\uff1a<a href=\"https:\/\/t.me\/blog4563\">@blog4563<\/a><\/p>\n<p>[ad_2]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] #GitHub\u60c5\u62a5 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/508700"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=508700"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/508700\/revisions"}],"predecessor-version":[{"id":508899,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/508700\/revisions\/508899"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=508700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=508700"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=508700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}