{"id":107172,"date":"2023-01-30T12:05:07","date_gmt":"2023-01-30T03:05:07","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=107172"},"modified":"2023-01-30T12:05:07","modified_gmt":"2023-01-30T03:05:07","slug":"carbonyl","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/carbonyl\/","title":{"rendered":"Carbonyl - \u30bf\u30fc\u30df\u30ca\u30eb\u5185\u3067\u5b9f\u884c\u3067\u304d\u308bChromium\u30d6\u30e9\u30a6\u30b6"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2023\/01\/s_20230130_113146.jpg\" alt=\"S 20230130 113146\" title=\"s_20230130_113146.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u73fe\u5728\u306eWeb\u30b5\u30a4\u30c8\u306e\u591a\u304f\u306f\u30ea\u30c3\u30c1\u306aUI\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u30e2\u30c0\u30f3\u306aHTML\u6280\u8853\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u524d\u306e\u3088\u3046\u306b\u30c6\u30ad\u30b9\u30c8\u304c\u8aad\u3081\u308b\u3060\u3051\u3067\u306f\u5341\u5206\u3067\u306f\u306a\u304f\u3001\u304b\u3064\u3066\u4eba\u6c17\u3060\u3063\u305fLynx\u3084w3m\u3068\u3044\u3063\u305f\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306eWeb\u30d6\u30e9\u30a6\u30b6\u306b\u5909\u308f\u308b\u5b58\u5728\u304c\u5fc5\u8981\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/fathyb\/carbonyl\">carbonyl<\/a>\u300d\u306f\u305d\u306e\u3088\u3046\u306a\u8981\u671b\u306b\u5fdc\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u5185\u3067\u52d5\u4f5c\u3059\u308bWeb\u30d6\u30e9\u30a6\u30b6\u3067\u3059\u3002<\/p>\n<p>WebGL\u3001WebGPU\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u3084\u30d3\u30c7\u30aa\u306e\u518d\u751f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3001\u307b\u3068\u3093\u3069\u3059\u3079\u3066\u306eWeb API\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001\u30e2\u30c0\u30f3\u306aWeb\u30b5\u30a4\u30c8\u3092\u95b2\u89a7\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u52d5\u4f5c\u306f\u8efd\u5feb\u3067\u30011\u79d2\u4ee5\u5185\u306b\u8d77\u52d5\u3057\u300160FPS\u3067\u52d5\u4f5c\u3057\u3001CPU\u4f7f\u7528\u73870%\u3067\u30a2\u30a4\u30c9\u30eb\u72b6\u614b\u3092\u7dad\u6301\u3057\u307e\u3059\u3002\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30fc\u30d0\u3092\u5fc5\u8981\u3068\u305b\u305a(\u30bb\u30fc\u30d5\u30e2\u30fc\u30c9\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u52d5\u4f5c)\u3001SSH\u7d4c\u7531\u3067\u3082\u52d5\u4f5c\u3059\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u958b\u767a\u8005\u306b\u3088\u308b\u3068\u3001\u3082\u3068\u3082\u3068html2svg\u3068\u3057\u3066\u59cb\u307e\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306e\u3053\u3068\u3067\u3001\u5b9f\u73fe\u306e\u305f\u3081\u306b\u6280\u8853\u7684\u8a73\u7d30\u306f<a href=\"https:\/\/fathy.fr\/carbonyl\">\u3053\u3061\u3089\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Carbonyl\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>Carbonyl\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306f\u4eca\u306e\u3068\u3053\u308d\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>Docker\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059(\u624b\u5143\u306emacOS\u74b0\u5883\u3067\u306fiTerm2\u3067\u306f\u6b63\u5e38\u306b\u52d5\u304b\u305a\u3001\u30bf\u30fc\u30df\u30ca\u30eb.app\u3067\u52d5\u304b\u3059\u4e8b\u304c\u3067\u304d\u307e\u3057\u305f)\u3002<\/p>\n<pre>\n$ docker run -ti fathyb\/carbonyl https:\/\/softantenna.com\n<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u5185\u3067Web\u30b5\u30a4\u30c8\u304c\u63cf\u753b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2023\/01\/s_20230130_113224.jpg\" alt=\"S 20230130 113224\" title=\"s_20230130_113224.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30da\u30fc\u30b8\u3092\u95b2\u89a7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4eca\u306e\u3068\u3053\u308d\u623b\u308b\/\u9032\u3080\u306a\u3069\u3001\u95b2\u89a7\u5c65\u6b74\u3092\u79fb\u52d5\u3059\u308b\u305f\u3081\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u306f\u6e96\u5099\u3055\u308c\u3066\u3044\u306a\u3044\u6a21\u69d8\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/fathyb\/carbonyl\">GitHub<\/a>\u306b\u306fWikipedia\u3084YouTube\u3092\u95b2\u89a7\u3059\u308b\u69d8\u5b50\u3001Doom\u3092\u30d7\u30ec\u30a4\u3059\u308b\u69d8\u5b50\u3092\u64ae\u5f71\u3057\u305f\u52d5\u753b\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30d3\u30eb\u30c9\u3059\u308b\u65b9\u6cd5\u3082\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001Chromium\u3092\u30d3\u30eb\u30c9\u3059\u308b\u306e\u3068\u307b\u307c\u540c\u3058\u52b4\u529b\u304c\u5fc5\u8981\u3067\u3001CPU\u30ea\u30bd\u30fc\u30b9\u7684\u306b\u3082\u30c7\u30a3\u30b9\u30af\u30b9\u30da\u30fc\u30b9\u7684\u306b\u3082\u304b\u306a\u308a\u306a\u74b0\u5883\u304c\u8981\u6c42\u3055\u308c\u308b\u6a21\u69d8\u3002<\/p>\n<blockquote>\n<ul dir=\"auto\">\n<li>You need to build Chromium<\/li>\n<li>Building Carbonyl is almost the same as building Chromium with extra steps to patch and bundle the Rust library. Scripts in the <code>scripts\/<\/code> directory are simple wrappers around <code>gn<\/code>, <code>ninja<\/code>, etc..<\/li>\n<li>Building Chromium for arm64 on Linux requires an amd64 processor<\/li>\n<li>Carbonyl is only tested on Linux and macOS, other platforms likely require code changes to Chromium<\/li>\n<li>Chromium is huge and takes a long time to build, making your computer mostly unresponsive. An 8-core CPU such as an M1 Max or an i9 9900k with 10 Gbps fiber takes around ~1 hour to fetch and build. It requires around 100 GB of disk space.<\/li>\n<\/ul>\n<\/blockquote>\n<p>\u826f\u3044\u74b0\u5883\u304c\u6e96\u5099\u51fa\u6765\u308b\u65b9\u306f\u3001\u30d3\u30eb\u30c9\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u3082\u9762\u767d\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Carbonyl\u3092\u4f7f\u7528\u3059\u308c\u3070\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u5229\u7528\u3057\u3066Web\u30b5\u30a4\u30c8\u3092\u95b2\u89a7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u6a5f\u80fd\u306a\u3069\u304c\u5145\u5b9f\u3057\u3066\u304f\u308c\u3070\u4fbf\u5229\u306a\u30d6\u30e9\u30a6\u30b6\u306b\u306a\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728\u306eWeb\u30b5\u30a4\u30c8\u306e\u591a\u304f\u306f\u30ea\u30c3\u30c1\u306aUI\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u30e2\u30c0\u30f3\u306aHTML\u6280\u8853\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u4ee5\u524d\u306e\u3088\u3046\u306b\u30c6\u30ad\u30b9\u30c8\u304c\u8aad\u3081\u308b\u3060\u3051\u3067\u306f\u5341\u5206\u3067\u306f\u306a\u304f\u3001\u304b\u3064\u3066\u4eba\u6c17\u3060\u3063\u305fLynx\u3084w3m\u3068\u3044\u3063\u305f\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306eWeb\u30d6\u30e9\u30a6\u30b6\u306b\u5909\u308f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":107173,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[3177],"class_list":["post-107172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-chromium"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/107172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=107172"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/107172\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/107173"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=107172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=107172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=107172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}