{"id":484105,"date":"2026-06-18T10:16:57","date_gmt":"2026-06-18T10:16:57","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=484105"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=484105","title":{"rendered":"\u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0432 \u043e\u0434\u043d\u043e\u043c HTML-\u0444\u0430\u0439\u043b\u0435: Git \u043a\u0430\u043a storage, browser \u043a\u0430\u043a runtime"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 pet project: \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e HTML-\u0444\u0430\u0439\u043b\u0430.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fc8\/142\/82c\/fc814282ce202945e57e518e6355b452.png\" width=\"1920\" height=\"950\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/fc8\/142\/82c\/fc814282ce202945e57e518e6355b452.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fc8\/142\/82c\/fc814282ce202945e57e518e6355b452.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0411\u0435\u0437 \u0431\u0435\u043a\u0435\u043d\u0434\u0430 \u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 (\u043f\u043e\u0447\u0442\u0438). \u0411\u0435\u0437 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438. \u0411\u0435\u0437 WebSocket. \u0411\u0435\u0437 npm \u0438 \u0441\u0431\u043e\u0440\u043a\u0438. \u0425\u043e\u0442\u044f, \u0442\u0443\u0442 \u043a\u0430\u043a \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 git-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>Macaroni Messenger<\/strong>.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u043a\u0430\u043a \u0448\u0443\u0442\u043a\u0430 \u0443\u0440\u043e\u0432\u043d\u044f:<\/p>\n<blockquote>\n<p>\u0430 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GitHub?<\/p>\n<\/blockquote>\n<p>\u041f\u043e\u0442\u043e\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e, git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0438 \u0443\u0436\u0435 \u0434\u0430\u044e\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e API, \u0430 JSON \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0443\u0447\u043d\u044b\u0439, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043d\u0451\u043c \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043d\u0430\u0447\u0430\u043b \u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0430\u0442.<\/p>\n<p>\u0421\u043f\u043e\u0439\u043b\u0435\u0440: \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e&#8230;<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9ea\/9e9\/3e5\/9ea9e93e52c47d1b072e22cb401c1624.png\" alt=\"\u0410 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c HTML \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 c 80+ \u0437\u0432\u0435\u0437\u0434\u0430\u043c\u0438?\" title=\"\u0410 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c HTML \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 c 80+ \u0437\u0432\u0435\u0437\u0434\u0430\u043c\u0438?\" width=\"688\" height=\"216\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/9ea\/9e9\/3e5\/9ea9e93e52c47d1b072e22cb401c1624.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9ea\/9e9\/3e5\/9ea9e93e52c47d1b072e22cb401c1624.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0410 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c HTML \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 c 80+ \u0437\u0432\u0435\u0437\u0434\u0430\u043c\u0438?<\/figcaption><\/div>\n<\/figure>\n<h3>\u0427\u0442\u043e \u042f \u0425\u043e\u0442\u0435\u043b \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/h3>\n<p>\u0418\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f:<\/p>\n<pre><code>browser+ HTML+ JavaScript+ localStorage+ IndexedDB+ git-host API= messenger \u0431\u0435\u0437 backend<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u0433\u0440\u0443\u0431\u043e, \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>client -&gt; backend -&gt; database<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>Macaroni \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>messenger.html -&gt; git host -&gt; git repository<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c HTML-\u0444\u0430\u0439\u043b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f transport\/storage, \u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f source of truth.<\/p>\n<p>\u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e <strong>\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e<\/strong> \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0443 Macaroni \u043d\u0435\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<h3>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/h3>\n<p>\u042f \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0430\u0432\u0438\u043b:<\/p>\n<ul>\n<li>\n<p>\u043e\u0434\u0438\u043d <code>messenger.html<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0431\u0435\u0437 backend;<\/p>\n<\/li>\n<li>\n<p>\u0431\u0435\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u044a;<\/p>\n<\/li>\n<li>\n<p>\u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0438 \u0441\u0431\u043e\u0440\u043a\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0431\u0435\u0437 realtime-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b;<\/p>\n<\/li>\n<li>\n<p>git repository \u043a\u0430\u043a storage \u0438 transport;<\/p>\n<\/li>\n<li>\n<p>\u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u0435\u044e\u0449\u0438\u0435\u0441\u044f browser APIs \u043a\u0430\u043a runtime;<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b. Macaroni \u043d\u0435 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u044b\u0442\u044c &#171;\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c&#187; production \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0435\u0440\u043e\u043c. \u041e\u043d \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u0443\u044e \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u044e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441:<\/p>\n<blockquote>\n<p>\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0435\u0445\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0443 \u0442\u0435\u0431\u044f \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e HTML-\u0444\u0430\u0439\u043b, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 git?<\/p>\n<\/blockquote>\n<p>\u041e\u0442\u0432\u0435\u0442: \u0434\u0430\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u041c\u043e\u0434\u0435\u043b\u044c .macaroni\/<\/h3>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043b\u0435\u0436\u0430\u0442 \u043d\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438, \u0430 \u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 JSON-\u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>.macaroni\/  protocol.json  users\/    SA6E.json    AG01.json    AG02.json  chats\/    chat_20260613_agent_room\/      meta.json      members.json      messages\/        2026\/          06\/            15\/              2026-06-15T08-30-00.000Z_AG01_demo.json      receipts\/        SA6E\/          2026\/            06\/              15\/                2026-06-15T08-31-00.000Z_SA6E_....json  inbox\/    AG02\/      2026-06-15T08-30-00.000Z_AG01_demo.json<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>Macaroni Protocol v1<\/strong>.<\/p>\n<p>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0442\u0443\u043f\u043e\u0439:<\/p>\n<ul>\n<li>\n<p>chat metadata \u2014 JSON;<\/p>\n<\/li>\n<li>\n<p>members \u2014 JSON;<\/p>\n<\/li>\n<li>\n<p>message \u2014 JSON;<\/p>\n<\/li>\n<li>\n<p>inbox notification \u2014 JSON;<\/p>\n<\/li>\n<li>\n<p>read receipt \u2014 JSON;<\/p>\n<\/li>\n<li>\n<p>path \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0439;<\/p>\n<\/li>\n<li>\n<p>\u0444\u0430\u0439\u043b \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0433\u043b\u0430\u0437\u0430\u043c\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0444\u0430\u0439\u043b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430. \u041d\u0438\u043a\u0430\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0438. \u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e &#171;\u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430\u0448 SDK, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0442\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e&#187;. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438\u043b\u0438 IDE \u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0434\u0435\u0431\u0430\u0433.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439, \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e  \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u0435\u0441\u044c\u043c\u0430 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u0441 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u043c\u0438 \u043a\u043e\u043b\u0435\u0441\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u0430 \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u2014 \u0437\u0440\u0435\u043b\u0438\u0449\u043d\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u043b\u043e\u0431.<\/p>\n<h3>\u0424\u043e\u0440\u043c\u0430\u0442 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>{  \"version\": 1,  \"id\": \"2026-06-15T08-30-00.000Z_AG01_demo\",  \"chat_id\": \"chat_20260613_agent_room\",  \"type\": \"text\",  \"from\": \"AG01\",  \"from_name\": \"Agent One\",  \"to\": [\"AG02\"],  \"created_at\": \"2026-06-15T08:30:00.000Z\",  \"text\": \"Hello from one HTML file\",  \"reply_to\": null,  \"attachments\": [],  \"meta\": {    \"client\": \"Macaroni Messenger JS 0.1.0\"  },  \"signature\": null}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 JSON. <code>text<\/code> \u2014 \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430. \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d encryption plugin, \u0442\u043e <code>text<\/code> \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0432\u0438\u0434\u0430:<\/p>\n<pre><code>MACARONI1.01:eyJ2IjoiMS4wMSIsImFsZyI6...<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041d\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. Core \u0432\u0441\u0451 \u0435\u0449\u0451 \u0432\u0438\u0434\u0438\u0442 Protocol v1 message. \u041f\u043b\u0430\u0433\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u043e\u043b\u044f <code>text<\/code>.<\/p>\n<h3>Inbox \u041a\u0430\u043a Receive Hint<\/h3>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 git-backed \u0447\u0430\u0442\u0430: \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043c\u043d\u0435 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e? \u041c\u043e\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u0435 chats\/messages \u043f\u043e \u0434\u0430\u0442\u0430\u043c. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a \u0441 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0439, \u043d\u043e \u044d\u0442\u043e \u0434\u0443\u0448\u043d\u043e \u0438 \u043d\u0435 \u0432\u0435\u0441\u0435\u043b\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0441\u0442\u044c inbox hints:<\/p>\n<pre><code>.macaroni\/inbox\/&lt;CLIENT_ID&gt;\/&lt;message_id&gt;.json<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code>{  \"version\": 1,  \"recipient_id\": \"AG02\",  \"message_id\": \"2026-06-15T08-30-00.000Z_AG01_demo\",  \"chat_id\": \"chat_20260613_agent_room\",  \"message_path\": \".macaroni\/chats\/chat_20260613_agent_room\/messages\/2026\/06\/15\/2026-06-15T08-30-00.000Z_AG01_demo.json\",  \"created_at\": \"2026-06-15T08:30:00.000Z\",  \"type\": \"message\"}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u042d\u0442\u043e <strong>\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c<\/strong>. \u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u043e\u0439 inbox, \u043d\u0430\u0439\u0442\u0438 \u043d\u043e\u0432\u044b\u0435 hints \u0438 \u0434\u043e\u0447\u0438\u0442\u0430\u0442\u044c message file.<\/p>\n<h3>Git \u041a\u0430\u043a Storage<\/h3>\n<p>Git \u0437\u0434\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e commit. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u2014 \u044d\u0442\u043e history. \u0412\u0435\u0442\u043a\u0430 \u2014 \u044d\u0442\u043e storage namespace. <\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 &#171;database on git&#187; \u0432 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435. \u042d\u0442\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 append-friendly \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043b\u043e\u0436\u0438\u0442\u0441\u044f \u043d\u0430 git.<\/p>\n<p>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430:<\/p>\n<ul>\n<li>\n<p>\u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>diff \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>backup \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>hosting \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>auth\/token model \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>branch model \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430:<\/p>\n<ul>\n<li>\n<p>\u044d\u0442\u043e \u043d\u0435 realtime;<\/p>\n<\/li>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u0438\u0435 repo \u0431\u0443\u0434\u0443\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u0443 API \u0435\u0441\u0442\u044c rate limits;<\/p>\n<\/li>\n<li>\n<p>conflict handling \u043d\u0443\u0436\u0435\u043d;<\/p>\n<\/li>\n<li>\n<p>git-host APIs \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>\u044d\u0442\u043e \u0432\u0441\u0451 \u0435\u0449\u0451 \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0438\u0434\u0435\u044f.<\/p>\n<\/li>\n<\/ul>\n<h3>Storage Branch<\/h3>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 <code>.macaroni\/<\/code> \u043b\u0435\u0436\u0430\u043b\u0430 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0435\u0442\u043a\u0435 <code>main<\/code>. \u0422\u043e \u0435\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0442\u0430\u043a:<\/p>\n<pre><code>README.mdmessenger.htmldocs\/.macaroni\/<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u0438 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e \u0447\u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u0443\u043f\u043e\u0440\u043e\u0442\u044b\u0439, \u043d\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439. \u041f\u0440\u0430\u0432\u0434\u0430, \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0432\u0441\u0451 \u0442\u0430\u043a, \u0431\u0443\u0434\u0442\u043e \u0447\u0430\u0442 \u043f\u0440\u0438\u0448\u0451\u043b \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0438 \u0441\u0435\u043b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 README. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u0437\u0434\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u2014 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u0434\u043b\u044f &#171;storage branch&#187;. \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code>main:  messenger.html  README.md  docs\/macaroni:  .macaroni\/<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u0435:<\/p>\n<pre><code>Storage branch: macaroni<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u043e\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u2014 <code>macaroni<\/code>. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c <strong><em>\u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0432 \u043b\u044e\u0431\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u044b \u043f\u0443\u043b\u043b \u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b \u0441 \u0432\u0435\u0442\u043a\u0430\u043c\u0438<\/em><\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0442\u0435, \u0443 \u043a\u043e\u0433\u043e <code>storageBranch<\/code> \u0431\u044b\u043b \u0432 \u043c\u0435\u0439\u043d\u0435 \u2014 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0442\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 HTML-\u0444\u0430\u0439\u043b\u0430 \u043d\u0435 &#171;\u043f\u043e\u0442\u0435\u0440\u044f\u043b\u043e&#187; \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0447\u0430\u0442\u044b. <\/p>\n<p>\u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u043d\u0430\u0434\u043e \u0431\u044b \u044d\u0442\u043e \u0432\u044b\u043f\u0438\u043b\u0438\u0442\u044c, \u043d\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u0443\u044e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0431\u043c\u0435\u043d\u0430 \u0447\u0435\u043c \u0443\u0433\u043e\u0434\u043d\u043e \u043d\u0430 HTML, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043b\u0435\u043d\u044c, \u0438 \u044d\u0442\u043e\u0442 \u0445\u0432\u043e\u0441\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430. \u0415\u0441\u043b\u0438 \u0436\u0435 storage branch \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0442\u043a\u0443 \u043e\u0442 source branch.<\/p>\n<h3>Transport Adapters<\/h3>\n<p>Macaroni \u043d\u0435 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u043b\u043d\u044b\u0439 git client \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430\u043c \u043e\u0442 \u0433\u0438\u0442\u0430 \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e CRUD, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0432\u043e\u043e\u0431\u0449\u0435 CRU. <\/p>\n<p>Raw SSH\/git protocol \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u2014 \u044d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0438 \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0435\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c, \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e HTML \u0444\u0430\u0439\u043b\u0430, \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0435\u043d\u044f \u0432 \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u0435\u0440\u044b.<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0442\u044f\u043d\u0443\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u0438\u0434\u0430:<\/p>\n<blockquote>\n<p>\u0415\u0441\u043b\u0438 git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0443\u0436\u0435 \u0434\u0430\u0451\u0442 HTTP API \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a transport.<\/p>\n<\/blockquote>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u0434\u043b\u044f: GitHub, GitLab, GitVerse, Gitea, Forgejo. \u0416\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e \u0441\u0443\u0442\u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 GIT- \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u0440\u0443\u0447\u0435\u043a \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u0433\u0438\u0442 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0433\u0438\u0442\u043e\u043c \u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u043e\u043c, \u0441\u043c\u043e\u0442\u0440\u044f\u0449\u0438\u043c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0418 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0444\u043e\u0440\u043a\u043d\u0443\u0442\u044c \u0441\u0432\u043e\u0439 \u0447\u0430\u0442 \u0438 \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.<\/p>\n<p>\u041e\u0431\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<pre><code>{  readHead(config) {},  ensureBranch(config, branch, fromRef) {},  readFile(config, path) {},  readJson(config, path) {},  listFiles(config, path) {},  writeFile(config, path, content, message) {},  writeJson(config, path, value, message) {}}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>\u041a\u0430\u043a \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 GitHub \u0447\u0435\u0440\u0435\u0437 API<\/h3>\n<p>GitHub adapter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 REST Contents API, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0430\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0439 \u0433\u0438\u0442 \u0445\u043e\u0441\u0442\u0438\u043d\u0433. \u041f\u0440\u0438 \u0447\u0435\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e, \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0430\u044f \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439. \u041c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435: \u043f\u0438\u0448\u0435\u043c \u0438 \u0447\u0438\u0442\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b.<\/p>\n<p>\u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code>GET \/repos\/{owner}\/{repo}\/contents\/{path}?ref={branch}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0417\u0430\u043f\u0438\u0441\u044c \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code>PUT \/repos\/{owner}\/{repo}\/contents\/{path}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0435:<\/p>\n<pre><code>{  \"message\": \"Macaroni: send message 2026-06-15T08-30-00.000Z_AG01_demo\",  \"content\": \"base64...\",  \"branch\": \"macaroni\",  \"sha\": \"old-file-sha-if-update\"}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0435\u0449\u0451 \u043d\u0435\u0442, <code>sha<\/code> \u043d\u0435 \u043d\u0443\u0436\u0435\u043d. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f, <code>sha<\/code> \u043d\u0443\u0436\u0435\u043d.<\/p>\n<p>\u0415\u0441\u043b\u0438 GitHub \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 <code>409 Conflict<\/code>, \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 metadata \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0441\u043d\u043e\u0432\u0430.<\/p>\n<h3>\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 Outbox<\/h3>\n<p>\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 remote. \u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0435\u0441\u0442\u044c local outbox. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 IndexedDB \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 UI. \u042d\u0442\u043e \u0434\u0430\u0435\u0442 <strong>\u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435<\/strong> \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c flush \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 git. \u0423\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e:<\/p>\n<pre><code>async function flushOutbox(profile) {  await reindexRemoteIfChanged(profile);  for (const item of await listOutbox()) {    try {      await sendRemoteMessage(profile, item.payload);      await deleteOutbox(item.id);    } catch (error) {      await markOutboxError(item.id, error.message);      break;    }  }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0434 push \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u0435\u043b\u0430\u0435\u0442 refresh\/reindex. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Git \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0443\u0431\u0435\u0436\u0438\u0442 \u043d\u043e \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0439\u0442\u0438 \u0438 \u0438\u0441\u043f\u043e\u0440\u0442\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435.<\/p>\n<h3>Read-only Mode<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 write token, remote profile \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a read-only. \u0412 read-only \u0440\u0435\u0436\u0438\u043c\u0435:<\/p>\n<ul>\n<li>\n<p>\u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>messages \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>composer \u0441\u043a\u0440\u044b\u0442;<\/p>\n<\/li>\n<li>\n<p>create chat \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d;<\/p>\n<\/li>\n<li>\n<p>join chat \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d;<\/p>\n<\/li>\n<li>\n<p>UI \u0447\u0435\u0441\u0442\u043d\u043e \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u0435\u043d token \u0441 \u043f\u0440\u0430\u0432\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f. \u0412 \u043f\u0435\u0440\u0432\u044b\u0445 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u0442\u043e\u043a\u0435\u043d\u0430, \u0438\u043b\u0438 \u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u043c \u0431\u0435\u0437 \u043f\u0440\u0430\u0432 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043e\u043d\u043e \u043f\u0430\u0434\u0430\u043b\u043e \u0432 outbox \u0438 \u0436\u0434\u0430\u043b\u043e \u0441\u0432\u0435\u0442\u043b\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e. <\/p>\n<p>\u0418 \u0432\u044b\u0447\u0438\u0449\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0443\u0434\u043d\u043e. \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043c\u043e. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0449\u0435:<\/p>\n<pre><code>\u043d\u0435\u0442 write token -&gt; \u043d\u0435\u0442 composer<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>Local State<\/h3>\n<p>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0432\u0430 \u0432\u0438\u0434\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f.<\/p>\n<p><strong>localStorage <\/strong>\u2014 \u0432\u044b\u0431\u0440\u0430\u043d \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u0432 \u043d\u0435\u0433\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0440\u0435\u0434\u043a\u043e, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0434\u0438\u043d \u0440\u0430\u0437:<\/p>\n<ul>\n<li>\n<p>profile;<\/p>\n<\/li>\n<li>\n<p>token;<\/p>\n<\/li>\n<li>\n<p>language;<\/p>\n<\/li>\n<li>\n<p>plugin settings;<\/p>\n<\/li>\n<li>\n<p>encryption settings.<\/p>\n<\/li>\n<\/ul>\n<p><strong>IndexedDB <\/strong>\u2014 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043f\u043e \u043f\u0440\u0438\u043a\u043e\u043b\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0433\u043e \u0432\u0441\u0435 \u0445\u0435\u0439\u0442\u044f\u0442, \u043d\u043e \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0447\u0430\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>local message cache;<\/p>\n<\/li>\n<li>\n<p>chats;<\/p>\n<\/li>\n<li>\n<p>users;<\/p>\n<\/li>\n<li>\n<p>outbox;<\/p>\n<\/li>\n<li>\n<p>local test repo;<\/p>\n<\/li>\n<li>\n<p>metadata \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e sync.<\/p>\n<\/li>\n<\/ul>\n<p>Git \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0438\u0441\u0442\u0438\u043d\u044b <strong>\u0432\u0441\u0435\u0433\u0434\u0430<\/strong>. IndexedDB \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043a\u0435\u0448. \u0415\u0441\u043b\u0438 IndexedDB \u0441\u043b\u043e\u043c\u0430\u043b\u0441\u044f, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 repo \u0447\u0435\u0440\u0435\u0437 reindex. \u0415\u0441\u043b\u0438 \u0443 \u0442\u0435\u0431\u044f \u043d\u0435 SSD, \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0443\u0441\u0442\u0435\u0442\u044c, \u0430 \u0442\u044b \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0441\u043b\u0438\u0448\u0438\u0448\u044c \u043a\u0430\u043a \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0415\u0441\u043b\u0438 git repo \u0441\u043b\u043e\u043c\u0430\u043b\u0441\u044f, \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043a\u0435\u0448\u0435\u043c, \u0430 \u043f\u043e\u043b\u043d\u0430\u044f \u0443\u0442\u0440\u0430\u0442\u0430 \u0432\u0441\u0435\u0439 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0438. \u042d\u0442\u043e \u043d\u0435 \u0431\u0430\u0433, \u0430 \u0444\u0438\u0447\u0430.<\/p>\n<h3>Plugin Boundary<\/h3>\n<p>\u0412 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e core \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u043d\u0430\u0442\u044c \u043e\u0431\u043e \u0432\u0441\u0451\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f <strong>browser-side plugin boundary<\/strong>. Plugin \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c hooks:<\/p>\n<pre><code>transformOutgoingMessage(message, context)transformIncomingMessage(message, context)mountSettings(container, context)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>Core \u0441\u043e\u0437\u0434\u0430\u0451\u0442 Protocol v1 message. \u041f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441 \u043d\u0438\u043c \u0447\u0442\u043e \u0445\u043e\u0442\u044f\u0442. \u041f\u0435\u0440\u0435\u0434 \u043f\u043e\u043a\u0430\u0437\u043e\u043c incoming message \u0442\u043e\u0436\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 plugin \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0434\u0435\u043b\u0430\u0442\u044c encryption plugin \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f Protocol v1. Core \u0432\u0441\u0451 \u0435\u0449\u0451 \u0445\u0440\u0430\u043d\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 message. Plugin \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code>message.text<\/code> \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443. <\/p>\n<p>\u0422\u0443\u0442 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e: \u043e\u0442 \u043b\u043e\u0433\u0433\u0435\u0440\u0430 \u0434\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 500 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442 \u0447\u0430\u043d\u043a\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u0433\u0438\u0442\u0445\u0430\u0431. \u041d\u0443 \u0438\u043b\u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u0434\u043b\u044f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043c\u0435\u0434\u0438\u0430 \u0441 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0432 S3 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u0438\u043b\u0438 webdav. \u0418 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0438\u043b\u0438 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442. \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430.<\/p>\n<h3>Encryption 1.01<\/h3>\n<p>\u042d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u043c. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0438\u0434\u0435\u044f \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u0430 \u0431\u044b\u043b\u0430 &#171;\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e, \u043f\u0443\u0441\u043a\u0430\u0439 \u043a\u0430\u0436\u0434\u044b\u0439 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u0447\u0438\u0442\u0430\u0435\u0442&#187;. \u041d\u043e \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043c\u044b\u0441\u043b\u044c &#171;\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e O(log(n)), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 <strong>\u0441\u043b\u0435\u0433\u043a\u0430<\/strong> \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<\/p>\n<p>Encryption \u043f\u0438\u0441\u0430\u043b\u0441\u044f \u043a\u0430\u043a plugin, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u043f\u0440\u0443\u0444 \u043e\u0444 \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e. Macaroni Protocol v1 \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. \u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. Transport \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.<\/p>\n<p>\u041c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e <code>message.text<\/code>. \u0424\u043e\u0440\u043c\u0443\u043b\u0430 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f:<\/p>\n<pre><code>secret + salt + message context -&gt; tiny PRNG -&gt; XOR stream<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>repo;<\/p>\n<\/li>\n<li>\n<p>chat;<\/p>\n<\/li>\n<li>\n<p>sender;<\/p>\n<\/li>\n<li>\n<p>recipients;<\/p>\n<\/li>\n<li>\n<p>message id;<\/p>\n<\/li>\n<li>\n<p>created_at;<\/p>\n<\/li>\n<li>\n<p>plaintext length.<\/p>\n<\/li>\n<\/ul>\n<p>Material \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>macaroni-1.01|secret|salt|repo|chat|from|to|message_id|created_at|length<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0442\u043e\u043c material \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 deterministic byte stream. \u041f\u043e\u0442\u043e\u043c plaintext XOR-\u0438\u0442\u0441\u044f \u0441 \u044d\u0442\u0438\u043c stream. \u041f\u0440\u0438\u043c\u0435\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code>function xorTinyPrng(bytes, material) {  var out = new Uint8Array(bytes.length);  var random = xorshift32(fnv1a(material, 0x811c9dc5));  var word = 0;  var used = 4;  for (var i = 0; i &lt; bytes.length; i++) {    if (used &gt;= 4) {      word = random();      used = 0;    }    out[i] = bytes[i] ^ ((word &gt;&gt;&gt; (used * 8)) &amp; 255);    used++;  }  return out;}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u0430, \u044d\u0442\u043e \u043d\u0435 Signal. \u0414\u0430, \u044d\u0442\u043e \u043d\u0435 PGP (\u0445\u043e\u0442\u044f \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0441\u044e\u0434\u0430 \u043f\u0440\u0438\u043c\u043e\u0442\u0430\u0442\u044c PGP \u0437\u0430 2 \u043c\u0438\u043d\u0443\u0442\u044b). \u0414\u0430, \u044d\u0442\u043e \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u0422\u0430\u043a \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442. \u041d\u0443 \u043a\u0440\u043e\u043c\u0435 \u043d\u0430\u0441.<\/p>\n<p>\u0418 \u0434\u0430, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 secret \u2014 <code>12345<\/code>, \u0432\u044b \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u0438 \u0434\u0435\u0440\u0435\u0432\u044f\u043d\u043d\u0443\u044e \u0434\u0432\u0435\u0440\u044c \u0438 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0435\u0451 \u0441\u0435\u0439\u0444\u043e\u043c. \u041d\u043e <strong>\u0435\u0441\u043b\u0438<\/strong> <code>secret<\/code> \u0438 <code>salt<\/code> \u2014 \u044d\u0442\u043e \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 PGP-sized \u043a\u0443\u0441\u043a\u0438 key material, \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u043b\u043e\u0445\u043e\u0439 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0435\u0439.<\/p>\n<p>\u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u201c\u0432\u0441\u0435\u0433\u043e\u201d 128 \u0431\u0438\u0442 \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0438:<\/p>\n<pre><code>2^128 ~= 3.4e38<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0440\u0438 \u0444\u0430\u043d\u0442\u0430\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 <code>10^12<\/code> \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e <code>10^19<\/code> \u043b\u0435\u0442. \u0412\u043e\u0437\u0440\u0430\u0441\u0442 \u0412\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u2014 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <code>10^10<\/code> \u043b\u0435\u0442. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u0438\u043b\u044c\u043d\u044b\u0439 secret \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442 \u0430\u0442\u0430\u043a\u0443 \u0438\u0437 <strong>\u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u043b\u044e\u0447 \u0432 \u0434\u043e\u0431\u044b\u0442\u044c \u043a\u043b\u044e\u0447. <\/strong><\/p>\n<p>\u0410 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f. \u042d\u0442\u043e \u0441\u0442\u0430\u0440\u044b\u0439 \u0434\u043e\u0431\u0440\u044b\u0439 \u0433\u043e\u043b\u043b\u0438\u0432\u0443\u0434\u0441\u043a\u0438\u0439 \u0444\u0438\u043b\u044c\u043c \u043f\u0440\u043e \u0445\u0430\u043a\u0435\u0440\u043e\u0432, \u0444\u043b\u0435\u0448\u043a\u0443, <a href=\"http:\/\/backup.zip\" rel=\"noopener noreferrer nofollow\">backup.zip<\/a> \u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b \u0444\u0430\u0439\u043b \u043d\u0435 \u0442\u0443\u0434\u0430.<\/p>\n<h3>File As Key<\/h3>\n<p>\u0421\u0430\u043c\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c encryption \u2014 \u043d\u0435 XOR. \u0421\u0430\u043c\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2014 <strong>file-as-key model<\/strong>.<\/p>\n<p>\u0412 portable mode <code>messenger.html<\/code> \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>repo URL;<\/p>\n<\/li>\n<li>\n<p>CLIENT_ID;<\/p>\n<\/li>\n<li>\n<p>token;<\/p>\n<\/li>\n<li>\n<p>plugin settings;<\/p>\n<\/li>\n<li>\n<p>encryption secret;<\/p>\n<\/li>\n<li>\n<p>salt.<\/p>\n<\/li>\n<\/ul>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f capability artifact.<\/p>\n<pre><code>\u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0444\u0430\u0439\u043b -&gt; \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u043f\u043e\u0442\u0435\u0440\u044f\u043b \u0444\u0430\u0439\u043b -&gt; \u043f\u043e\u0442\u0435\u0440\u044f\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0441\u043b\u0438\u043b \u0444\u0430\u0439\u043b -&gt; \u0441\u043b\u0438\u043b \u0434\u043e\u0441\u0442\u0443\u043f<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u044d\u0442\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre><code>\u0424\u0430\u0439\u043b - \u044d\u0442\u043e \u043a\u043b\u044e\u0447.\u041a\u043b\u044e\u0447 - \u044d\u0442\u043e \u0444\u0430\u0439\u043b.\u041f\u0435\u0440\u0435\u0434\u0430\u043b \u0444\u0430\u0439\u043b - \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430.\u041f\u043e\u0442\u0435\u0440\u044f\u043b \u0444\u0430\u0439\u043b - \u043f\u043e\u0442\u0435\u0440\u044f\u043b \u0447\u0430\u0442.<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0415\u0441\u043b\u0438 secret\/salt \u0431\u044b\u043b\u0438 PGP-sized, \u0430 \u0444\u0430\u0439\u043b \u0443\u0434\u0430\u043b\u0435\u043d \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u044d\u0442\u043e \u043d\u0435 &#171;\u0437\u0430\u0431\u044b\u0442\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c&#187;. \u041f\u0440\u043e\u0449\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0443\u044e \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u0438 \u0432\u0437\u044f\u0442\u044c \u0444\u0430\u0439\u043b \u0442\u0430\u043c. PGP-sized secret \u043d\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442. \u0415\u0433\u043e \u043b\u0438\u0431\u043e \u0445\u0440\u0430\u043d\u044f\u0442, \u043b\u0438\u0431\u043e \u043e\u043f\u043b\u0430\u043a\u0438\u0432\u0430\u044e\u0442.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u042d\u0442\u043e \u041d\u0435 &#171;\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440&#187;<\/h3>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: Macaroni \u043d\u0435 \u043f\u0440\u043e\u0434\u0430\u0451\u0442 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u044c.<\/p>\n<ul>\n<li>\n<p>\u0415\u0441\u043b\u0438 repo \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f plaintext \u2014 \u043e\u043d\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 repo \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u2014 \u043e\u043d\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0442\u0435\u043c, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a repo.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e encryption \u2014 \u0432 repo \u043b\u0435\u0436\u0438\u0442 encrypted pasta, \u043d\u043e \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u044e\u0447\u043e\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0430\u0436\u043d\u043e\u0439 \u0432\u0435\u0449\u044c\u044e.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u044e\u0447\u043e\u043c \u0443\u043a\u0440\u0430\u043b\u0438 \u2014 \u0437\u043d\u0430\u0447\u0438\u0442, \u0435\u0433\u043e \u0443\u043a\u0440\u0430\u043b\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0447\u0435\u0441\u0442\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c. \u041d\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f. \u041d\u0435 &#171;secure messenger for activists&#187;. \u041d\u0435 &#171;military-grade communication platform&#187;. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0437\u043d\u0430\u0442\u043d\u044b\u0439 \u0445\u043e\u043b\u0438\u0432\u0430\u0440 \u0435\u0441\u043b\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043b\u0438 \u043e\u043f\u0440\u043e\u0432\u0435\u0440\u0433\u043d\u0443\u0442\u044c.<\/p>\n<p>\u042d\u0442\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442.<\/p>\n<h3>\u0427\u0442\u043e \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u041d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e<\/h3>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0432 \u043a\u043e\u0434\u0435. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u044b.<\/p>\n<h4>1. Git-host \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f message storage<\/h4>\n<p>GitHub, GitLab, Gitea \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u0443\u043c\u0430\u044e\u0442, \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u044f\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434.<\/p>\n<p>Macaroni \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0443. \u0414\u043b\u044f git \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0435 JSON-\u0444\u0430\u0439\u043b\u044b. \u0414\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u044d\u0442\u043e \u0447\u0430\u0442. \u0414\u043b\u044f \u044e\u0440\u0438\u0441\u0442\u0430 \u044d\u0442\u043e<strong> \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441<\/strong>.<\/p>\n<h4>2. HTML-\u0444\u0430\u0439\u043b \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c<\/h4>\n<p>\u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u044d\u0442\u043e &#171;\u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430&#187;. \u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u044d\u0442\u043e application runtime. \u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u044d\u0442\u043e \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u0435\u0441\u0442\u0438 \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435, \u043f\u0440\u0438\u0441\u043b\u0430\u0442\u044c \u043f\u043e \u043f\u043e\u0447\u0442\u0435 \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u0441 \u043f\u0440\u044f\u043c\u044b\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u2014 \u0432 \u043b\u044e\u0431\u043e\u0439 electron \u043e\u0431\u0435\u0440\u0442\u043a\u0435 \u043e\u0442 \u043b\u044e\u0431\u043e\u0433\u043e \u0432\u0435\u043d\u0434\u043e\u0440\u0430. <\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 backdoor. \u042d\u0442\u043e \u043d\u0435 exploit. \u042d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432\u0441\u0451, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0448 \u0444\u0430\u0439\u043b &#171;\u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0447\u0435\u0440\u0442\u0435\u0436\u0438 \u041d\u041b\u041e.zip&#187; \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0442\u0430\u043c, \u0433\u0434\u0435 \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c.<\/p>\n<h4>3. Repository \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e<\/h4>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 <code>macaroni<\/code> \u043c\u043e\u0436\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u043e \u0438 project memory. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u0430\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c:<\/p>\n<pre><code>main branch -&gt; code\/docsmacaroni branch -&gt; project memory\/lore\/chat history<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u0447\u0442\u0438 \u0438\u0433\u0440\u043e\u0432\u0430\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0430. Main quest \u0438 lore branch. \u0428\u0443\u0442\u043a\u0430 \u0437\u0430\u043c\u043a\u043d\u0443\u043b\u0430\u0441\u044c \u0441\u0430\u043c\u0430 \u043d\u0430 \u0441\u0435\u0431\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044f \u0445\u0440\u0430\u043d\u044e \u0442\u0430\u043c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0443 \u0441 \u0430\u0433\u0435\u043d\u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0442\u0435\u0440\u044f\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u0438 \u0441\u0436\u0430\u0442\u0438\u0438. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u0445\u043e\u0434\u0438\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435.<\/p>\n<h3>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043b\u043b\u044e\u0437\u0438\u0439:<\/p>\n<ul>\n<li>\n<p>realtime \u043d\u0435\u0442;<\/p>\n<\/li>\n<li>\n<p>polling \u0435\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u0432 GitHub API \u0435\u0441\u0442\u044c rate limits;<\/p>\n<\/li>\n<li>\n<p>token \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 localStorage;<\/p>\n<\/li>\n<li>\n<p>encryption \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f audited crypto;<\/p>\n<\/li>\n<li>\n<p>browser support \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d;<\/p>\n<\/li>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u0438\u0435 repo \u0431\u0443\u0434\u0443\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u043c\u0438;<\/p>\n<\/li>\n<li>\n<p>full-text search \u043f\u0440\u043e\u0441\u0442\u043e\u0439;<\/p>\n<\/li>\n<li>\n<p>identity model \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f;<\/p>\n<\/li>\n<li>\n<p>moderation \u043d\u0435\u0442;<\/p>\n<\/li>\n<li>\n<p>server-side recovery \u043d\u0435\u0442;<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 file-as-key, \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f;<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u043b\u0438 repo \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 repo \u2014 \u044d\u0442\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<p>Macaroni \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b. \u041e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0433\u0440\u0430\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 &#171;\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043c&#187;, &#171;\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c&#187;, &#171;\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c&#187; \u0438 &#171;\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c&#187; \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0435 \u0442\u0430\u043c, \u0433\u0434\u0435 \u043e\u0431\u044b\u0447\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u0443\u043c\u0430\u0442\u044c.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u041e\u0434\u0438\u043d HTML<\/h3>\n<p>\u041c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>npm package;<\/p>\n<\/li>\n<li>\n<p>Vite;<\/p>\n<\/li>\n<li>\n<p>React;<\/p>\n<\/li>\n<li>\n<p>backend;<\/p>\n<\/li>\n<li>\n<p>database;<\/p>\n<\/li>\n<li>\n<p>WebSocket;<\/p>\n<\/li>\n<li>\n<p>docker-compose;<\/p>\n<\/li>\n<li>\n<p>Kubernetes;<\/p>\n<\/li>\n<li>\n<p>observability stack;<\/p>\n<\/li>\n<li>\n<p>Helm chart;<\/p>\n<\/li>\n<li>\n<p>500 \u041c\u0411 wrapper, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c HTML.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u043e \u0442\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0431\u044b \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441.<\/p>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441:<\/p>\n<blockquote>\n<p>\u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0434\u043d\u0438\u043c HTML-\u0444\u0430\u0439\u043b\u043e\u043c?<\/p>\n<\/blockquote>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 <code>messenger.html<\/code> \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0444\u0430\u0439\u043b\u043e\u043c. \u0414\u0430, \u043e\u043d \u0441\u0442\u0430\u043b \u0431\u043e\u043b\u044c\u0448\u0438\u043c. \u0414\u0430, \u0432\u043d\u0443\u0442\u0440\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c adapters, local index, outbox, plugin boundary \u0438 encryption. <\/p>\n<p>\u0414\u0430, \u043a\u043e\u0434 \u043d\u0430\u0434\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0447\u0451\u0441\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u0441\u0442\u0430\u043b \u0441\u043e\u0432\u0441\u0435\u043c \u043b\u0430\u043f\u0448\u043e\u0439. \u041d\u043e \u044d\u0442\u043e \u0432\u0441\u0451 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b. \u0418 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e. \u042d\u0442\u043e \u0444\u0438\u0447\u0430.<\/p>\n<h3>\u0418\u0442\u043e\u0433<\/h3>\n<p>Macaroni Messenger \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0441\u0435\u043c \u043d\u0430\u0434\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b \u0432 HTML. \u041d\u0435 \u043d\u0430\u0434\u043e. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430. \u041d\u043e \u043e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e:<\/p>\n<pre><code>browser runtime+ git-host API+ JSON protocol+ localStorage+ IndexedDB<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u2014 \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440. \u0412 \u043d\u0443\u0442\u0440\u0438 \u0435\u0441\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>transport adapters;<\/p>\n<\/li>\n<li>\n<p>outbox;<\/p>\n<\/li>\n<li>\n<p>local cache;<\/p>\n<\/li>\n<li>\n<p>plugin boundary;<\/p>\n<\/li>\n<li>\n<p>optional encryption;<\/p>\n<\/li>\n<li>\n<p>git-backed protocol;<\/p>\n<\/li>\n<li>\n<p>file-as-key model.<\/p>\n<\/li>\n<\/ul>\n<p>Macaroni Messenger \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041d\u043e Git \u0443\u043c\u0435\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b. \u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0443\u043c\u0435\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c JavaScript. JSON \u0443\u043c\u0435\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0443\u0447\u043d\u044b\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043d\u0451\u043c \u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f \u0447\u0430\u0442.<\/p>\n<p>\u042d\u0442\u043e\u0433\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<ul>\n<li>\n<p>GitHub: <a href=\"https:\/\/github.com\/vanyapr\/makaroshki\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/vanyapr\/makaroshki<\/a><\/p>\n<\/li>\n<li>\n<p>Release: <a href=\"https:\/\/github.com\/vanyapr\/makaroshki\/releases\/tag\/v1.05\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/vanyapr\/makaroshki\/releases\/tag\/v1.05<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1049048\/\">https:\/\/habr.com\/ru\/articles\/1049048\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 pet project: \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e HTML-\u0444\u0430\u0439\u043b\u0430.\u0411\u0435\u0437 \u0431\u0435\u043a\u0435\u043d\u0434\u0430 \u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 (\u043f\u043e\u0447\u0442\u0438). \u0411\u0435\u0437 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438. \u0411\u0435\u0437 WebSocket. \u0411\u0435\u0437 npm \u0438 \u0441\u0431\u043e\u0440\u043a\u0438. \u0425\u043e\u0442\u044f, \u0442\u0443\u0442 \u043a\u0430\u043a \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 git-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f Macaroni Messenger.\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u043a\u0430\u043a \u0448\u0443\u0442\u043a\u0430 \u0443\u0440\u043e\u0432\u043d\u044f:\u0430 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GitHub?\u041f\u043e\u0442\u043e\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e, git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0438 \u0443\u0436\u0435 \u0434\u0430\u044e\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e API, \u0430 JSON \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0443\u0447\u043d\u044b\u0439, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043d\u0451\u043c \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043d\u0430\u0447\u0430\u043b \u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0430\u0442.\u0421\u043f\u043e\u0439\u043b\u0435\u0440: \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e&#8230;\u0410 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c HTML \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 c 80+ \u0437\u0432\u0435\u0437\u0434\u0430\u043c\u0438?\u0427\u0442\u043e \u042f \u0425\u043e\u0442\u0435\u043b \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0418\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f:browser+ HTML+ JavaScript+ localStorage+ IndexedDB+ git-host API= messenger \u0431\u0435\u0437 backend\u0415\u0441\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u0433\u0440\u0443\u0431\u043e, \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:client -&gt; backend -&gt; databaseMacaroni \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:messenger.html -&gt; git host -&gt; git repository\u0422\u043e \u0435\u0441\u0442\u044c HTML-\u0444\u0430\u0439\u043b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f transport\/storage, \u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f source of truth.\u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0443 Macaroni \u043d\u0435\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430.\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u042f \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0430\u0432\u0438\u043b:\u043e\u0434\u0438\u043d messenger.html;\u0431\u0435\u0437 backend;\u0431\u0435\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u044a;\u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0438 \u0441\u0431\u043e\u0440\u043a\u0438;\u0431\u0435\u0437 realtime-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b;git repository \u043a\u0430\u043a storage \u0438 transport;\u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u0435\u044e\u0449\u0438\u0435\u0441\u044f browser APIs \u043a\u0430\u043a runtime;\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b. Macaroni \u043d\u0435 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u044b\u0442\u044c &#171;\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c&#187; production \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0435\u0440\u043e\u043c. \u041e\u043d \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u0443\u044e \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u044e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441:\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0435\u0445\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0443 \u0442\u0435\u0431\u044f \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e HTML-\u0444\u0430\u0439\u043b, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 git?\u041e\u0442\u0432\u0435\u0442: \u0434\u0430\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f.\u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u041c\u043e\u0434\u0435\u043b\u044c .macaroni\/\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043b\u0435\u0436\u0430\u0442 \u043d\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438, \u0430 \u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 JSON-\u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:.macaroni\/  protocol.json  users\/    SA6E.json    AG01.json    AG02.json  chats\/    chat_20260613_agent_room\/      meta.json      members.json      messages\/        2026\/          06\/            15\/              2026-06-15T08-30-00.000Z_AG01_demo.json      receipts\/        SA6E\/          2026\/            06\/              15\/                2026-06-15T08-31-00.000Z_SA6E_&#8230;.json  inbox\/    AG02\/      2026-06-15T08-30-00.000Z_AG01_demo.json\u042d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f Macaroni Protocol v1.\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0442\u0443\u043f\u043e\u0439:chat metadata \u2014 JSON;members \u2014 JSON;message \u2014 JSON;inbox notification \u2014 JSON;read receipt \u2014 JSON;path \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0439;\u0444\u0430\u0439\u043b \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0433\u043b\u0430\u0437\u0430\u043c\u0438;\u0444\u0430\u0439\u043b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438.\u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430. \u041d\u0438\u043a\u0430\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0438. \u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e &#171;\u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430\u0448 SDK, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0442\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e&#187;. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438\u043b\u0438 IDE \u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0434\u0435\u0431\u0430\u0433.\u042d\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439, \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e  \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u0435\u0441\u044c\u043c\u0430 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u0441 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u043c\u0438 \u043a\u043e\u043b\u0435\u0441\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u0430 \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u2014 \u0437\u0440\u0435\u043b\u0438\u0449\u043d\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u043b\u043e\u0431.\u0424\u043e\u0440\u043c\u0430\u0442 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:{  &#171;version&#187;: 1,  &#171;id&#187;: &#171;2026-06-15T08-30-00.000Z_AG01_demo&#187;,  &#171;chat_id&#187;: &#171;chat_20260613_agent_room&#187;,  &#171;type&#187;: &#171;text&#187;,  &#171;from&#187;: &#171;AG01&#187;,  &#171;from_name&#187;: &#171;Agent One&#187;,  &#171;to&#187;: [&#171;AG02&#187;],  &#171;created_at&#187;: &#171;2026-06-15T08:30:00.000Z&#187;,  &#171;text&#187;: &#171;Hello from one HTML file&#187;,  &#171;reply_to&#187;: null,  &#171;attachments&#187;: [],  &#171;meta&#187;: {    &#171;client&#187;: &#171;Macaroni Messenger JS 0.1.0&#187;  },  &#171;signature&#187;: null}\u042d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 JSON. text \u2014 \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430. \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d encryption plugin, \u0442\u043e text \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0432\u0438\u0434\u0430:MACARONI1.01:eyJ2IjoiMS4wMSIsImFsZyI6&#8230;\u041d\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. Core \u0432\u0441\u0451 \u0435\u0449\u0451 \u0432\u0438\u0434\u0438\u0442 Protocol v1 message. \u041f\u043b\u0430\u0433\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u043e\u043b\u044f text.Inbox \u041a\u0430\u043a Receive Hint\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 git-backed \u0447\u0430\u0442\u0430: \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043c\u043d\u0435 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e? \u041c\u043e\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u0435 chats\/messages \u043f\u043e \u0434\u0430\u0442\u0430\u043c. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a \u0441 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0439, \u043d\u043e \u044d\u0442\u043e \u0434\u0443\u0448\u043d\u043e \u0438 \u043d\u0435 \u0432\u0435\u0441\u0435\u043b\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0441\u0442\u044c inbox hints:.macaroni\/inbox\/&lt;CLIENT_ID&gt;\/&lt;message_id&gt;.json\u041f\u0440\u0438\u043c\u0435\u0440:{  &#171;version&#187;: 1,  &#171;recipient_id&#187;: &#171;AG02&#187;,  &#171;message_id&#187;: &#171;2026-06-15T08-30-00.000Z_AG01_demo&#187;,  &#171;chat_id&#187;: &#171;chat_20260613_agent_room&#187;,  &#171;message_path&#187;: &#171;.macaroni\/chats\/chat_20260613_agent_room\/messages\/2026\/06\/15\/2026-06-15T08-30-00.000Z_AG01_demo.json&#187;,  &#171;created_at&#187;: &#171;2026-06-15T08:30:00.000Z&#187;,  &#171;type&#187;: &#171;message&#187;}\u042d\u0442\u043e \u043d\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u042d\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c. \u041f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u043e\u0439 inbox, \u043d\u0430\u0439\u0442\u0438 \u043d\u043e\u0432\u044b\u0435 hints \u0438 \u0434\u043e\u0447\u0438\u0442\u0430\u0442\u044c message file.Git \u041a\u0430\u043a StorageGit \u0437\u0434\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e commit. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u2014 \u044d\u0442\u043e history. \u0412\u0435\u0442\u043a\u0430 \u2014 \u044d\u0442\u043e storage namespace. \u042d\u0442\u043e \u043d\u0435 &#171;database on git&#187; \u0432 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435. \u042d\u0442\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 append-friendly \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043b\u043e\u0436\u0438\u0442\u0441\u044f \u043d\u0430 git.\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430:\u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;diff \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;backup \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;hosting \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;auth\/token model \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;branch model \u0443\u0436\u0435 \u0435\u0441\u0442\u044c;\u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435.\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430:\u044d\u0442\u043e \u043d\u0435 realtime;\u0431\u043e\u043b\u044c\u0448\u0438\u0435 repo \u0431\u0443\u0434\u0443\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c;\u0443 API \u0435\u0441\u0442\u044c rate limits;conflict handling \u043d\u0443\u0436\u0435\u043d;git-host APIs \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f;\u044d\u0442\u043e \u0432\u0441\u0451 \u0435\u0449\u0451 \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0438\u0434\u0435\u044f.Storage Branch\u0421\u043d\u0430\u0447\u0430\u043b\u0430 .macaroni\/ \u043b\u0435\u0436\u0430\u043b\u0430 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0435\u0442\u043a\u0435 main. \u0422\u043e \u0435\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0442\u0430\u043a:README.mdmessenger.htmldocs\/.macaroni\/\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u0438 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e \u0447\u0442\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u0443\u043f\u043e\u0440\u043e\u0442\u044b\u0439, \u043d\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439. \u041f\u0440\u0430\u0432\u0434\u0430, \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0432\u0441\u0451 \u0442\u0430\u043a, \u0431\u0443\u0434\u0442\u043e \u0447\u0430\u0442 \u043f\u0440\u0438\u0448\u0451\u043b \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0438 \u0441\u0435\u043b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 README. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u0437\u0434\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u2014 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u0434\u043b\u044f &#171;storage branch&#187;. \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a:main:  messenger.html  README.md  docs\/macaroni:  .macaroni\/\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u0435:Storage branch: macaroni\u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u043e\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u2014 macaroni. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0432 \u043b\u044e\u0431\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u044b \u043f\u0443\u043b\u043b \u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b \u0441 \u0432\u0435\u0442\u043a\u0430\u043c\u0438.\u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0442\u0435, \u0443 \u043a\u043e\u0433\u043e storageBranch \u0431\u044b\u043b \u0432 \u043c\u0435\u0439\u043d\u0435 \u2014 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0442\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 HTML-\u0444\u0430\u0439\u043b\u0430 \u043d\u0435 &#171;\u043f\u043e\u0442\u0435\u0440\u044f\u043b\u043e&#187; \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0447\u0430\u0442\u044b. \u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u043d\u0430\u0434\u043e \u0431\u044b \u044d\u0442\u043e \u0432\u044b\u043f\u0438\u043b\u0438\u0442\u044c, \u043d\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u0443\u044e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0431\u043c\u0435\u043d\u0430 \u0447\u0435\u043c \u0443\u0433\u043e\u0434\u043d\u043e \u043d\u0430 HTML, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043b\u0435\u043d\u044c, \u0438 \u044d\u0442\u043e\u0442 \u0445\u0432\u043e\u0441\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430. \u0415\u0441\u043b\u0438 \u0436\u0435 storage branch \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0442\u043a\u0443 \u043e\u0442 source branch.Transport AdaptersMacaroni \u043d\u0435 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u043b\u043d\u044b\u0439 git client \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430\u043c \u043e\u0442 \u0433\u0438\u0442\u0430 \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e CRUD, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0432\u043e\u043e\u0431\u0449\u0435 CRU. Raw SSH\/git protocol \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u2014 \u044d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0438 \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0435\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c, \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e HTML \u0444\u0430\u0439\u043b\u0430, \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0435\u043d\u044f \u0432 \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u0435\u0440\u044b.\u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0442\u044f\u043d\u0443\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u0438\u0434\u0430:\u0415\u0441\u043b\u0438 git-\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0443\u0436\u0435 \u0434\u0430\u0451\u0442 HTTP API \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a transport.\u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u0434\u043b\u044f: GitHub, GitLab, GitVerse, Gitea, Forgejo. \u0416\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e \u0441\u0443\u0442\u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 GIT- \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u0440\u0443\u0447\u0435\u043a \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.\u041a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u0433\u0438\u0442 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0433\u0438\u0442\u043e\u043c \u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u043e\u043c, \u0441\u043c\u043e\u0442\u0440\u044f\u0449\u0438\u043c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0418 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0444\u043e\u0440\u043a\u043d\u0443\u0442\u044c \u0441\u0432\u043e\u0439 \u0447\u0430\u0442 \u0438 \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.\u041e\u0431\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442 \u0442\u0430\u043a\u043e\u0439:{  readHead(config) {},  ensureBranch(config, branch, fromRef) {},  readFile(config, path) {},  readJson(config, path) {},  listFiles(config, path) {},  writeFile(config, path, content, message) {},  writeJson(config, path, value, message) {}}\u041a\u0430\u043a \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 GitHub \u0447\u0435\u0440\u0435\u0437 APIGitHub adapter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 REST Contents API, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0430\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0439 \u0433\u0438\u0442 \u0445\u043e\u0441\u0442\u0438\u043d\u0433. \u041f\u0440\u0438 \u0447\u0435\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e, \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0430\u044f \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439. \u041c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435: \u043f\u0438\u0448\u0435\u043c \u0438 \u0447\u0438\u0442\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b.\u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430:GET \/repos\/{owner}\/{repo}\/contents\/{path}?ref={branch}\u0417\u0430\u043f\u0438\u0441\u044c \u0444\u0430\u0439\u043b\u0430:PUT \/repos\/{owner}\/{repo}\/contents\/{path}\u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0435:{  &#171;message&#187;: &#171;Macaroni: send message 2026-06-15T08-30-00.000Z_AG01_demo&#187;,  &#171;content&#187;: &#171;base64&#8230;&#187;,  &#171;branch&#187;: &#171;macaroni&#187;,  &#171;sha&#187;: &#171;old-file-sha-if-update&#187;}\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0435\u0449\u0451 \u043d\u0435\u0442, sha \u043d\u0435 \u043d\u0443\u0436\u0435\u043d. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f, sha \u043d\u0443\u0436\u0435\u043d.\u0415\u0441\u043b\u0438 GitHub \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 409 Conflict, \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 metadata \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0441\u043d\u043e\u0432\u0430.\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 Outbox\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 remote. \u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0435\u0441\u0442\u044c local outbox. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 IndexedDB \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 UI. \u042d\u0442\u043e \u0434\u0430\u0435\u0442 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.\u041f\u043e\u0442\u043e\u043c flush \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 git. \u0423\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e:async function flushOutbox(profile) {  await reindexRemoteIfChanged(profile);  for (const item of await listOutbox()) {    try {      await sendRemoteMessage(profile, item.payload);      await deleteOutbox(item.id);    } catch (error) {      await markOutboxError(item.id, error.message);      break;    }  }}\u041f\u0435\u0440\u0435\u0434 push \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u0435\u043b\u0430\u0435\u0442 refresh\/reindex. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Git \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0443\u0431\u0435\u0436\u0438\u0442 \u043d\u043e \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0439\u0442\u0438 \u0438 \u0438\u0441\u043f\u043e\u0440\u0442\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435.Read-only Mode\u0415\u0441\u043b\u0438 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 write token, remote profile \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a read-only. \u0412 read-only \u0440\u0435\u0436\u0438\u043c\u0435:\u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f;messages \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f;composer \u0441\u043a\u0440\u044b\u0442;create chat \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d;join chat \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d;UI \u0447\u0435\u0441\u0442\u043d\u043e \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u0435\u043d token \u0441 \u043f\u0440\u0430\u0432\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0438.\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f. \u0412 \u043f\u0435\u0440\u0432\u044b\u0445 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u0442\u043e\u043a\u0435\u043d\u0430, \u0438\u043b\u0438 \u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u043c \u0431\u0435\u0437 \u043f\u0440\u0430\u0432 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043e\u043d\u043e \u043f\u0430\u0434\u0430\u043b\u043e \u0432 outbox \u0438 \u0436\u0434\u0430\u043b\u043e \u0441\u0432\u0435\u0442\u043b\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e. \u0418 \u0432\u044b\u0447\u0438\u0449\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0443\u0434\u043d\u043e. \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043c\u043e. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0449\u0435:\u043d\u0435\u0442 write token -&gt; \u043d\u0435\u0442 composerLocal State\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0432\u0430 \u0432\u0438\u0434\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f.localStorage \u2014 \u0432\u044b\u0431\u0440\u0430\u043d \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u0432 \u043d\u0435\u0433\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0440\u0435\u0434\u043a\u043e, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0434\u0438\u043d \u0440\u0430\u0437:profile;token;language;plugin settings;encryption settings.IndexedDB \u2014 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043f\u043e \u043f\u0440\u0438\u043a\u043e\u043b\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0433\u043e \u0432\u0441\u0435 \u0445\u0435\u0439\u0442\u044f\u0442, \u043d\u043e \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0447\u0430\u0441\u044b:local message cache;chats;users;outbox;local test repo;metadata \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e sync.Git \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0438\u0441\u0442\u0438\u043d\u044b \u0432\u0441\u0435\u0433\u0434\u0430. IndexedDB \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043a\u0435\u0448. \u0415\u0441\u043b\u0438 IndexedDB \u0441\u043b\u043e\u043c\u0430\u043b\u0441\u044f, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 repo \u0447\u0435\u0440\u0435\u0437 reindex. &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-484105","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/484105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=484105"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/484105\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=484105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=484105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=484105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}