Convert public directory from submodule to normal directory
- Remove public from git submodule tracking - Add all public directory contents as regular files - Fixes GitHub Actions error: "No url found for submodule path 'public' in .gitmodules" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,628 @@
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="" >
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<title>quick start · hello world! bluesky</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="description" content="">
|
||||
<meta name="generator" content="@gitbook-ng/gitbook 3.3.6">
|
||||
<meta name="author" content="syui">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/style.css">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-codeblock-filename/block.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="HandheldFriendly" content="true"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
||||
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
<link rel="next" href="2.html" />
|
||||
|
||||
|
||||
<link rel="prev" href="./" />
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="book">
|
||||
<div class="book-summary">
|
||||
|
||||
|
||||
<div id="book-search-input" role="search">
|
||||
<input type="text" placeholder="Type to search" />
|
||||
</div>
|
||||
|
||||
|
||||
<nav role="navigation">
|
||||
|
||||
|
||||
|
||||
<ul class="summary">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.1" data-path="../">
|
||||
|
||||
<a href="../">
|
||||
|
||||
|
||||
hello world! bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.2" data-path="../card/">
|
||||
|
||||
<a href="../card/">
|
||||
|
||||
|
||||
card
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.3" data-path="./">
|
||||
|
||||
<a href="./">
|
||||
|
||||
|
||||
part 1
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter active" data-level="1.3.1" data-path="1.html">
|
||||
|
||||
<a href="1.html">
|
||||
|
||||
|
||||
quick start
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.3.2" data-path="2.html">
|
||||
|
||||
<a href="2.html">
|
||||
|
||||
|
||||
example
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4" data-path="../c2/">
|
||||
|
||||
<a href="../c2/">
|
||||
|
||||
|
||||
part 2
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.4.1" data-path="../c2/1.html">
|
||||
|
||||
<a href="../c2/1.html">
|
||||
|
||||
|
||||
bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.2" data-path="../c2/2.html">
|
||||
|
||||
<a href="../c2/2.html">
|
||||
|
||||
|
||||
terminal
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.3" data-path="../c2/3.html">
|
||||
|
||||
<a href="../c2/3.html">
|
||||
|
||||
|
||||
shell
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.4" data-path="../c2/4.html">
|
||||
|
||||
<a href="../c2/4.html">
|
||||
|
||||
|
||||
rust
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5" data-path="../c3/">
|
||||
|
||||
<a href="../c3/">
|
||||
|
||||
|
||||
part 3
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.5.1" data-path="../c3/1.html">
|
||||
|
||||
<a href="../c3/1.html">
|
||||
|
||||
|
||||
hello world
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.2" data-path="../c3/2.html">
|
||||
|
||||
<a href="../c3/2.html">
|
||||
|
||||
|
||||
seahorse
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.3" data-path="../c3/3.html">
|
||||
|
||||
<a href="../c3/3.html">
|
||||
|
||||
|
||||
reqwest
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6" data-path="../c4/">
|
||||
|
||||
<a href="../c4/">
|
||||
|
||||
|
||||
part 4
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.6.1" data-path="../c4/0.html">
|
||||
|
||||
<a href="../c4/0.html">
|
||||
|
||||
|
||||
ai
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.2" data-path="../c4/1.html">
|
||||
|
||||
<a href="../c4/1.html">
|
||||
|
||||
|
||||
config
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.3" data-path="../c4/2.html">
|
||||
|
||||
<a href="../c4/2.html">
|
||||
|
||||
|
||||
mention
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.4" data-path="../c4/3.html">
|
||||
|
||||
<a href="../c4/3.html">
|
||||
|
||||
|
||||
base64
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7" data-path="../c5/">
|
||||
|
||||
<a href="../c5/">
|
||||
|
||||
|
||||
part 5
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.7.1" data-path="../c5/1.html">
|
||||
|
||||
<a href="../c5/1.html">
|
||||
|
||||
|
||||
notify
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.2" data-path="../c5/2.html">
|
||||
|
||||
<a href="../c5/2.html">
|
||||
|
||||
|
||||
timeline
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.3" data-path="../c5/3.html">
|
||||
|
||||
<a href="../c5/3.html">
|
||||
|
||||
|
||||
refresh
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.8" data-path="../end/">
|
||||
|
||||
<a href="../end/">
|
||||
|
||||
|
||||
end
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="book-body">
|
||||
|
||||
<div class="body-inner">
|
||||
|
||||
|
||||
|
||||
<div class="book-header" role="navigation">
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
<h1>
|
||||
<i class="fa fa-circle-o-notch fa-spin"></i>
|
||||
<a href=".." >quick start</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="page-wrapper" tabindex="-1" role="main">
|
||||
<div class="page-inner">
|
||||
|
||||
<div id="book-search-results">
|
||||
<div class="search-noresults">
|
||||
|
||||
<section class="normal markdown-section">
|
||||
|
||||
<h3 id="クイックスタート">クイックスタート</h3>
|
||||
<pre><code class="lang-sh">handle=yui.syui.ai
|
||||
curl <span class="hljs-_">-s</span>L <span class="hljs-string">"https://bsky.social/xrpc/com.atproto.repo.listRecords?repo=<span class="hljs-variable">${handle}</span>&collection=app.bsky.feed.post&limit=1"</span>
|
||||
</code></pre>
|
||||
<p><a href="https://bsky.app/profile/did:plc:4hqjfn7m6n5hno3doamuhgef" target="_blank">@yui.syui.ai</a>に以下の<code>mention</code>を送ります。</p>
|
||||
<pre><code class="lang-sh">@yui.syui.ai /card egg
|
||||
</code></pre>
|
||||
<p>すると、タマゴのカードがもらえます。この隠しコマンドは誰でも実行できます。既に持っている人はその旨が表示されます。</p>
|
||||
<p>このカードは自分のdidを<code>base64</code>に変換して<code>@yui.syui.ai</code>に送ることとで育成できるようになっています。</p>
|
||||
<pre><code class="lang-sh">$ <span class="hljs-built_in">echo</span> did:plc:4hqjfn7m6n5hno3doamuhgef|base64
|
||||
ZGlkOnBsYzo0aHFqZm43bTZuNWhubzNkb2FtdWhnZWYK
|
||||
</code></pre>
|
||||
<pre><code class="lang-sh">@yui.syui.ai /egg ZGlkOnBsYzo0aHFqZm43bTZuNWhubzNkb2FtdWhnZWYK
|
||||
</code></pre>
|
||||
<p>1日のバトルポイントを消費するので注意してください。</p>
|
||||
<p>これをコマンドで送る場合は以下のようになります。</p>
|
||||
<div><p class="code-filename">env</p></div>
|
||||
<pre><code class="lang-sh">data=`curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> <span class="hljs-_">-d</span> <span class="hljs-string">"{\"identifier\":\"<span class="hljs-variable">$handle</span>\",\"password\":\"<span class="hljs-variable">$pass</span>\"}"</span> https://bsky.social/xrpc/com.atproto.server.createSession`
|
||||
token=`<span class="hljs-built_in">echo</span> <span class="hljs-variable">$data</span>|jq -r .accessJwt`
|
||||
did=`<span class="hljs-built_in">echo</span> <span class="hljs-variable">$data</span>|jq -r .did`
|
||||
base=`<span class="hljs-built_in">echo</span> <span class="hljs-variable">$did</span>|base64`
|
||||
|
||||
handle_m=yui.syui.ai
|
||||
did_m=`curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> -H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> <span class="hljs-string">"https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=<span class="hljs-variable">${handle_m}</span>"</span>|jq -r .did`
|
||||
at=@<span class="hljs-variable">${handle_m}</span>
|
||||
s=0
|
||||
e=`<span class="hljs-built_in">echo</span> <span class="hljs-variable">$at</span>|wc -c`
|
||||
text=<span class="hljs-string">"<span class="hljs-variable">$at</span> /egg <span class="hljs-variable">$base</span>"</span>
|
||||
col=app.bsky.feed.post
|
||||
created_at=`date --iso-8601=seconds`
|
||||
</code></pre>
|
||||
<div><p class="code-filename">json</p></div>
|
||||
<pre><code class="lang-sh">json=<span class="hljs-string">"{
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"text\": \"<span class="hljs-variable">$text</span>\",
|
||||
\"\$type\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"facets\": [
|
||||
{
|
||||
\"\$type\": \"app.bsky.richtext.facet\",
|
||||
\"index\": {
|
||||
\"byteEnd\": <span class="hljs-variable">$e</span>,
|
||||
\"byteStart\": <span class="hljs-variable">$s</span>
|
||||
},\"features\": [
|
||||
{
|
||||
\"did\": \"<span class="hljs-variable">$did_m</span>\",
|
||||
\"\$type\": \"app.bsky.richtext.facet#mention\"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}"</span>
|
||||
</code></pre>
|
||||
<div><p class="code-filename">post</p></div>
|
||||
<pre><code class="lang-sh">curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="search-results">
|
||||
<div class="has-results">
|
||||
|
||||
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
||||
<ul class="search-results-list"></ul>
|
||||
|
||||
</div>
|
||||
<div class="no-results">
|
||||
|
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="./" class="navigation navigation-prev " aria-label="Previous page: part 1">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
</a>
|
||||
|
||||
|
||||
<a href="2.html" class="navigation navigation-next " aria-label="Next page: example">
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"quick start","level":"1.3.1","depth":2,"next":{"title":"example","level":"1.3.2","depth":2,"path":"c1/2.md","ref":"c1/2.md","articles":[]},"previous":{"title":"part 1","level":"1.3","depth":1,"path":"c1/README.md","ref":"c1/README.md","articles":[{"title":"quick start","level":"1.3.1","depth":2,"path":"c1/1.md","ref":"c1/1.md","articles":[]},{"title":"example","level":"1.3.2","depth":2,"path":"c1/2.md","ref":"c1/2.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-sharing","codeblock-filename","mermaid-gb3","diff"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"codeblock-filename":{},"mermaid-gb3":{},"diff":{"type":"markdown","method":"diffChars","options":{}},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"syui","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"hello world! bluesky","gitbook":"*","description":"This is a bluesky ai-card example, and first rust"},"file":{"path":"c1/1.md","mtime":"2023-07-22T11:07:11.734Z","type":"markdown"},"gitbook":{"version":"3.3.6","time":"2023-09-16T08:55:27.618Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook.js"></script>
|
||||
<script src="../gitbook/theme.js"></script>
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -0,0 +1,819 @@
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="" >
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<title>example · hello world! bluesky</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="description" content="">
|
||||
<meta name="generator" content="@gitbook-ng/gitbook 3.3.6">
|
||||
<meta name="author" content="syui">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/style.css">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-codeblock-filename/block.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="HandheldFriendly" content="true"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
||||
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
<link rel="next" href="../c2/" />
|
||||
|
||||
|
||||
<link rel="prev" href="1.html" />
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="book">
|
||||
<div class="book-summary">
|
||||
|
||||
|
||||
<div id="book-search-input" role="search">
|
||||
<input type="text" placeholder="Type to search" />
|
||||
</div>
|
||||
|
||||
|
||||
<nav role="navigation">
|
||||
|
||||
|
||||
|
||||
<ul class="summary">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.1" data-path="../">
|
||||
|
||||
<a href="../">
|
||||
|
||||
|
||||
hello world! bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.2" data-path="../card/">
|
||||
|
||||
<a href="../card/">
|
||||
|
||||
|
||||
card
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.3" data-path="./">
|
||||
|
||||
<a href="./">
|
||||
|
||||
|
||||
part 1
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.3.1" data-path="1.html">
|
||||
|
||||
<a href="1.html">
|
||||
|
||||
|
||||
quick start
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter active" data-level="1.3.2" data-path="2.html">
|
||||
|
||||
<a href="2.html">
|
||||
|
||||
|
||||
example
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4" data-path="../c2/">
|
||||
|
||||
<a href="../c2/">
|
||||
|
||||
|
||||
part 2
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.4.1" data-path="../c2/1.html">
|
||||
|
||||
<a href="../c2/1.html">
|
||||
|
||||
|
||||
bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.2" data-path="../c2/2.html">
|
||||
|
||||
<a href="../c2/2.html">
|
||||
|
||||
|
||||
terminal
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.3" data-path="../c2/3.html">
|
||||
|
||||
<a href="../c2/3.html">
|
||||
|
||||
|
||||
shell
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.4" data-path="../c2/4.html">
|
||||
|
||||
<a href="../c2/4.html">
|
||||
|
||||
|
||||
rust
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5" data-path="../c3/">
|
||||
|
||||
<a href="../c3/">
|
||||
|
||||
|
||||
part 3
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.5.1" data-path="../c3/1.html">
|
||||
|
||||
<a href="../c3/1.html">
|
||||
|
||||
|
||||
hello world
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.2" data-path="../c3/2.html">
|
||||
|
||||
<a href="../c3/2.html">
|
||||
|
||||
|
||||
seahorse
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.3" data-path="../c3/3.html">
|
||||
|
||||
<a href="../c3/3.html">
|
||||
|
||||
|
||||
reqwest
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6" data-path="../c4/">
|
||||
|
||||
<a href="../c4/">
|
||||
|
||||
|
||||
part 4
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.6.1" data-path="../c4/0.html">
|
||||
|
||||
<a href="../c4/0.html">
|
||||
|
||||
|
||||
ai
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.2" data-path="../c4/1.html">
|
||||
|
||||
<a href="../c4/1.html">
|
||||
|
||||
|
||||
config
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.3" data-path="../c4/2.html">
|
||||
|
||||
<a href="../c4/2.html">
|
||||
|
||||
|
||||
mention
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.4" data-path="../c4/3.html">
|
||||
|
||||
<a href="../c4/3.html">
|
||||
|
||||
|
||||
base64
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7" data-path="../c5/">
|
||||
|
||||
<a href="../c5/">
|
||||
|
||||
|
||||
part 5
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.7.1" data-path="../c5/1.html">
|
||||
|
||||
<a href="../c5/1.html">
|
||||
|
||||
|
||||
notify
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.2" data-path="../c5/2.html">
|
||||
|
||||
<a href="../c5/2.html">
|
||||
|
||||
|
||||
timeline
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.3" data-path="../c5/3.html">
|
||||
|
||||
<a href="../c5/3.html">
|
||||
|
||||
|
||||
refresh
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.8" data-path="../end/">
|
||||
|
||||
<a href="../end/">
|
||||
|
||||
|
||||
end
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="book-body">
|
||||
|
||||
<div class="body-inner">
|
||||
|
||||
|
||||
|
||||
<div class="book-header" role="navigation">
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
<h1>
|
||||
<i class="fa fa-circle-o-notch fa-spin"></i>
|
||||
<a href=".." >example</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="page-wrapper" tabindex="-1" role="main">
|
||||
<div class="page-inner">
|
||||
|
||||
<div id="book-search-results">
|
||||
<div class="search-noresults">
|
||||
|
||||
<section class="normal markdown-section">
|
||||
|
||||
<h3 id="example">example</h3>
|
||||
<p>ここでは<a href="https://github.com/bluesky-social/atproto/tree/main/lexicons" target="_blank">lexicons</a>の使用例を紹介します。</p>
|
||||
<h4 id="option">option</h4>
|
||||
<pre><code class="lang-sh"><span class="hljs-comment"># reverse</span>
|
||||
curl <span class="hljs-_">-s</span>L <span class="hljs-string">"https://bsky.social/xrpc/com.atproto.repo.listRecords?repo=<span class="hljs-variable">${handle}</span>&collection=app.bsky.feed.post&reverse=true"</span>
|
||||
</code></pre>
|
||||
<h4 id="login">login</h4>
|
||||
<pre><code class="lang-sh">handle=yui.syui.ai
|
||||
pass=xxx
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"{\"identifier\":\"<span class="hljs-variable">$handle</span>\",\"password\":\"<span class="hljs-variable">$pass</span>\"}"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.server.createSession
|
||||
|
||||
<span class="hljs-comment"># token</span>
|
||||
token=`curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> <span class="hljs-_">-d</span> <span class="hljs-string">"{\"identifier\":\"<span class="hljs-variable">$handle</span>\",\"password\":\"<span class="hljs-variable">$pass</span>\"}"</span> https://bsky.social/xrpc/com.atproto.server.createSession|jq -r .accessJwt`
|
||||
|
||||
<span class="hljs-comment"># did</span>
|
||||
did=`curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> <span class="hljs-_">-d</span> <span class="hljs-string">"{\"identifier\":\"<span class="hljs-variable">$handle</span>\",\"password\":\"<span class="hljs-variable">$pass</span>\"}"</span> https://bsky.social/xrpc/com.atproto.server.createSession|jq -r .did`
|
||||
|
||||
<span class="hljs-comment"># profile</span>
|
||||
curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-string">"https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=<span class="hljs-variable">${handle}</span>"</span>
|
||||
|
||||
<span class="hljs-comment"># notify</span>
|
||||
curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
https://bsky.social/xrpc/app.bsky.notification.listNotifications
|
||||
</code></pre>
|
||||
<h4 id="post">post</h4>
|
||||
<pre><code class="lang-sh">col=app.bsky.feed.post
|
||||
|
||||
created_at=`date --iso-8601=seconds`
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"text\": \"hello world\",
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\"
|
||||
}
|
||||
}"</span>
|
||||
|
||||
<span class="hljs-comment"># post</span>
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
<h4 id="mention">mention</h4>
|
||||
<div><p class="code-filename">example.json</p></div>
|
||||
<pre><code class="lang-json">{
|
||||
<span class="hljs-string">"did"</span>: <span class="hljs-string">"did:plc:4hqjfn7m6n5hno3doamuhgef"</span>,
|
||||
<span class="hljs-string">"repo"</span>: <span class="hljs-string">"yui.syui.ai"</span>,
|
||||
<span class="hljs-string">"collection"</span>: <span class="hljs-string">"app.bsky.feed.post"</span>,
|
||||
<span class="hljs-string">"record"</span>: {
|
||||
<span class="hljs-string">"text"</span>: <span class="hljs-string">"test"</span>,
|
||||
<span class="hljs-string">"$type"</span>: <span class="hljs-string">"app.bsky.feed.post"</span>,
|
||||
<span class="hljs-string">"createdAt"</span>: <span class="hljs-string">"2023-07-20T13:05:45+09:00"</span>,
|
||||
<span class="hljs-string">"facets"</span>: [
|
||||
{
|
||||
<span class="hljs-string">"$type"</span>: <span class="hljs-string">"app.bsky.richtext.facet"</span>,
|
||||
<span class="hljs-string">"index"</span>: {
|
||||
<span class="hljs-string">"byteEnd"</span>: <span class="hljs-number">13</span>,
|
||||
<span class="hljs-string">"byteStart"</span>: <span class="hljs-number">0</span>
|
||||
},
|
||||
<span class="hljs-string">"features"</span>: [
|
||||
{
|
||||
<span class="hljs-string">"did"</span>: <span class="hljs-string">"did:plc:4hqjfn7m6n5hno3doamuhgef"</span>,
|
||||
<span class="hljs-string">"$type"</span>: <span class="hljs-string">"app.bsky.richtext.facet#mention"</span>
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
</code></pre>
|
||||
<pre><code class="lang-sh"><span class="hljs-comment"># mention</span>
|
||||
col=app.bsky.feed.post
|
||||
handle_m=yui.syui.ai
|
||||
did_m=`curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> -H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> <span class="hljs-string">"https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=<span class="hljs-variable">${handle_m}</span>"</span>|jq -r .did`
|
||||
at=@<span class="hljs-variable">${handle_m}</span>
|
||||
s=0
|
||||
e=`<span class="hljs-built_in">echo</span> <span class="hljs-variable">$at</span>|wc -c`
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"text\": \"<span class="hljs-variable">$text</span>\",
|
||||
\"\$type\": \"app.bsky.feed.post\",
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"facets\": [
|
||||
{
|
||||
\"\$type\": \"app.bsky.richtext.facet\",
|
||||
\"index\": {
|
||||
\"byteEnd\": <span class="hljs-variable">$e</span>,
|
||||
\"byteStart\": <span class="hljs-variable">$s</span>
|
||||
},\"features\": [
|
||||
{
|
||||
\"did\": \"<span class="hljs-variable">$did_m</span>\",
|
||||
\"\$type\": \"app.bsky.richtext.facet#mention\"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}"</span>
|
||||
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
<div><p class="code-filename">output</p></div>
|
||||
<pre><code class="lang-sh">{<span class="hljs-string">"uri"</span>:<span class="hljs-string">"at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.post/3k2wkbvcasf24"</span>,<span class="hljs-string">"cid"</span>:<span class="hljs-string">"bafyreiecswq5qhk7f4xxztevzbfynocsgmjrmr3hwqoluhhzvqgowalivi"</span>}
|
||||
</code></pre>
|
||||
<h4 id="reply">reply</h4>
|
||||
<div><p class="code-filename">example.json</p></div>
|
||||
<pre><code class="lang-json">{
|
||||
<span class="hljs-string">"repo"</span>: <span class="hljs-string">"yui.syui.ai"</span>,
|
||||
<span class="hljs-string">"did"</span>: <span class="hljs-string">"did:plc:4hqjfn7m6n5hno3doamuhgef"</span>,
|
||||
<span class="hljs-string">"collection"</span>: <span class="hljs-string">"app.bsky.feed.post"</span>,
|
||||
<span class="hljs-string">"record"</span>: {
|
||||
<span class="hljs-string">"text"</span>: <span class="hljs-string">"reply"</span>,
|
||||
<span class="hljs-string">"createdAt"</span>: <span class="hljs-string">"2023-07-20T13:05:45+09:00"</span>,
|
||||
<span class="hljs-string">"reply"</span>: {
|
||||
<span class="hljs-string">"root"</span>: {
|
||||
<span class="hljs-string">"cid"</span>: <span class="hljs-string">"bafyreiecswq5qhk7f4xxztevzbfynocsgmjrmr3hwqoluhhzvqgowalivi"</span>,
|
||||
<span class="hljs-string">"uri"</span>: <span class="hljs-string">"at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.post/3k2wkbvcasf24"</span>
|
||||
},
|
||||
<span class="hljs-string">"parent"</span>: {
|
||||
<span class="hljs-string">"cid"</span>: <span class="hljs-string">"bafyreiecswq5qhk7f4xxztevzbfynocsgmjrmr3hwqoluhhzvqgowalivi"</span>,
|
||||
<span class="hljs-string">"uri"</span>: <span class="hljs-string">"at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.post/3k2wkbvcasf24"</span>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</code></pre>
|
||||
<pre><code class="lang-sh"><span class="hljs-comment"># reply</span>
|
||||
col=app.bsky.feed.post
|
||||
uri=at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.post/3k2wkbvcasf24
|
||||
cid=bafyreiecswq5qhk7f4xxztevzbfynocsgmjrmr3hwqoluhhzvqgowalivi
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"text\": \"reply\",
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"reply\": {
|
||||
\"root\": {
|
||||
\"cid\": \"<span class="hljs-variable">$cid</span>\",
|
||||
\"uri\": \"<span class="hljs-variable">$uri</span>\"
|
||||
},
|
||||
\"parent\": {
|
||||
\"cid\": \"<span class="hljs-variable">$cid</span>\",
|
||||
\"uri\": \"<span class="hljs-variable">$uri</span>\"
|
||||
}
|
||||
}
|
||||
}
|
||||
}"</span>
|
||||
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
<h4 id="like">like</h4>
|
||||
<pre><code class="lang-sh"><span class="hljs-comment"># reply</span>
|
||||
col=app.bsky.feed.like
|
||||
uri=at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.post/3k2wkbvcasf24
|
||||
cid=bafyreiecswq5qhk7f4xxztevzbfynocsgmjrmr3hwqoluhhzvqgowalivi
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"subject\": {
|
||||
\"cid\": \"<span class="hljs-variable">$cid</span>\",
|
||||
\"uri\": \"<span class="hljs-variable">$uri</span>\"
|
||||
}
|
||||
}
|
||||
}"</span>
|
||||
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
<h4 id="follow">follow</h4>
|
||||
<pre><code class="lang-sh">col=app.bsky.graph.follow
|
||||
handle_m=yui.syui.ai
|
||||
did_m=`curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> -H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> <span class="hljs-string">"https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=<span class="hljs-variable">${handle_m}</span>"</span>|jq -r .did`
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"record\": {
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"subject\": \"<span class="hljs-variable">$did_m</span>\"
|
||||
}
|
||||
}"</span>
|
||||
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.createRecord
|
||||
</code></pre>
|
||||
<h4 id="unfollow">unfollow</h4>
|
||||
<pre><code class="lang-sh">$ curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-string">"https://bsky.social/xrpc/app.bsky.graph.getFollowers?actor=<span class="hljs-variable">${handle}</span>&cursor=<span class="hljs-variable">${cursor}</span>"</span> \
|
||||
|jq -r <span class="hljs-string">".cursor"</span>
|
||||
|
||||
1688489398761::bafyreieie7opxd5mojipvk3xe3h65u3qvpungskqxamldepctfbd6xhdcu
|
||||
</code></pre>
|
||||
<pre><code class="lang-sh">cursor=1688489398761::bafyreieie7opxd5mojipvk3xe3h65u3qvpungskqxamldepctfbd6xhdcu
|
||||
|
||||
$ curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-string">"https://bsky.social/xrpc/app.bsky.graph.getFollowers?actor=<span class="hljs-variable">${handle}</span>&cursor=<span class="hljs-variable">${cursor}</span>"</span> \
|
||||
|jq -r <span class="hljs-string">".followers|.[0].viewer.followedBy"</span>
|
||||
|
||||
at://did:plc:uqzpqmrjnptsxezjx4xuh2mn/app.bsky.graph.follow/3k2wkjr6cnj2x
|
||||
</code></pre>
|
||||
<pre><code class="lang-sh">col=app.bsky.graph.follow
|
||||
rkey=at://did:plc:uqzpqmrjnptsxezjx4xuh2mn/app.bsky.graph.follow/3k2wkjr6cnj2x
|
||||
|
||||
handle_m=yui.syui.ai
|
||||
did_m=`curl <span class="hljs-_">-s</span>L -X GET -H <span class="hljs-string">"Content-Type: application/json"</span> -H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> <span class="hljs-string">"https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=<span class="hljs-variable">${handle_m}</span>"</span>|jq -r .did`
|
||||
|
||||
json=<span class="hljs-string">"{
|
||||
\"repo\": \"<span class="hljs-variable">$handle</span>\",
|
||||
\"did\": \"<span class="hljs-variable">$did</span>\",
|
||||
\"collection\": \"<span class="hljs-variable">$col</span>\",
|
||||
\"rkey\":\"<span class="hljs-variable">$rkey</span>\",
|
||||
\"record\": {
|
||||
\"createdAt\": \"<span class="hljs-variable">$created_at</span>\",
|
||||
\"subject\": \"<span class="hljs-variable">$did_m</span>\"
|
||||
}
|
||||
}"</span>
|
||||
|
||||
curl <span class="hljs-_">-s</span>L -X POST -H <span class="hljs-string">"Content-Type: application/json"</span> \
|
||||
-H <span class="hljs-string">"Authorization: Bearer <span class="hljs-variable">$token</span>"</span> \
|
||||
<span class="hljs-_">-d</span> <span class="hljs-string">"<span class="hljs-variable">$json</span>"</span> \
|
||||
https://bsky.social/xrpc/com.atproto.repo.deleteRecord
|
||||
</code></pre>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="search-results">
|
||||
<div class="has-results">
|
||||
|
||||
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
||||
<ul class="search-results-list"></ul>
|
||||
|
||||
</div>
|
||||
<div class="no-results">
|
||||
|
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="1.html" class="navigation navigation-prev " aria-label="Previous page: quick start">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
</a>
|
||||
|
||||
|
||||
<a href="../c2/" class="navigation navigation-next " aria-label="Next page: part 2">
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"example","level":"1.3.2","depth":2,"next":{"title":"part 2","level":"1.4","depth":1,"path":"c2/README.md","ref":"c2/README.md","articles":[{"title":"bluesky","level":"1.4.1","depth":2,"path":"c2/1.md","ref":"c2/1.md","articles":[]},{"title":"terminal","level":"1.4.2","depth":2,"path":"c2/2.md","ref":"c2/2.md","articles":[]},{"title":"shell","level":"1.4.3","depth":2,"path":"c2/3.md","ref":"c2/3.md","articles":[]},{"title":"rust","level":"1.4.4","depth":2,"path":"c2/4.md","ref":"c2/4.md","articles":[]}]},"previous":{"title":"quick start","level":"1.3.1","depth":2,"path":"c1/1.md","ref":"c1/1.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","codeblock-filename","mermaid-gb3","diff"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"codeblock-filename":{},"mermaid-gb3":{},"diff":{"type":"markdown","method":"diffChars","options":{}},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"syui","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"hello world! bluesky","gitbook":"*","description":"This is a bluesky ai-card example, and first rust"},"file":{"path":"c1/2.md","mtime":"2023-07-22T08:07:52.839Z","type":"markdown"},"gitbook":{"version":"3.3.6","time":"2023-09-16T08:55:27.618Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook.js"></script>
|
||||
<script src="../gitbook/theme.js"></script>
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -0,0 +1,574 @@
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="" >
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<title>part 1 · hello world! bluesky</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="description" content="">
|
||||
<meta name="generator" content="@gitbook-ng/gitbook 3.3.6">
|
||||
<meta name="author" content="syui">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/style.css">
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-codeblock-filename/block.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="HandheldFriendly" content="true"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
||||
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
<link rel="next" href="1.html" />
|
||||
|
||||
|
||||
<link rel="prev" href="../card/" />
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="book">
|
||||
<div class="book-summary">
|
||||
|
||||
|
||||
<div id="book-search-input" role="search">
|
||||
<input type="text" placeholder="Type to search" />
|
||||
</div>
|
||||
|
||||
|
||||
<nav role="navigation">
|
||||
|
||||
|
||||
|
||||
<ul class="summary">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.1" data-path="../">
|
||||
|
||||
<a href="../">
|
||||
|
||||
|
||||
hello world! bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.2" data-path="../card/">
|
||||
|
||||
<a href="../card/">
|
||||
|
||||
|
||||
card
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter active" data-level="1.3" data-path="./">
|
||||
|
||||
<a href="./">
|
||||
|
||||
|
||||
part 1
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.3.1" data-path="1.html">
|
||||
|
||||
<a href="1.html">
|
||||
|
||||
|
||||
quick start
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.3.2" data-path="2.html">
|
||||
|
||||
<a href="2.html">
|
||||
|
||||
|
||||
example
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4" data-path="../c2/">
|
||||
|
||||
<a href="../c2/">
|
||||
|
||||
|
||||
part 2
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.4.1" data-path="../c2/1.html">
|
||||
|
||||
<a href="../c2/1.html">
|
||||
|
||||
|
||||
bluesky
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.2" data-path="../c2/2.html">
|
||||
|
||||
<a href="../c2/2.html">
|
||||
|
||||
|
||||
terminal
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.3" data-path="../c2/3.html">
|
||||
|
||||
<a href="../c2/3.html">
|
||||
|
||||
|
||||
shell
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.4.4" data-path="../c2/4.html">
|
||||
|
||||
<a href="../c2/4.html">
|
||||
|
||||
|
||||
rust
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5" data-path="../c3/">
|
||||
|
||||
<a href="../c3/">
|
||||
|
||||
|
||||
part 3
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.5.1" data-path="../c3/1.html">
|
||||
|
||||
<a href="../c3/1.html">
|
||||
|
||||
|
||||
hello world
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.2" data-path="../c3/2.html">
|
||||
|
||||
<a href="../c3/2.html">
|
||||
|
||||
|
||||
seahorse
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.5.3" data-path="../c3/3.html">
|
||||
|
||||
<a href="../c3/3.html">
|
||||
|
||||
|
||||
reqwest
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6" data-path="../c4/">
|
||||
|
||||
<a href="../c4/">
|
||||
|
||||
|
||||
part 4
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.6.1" data-path="../c4/0.html">
|
||||
|
||||
<a href="../c4/0.html">
|
||||
|
||||
|
||||
ai
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.2" data-path="../c4/1.html">
|
||||
|
||||
<a href="../c4/1.html">
|
||||
|
||||
|
||||
config
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.3" data-path="../c4/2.html">
|
||||
|
||||
<a href="../c4/2.html">
|
||||
|
||||
|
||||
mention
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.6.4" data-path="../c4/3.html">
|
||||
|
||||
<a href="../c4/3.html">
|
||||
|
||||
|
||||
base64
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7" data-path="../c5/">
|
||||
|
||||
<a href="../c5/">
|
||||
|
||||
|
||||
part 5
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="1.7.1" data-path="../c5/1.html">
|
||||
|
||||
<a href="../c5/1.html">
|
||||
|
||||
|
||||
notify
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.2" data-path="../c5/2.html">
|
||||
|
||||
<a href="../c5/2.html">
|
||||
|
||||
|
||||
timeline
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.7.3" data-path="../c5/3.html">
|
||||
|
||||
<a href="../c5/3.html">
|
||||
|
||||
|
||||
refresh
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="1.8" data-path="../end/">
|
||||
|
||||
<a href="../end/">
|
||||
|
||||
|
||||
end
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="book-body">
|
||||
|
||||
<div class="body-inner">
|
||||
|
||||
|
||||
|
||||
<div class="book-header" role="navigation">
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
<h1>
|
||||
<i class="fa fa-circle-o-notch fa-spin"></i>
|
||||
<a href=".." >part 1</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="page-wrapper" tabindex="-1" role="main">
|
||||
<div class="page-inner">
|
||||
|
||||
<div id="book-search-results">
|
||||
<div class="search-noresults">
|
||||
|
||||
<section class="normal markdown-section">
|
||||
|
||||
<h2 id="part-1">part 1</h2>
|
||||
<p>本書は<a href="https://bsky.app" target="_blank">bluesky</a>のユーザーを対象としたプログラミング入門です。</p>
|
||||
<p>主に、<code>rust</code>というプログラミング言語とosのターミナル環境を使用します。</p>
|
||||
<p>内容としては、<code>bluesky</code>または<code>mastodon</code>で遊べる<a href="https://card.syui.ai" target="_blank">カードゲーム</a>用の簡単なプログラムを作成します。</p>
|
||||
<p>このプログラムを作ると手持ちのカードを育成できます。</p>
|
||||
<p>本書では、blueskyのapiを叩くこと、rustでのコマンド作成などを学ぶことができます。</p>
|
||||
<p>この章の<a href="1.html">クイックスタート</a>では、技術者を対象に必要最小限の説明を行います。</p>
|
||||
<p>初めての方は、この章を飛ばして<a href="../c2/">part 2</a>から始めてください。</p>
|
||||
<p>updated : 2023-07-29</p>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="search-results">
|
||||
<div class="has-results">
|
||||
|
||||
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
||||
<ul class="search-results-list"></ul>
|
||||
|
||||
</div>
|
||||
<div class="no-results">
|
||||
|
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="../card/" class="navigation navigation-prev " aria-label="Previous page: card">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
</a>
|
||||
|
||||
|
||||
<a href="1.html" class="navigation navigation-next " aria-label="Next page: quick start">
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"part 1","level":"1.3","depth":1,"next":{"title":"quick start","level":"1.3.1","depth":2,"path":"c1/1.md","ref":"c1/1.md","articles":[]},"previous":{"title":"card","level":"1.2","depth":1,"path":"card/README.md","ref":"card/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","codeblock-filename","mermaid-gb3","diff"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"codeblock-filename":{},"mermaid-gb3":{},"diff":{"type":"markdown","method":"diffChars","options":{}},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"syui","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"hello world! bluesky","gitbook":"*","description":"This is a bluesky ai-card example, and first rust"},"file":{"path":"c1/README.md","mtime":"2023-07-29T04:57:56.086Z","type":"markdown"},"gitbook":{"version":"3.3.6","time":"2023-09-16T08:55:27.618Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook.js"></script>
|
||||
<script src="../gitbook/theme.js"></script>
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
||||
|
||||
|
||||
|
||||
<script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user