1
0

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:
2025-07-18 13:04:46 +09:00
parent 8f27cbb77b
commit 980e9c1259
954 changed files with 39885 additions and 1 deletions

View File

@@ -0,0 +1,698 @@
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>ai · 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="./" />
</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="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/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="./">
<a href="./">
part 4
</a>
<ul class="articles">
<li class="chapter active" data-level="1.6.1" data-path="0.html">
<a href="0.html">
ai
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="1.html">
<a href="1.html">
config
</a>
</li>
<li class="chapter " data-level="1.6.3" data-path="2.html">
<a href="2.html">
mention
</a>
</li>
<li class="chapter " data-level="1.6.4" data-path="3.html">
<a href="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=".." >ai</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="ai">ai</h3>
<p>&#x3053;&#x3053;&#x3067;&#x306F;&#x3001;&#x904A;&#x3073;&#x8981;&#x7D20;&#x3092;&#x4EA4;&#x3048;&#x3066;&#x3001;&#x30AA;&#x30EA;&#x30B8;&#x30CA;&#x30EA;&#x30C6;&#x30A3;&#x3092;&#x8FFD;&#x6C42;&#x3057;&#x307E;&#x3059;&#x3002;&#x5404;&#x81EA;&#x3001;&#x597D;&#x304D;&#x306A;&#x3082;&#x306E;&#x306B;&#x8A2D;&#x5B9A;&#x3057;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<p>&#x307E;&#x305A;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x30A2;&#x30D7;&#x30EA;&#x306E;&#x540D;&#x524D;&#x3067;&#x3059;&#x306D;&#x3002;&#x4ECA;&#x307E;&#x3067;&#x306F;<code>rust</code>&#x3092;&#x4F7F;&#x3063;&#x3066;&#x3044;&#x307E;&#x3057;&#x305F;&#x3002;&#x306A;&#x305C;&#x306A;&#x3089;<code>cargo init</code>&#x3067;&#x4F5C;&#x6210;&#x3055;&#x308C;&#x305F;&#x30D7;&#x30ED;&#x30B0;&#x30E9;&#x30E0;&#x540D;&#x304C;<code>rust</code>&#x3060;&#x304B;&#x3089;&#x3067;&#x3059;&#x3002;&#x3053;&#x308C;&#x306F;&#x81EA;&#x52D5;&#x3067;&#x30D5;&#x30A9;&#x30EB;&#x30C0;&#x540D;&#x304C;&#x4ED8;&#x3051;&#x3089;&#x308C;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3053;&#x308C;&#x3092;<code>ai</code>&#x306B;&#x5909;&#x66F4;&#x3057;&#x3066;&#x307F;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">Cargo.toml</p></div>
<pre><code class="lang-toml"><span class="hljs-section">[package]</span>
<span class="hljs-attr">name</span> = <span class="hljs-string">&quot;ai&quot;</span>
</code></pre>
<p>&#x306A;&#x304A;&#x3001;&#x597D;&#x304D;&#x306A;&#x540D;&#x524D;&#x3092;&#x8A2D;&#x5B9A;&#x3057;&#x305F;&#x5834;&#x5408;&#x3001;&#x4EE5;&#x964D;&#x306E;&#x89E3;&#x8AAC;&#x3067;&#x306F;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x540D;&#x306A;&#x3069;&#x3092;&#x8AAD;&#x307F;&#x304B;&#x3048;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<pre><code class="lang-sh">$ cargo build
$ ./target/debug/ai -h
Name:
ai
Flags:
-h, --help : Show <span class="hljs-built_in">help</span>
Commands:
y, yes :
n, no :
t, <span class="hljs-built_in">test</span> :
b, bluesky :
</code></pre>
<h4 id="cleanup">cleanup</h4>
<p>&#x6B21;&#x306B;&#x540D;&#x6B8B;&#x60DC;&#x3057;&#x3044;&#x3067;&#x3059;&#x304C;&#x3001;&#x3044;&#x3089;&#x306A;&#x3044;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x30AA;&#x30D7;&#x30B7;&#x30E7;&#x30F3;&#x3092;&#x6E1B;&#x3089;&#x3057;&#x307E;&#x3057;&#x3087;&#x3046;&#x3002;</p>
<pre><code class="lang-src/main.rs">use seahorse::{App, Context, Command};
use std::env;
fn main() {
let args: Vec&lt;String&gt; = env::args().collect();
let app = App::new(env!(&quot;CARGO_PKG_NAME&quot;))
.action(c_list_records)
.command(
Command::new(&quot;bluesky&quot;)
.alias(&quot;b&quot;)
.action(c_list_records),
)
;
app.run(args);
}
#[tokio::main]
async fn list_records() -&gt; reqwest::Result&lt;()&gt; {
let client = reqwest::Client::new();
let handle= &quot;support.bsky.team&quot;;
let col = &quot;app.bsky.feed.post&quot;;
let body = client.get(&quot;https://bsky.social/xrpc/com.atproto.repo.listRecords&quot;)
.query(&amp;[(&quot;repo&quot;, &amp;handle),(&quot;collection&quot;, &amp;col),(&quot;limit&quot;, &amp;&quot;1&quot;),(&quot;revert&quot;, &amp;&quot;true&quot;)])
.send()
.await?
.text()
.await?;
println!(&quot;{}&quot;, body);
Ok(())
}
fn c_list_records(_c: &amp;Context) {
list_records().unwrap();
}
</code></pre>
<h4 id="ascii">ascii</h4>
<p>&#x3044;&#x308F;&#x3086;&#x308B;<code>ascii art</code>&#x3092;&#x5165;&#x308C;&#x3066;&#x307F;&#x307E;&#x3059;&#x3002;</p>
<p><a href="https://github.com/TheZoraiz/ascii-image-converter" target="_blank">TheZoraiz/ascii-image-converter</a>&#x3092;&#x4F7F;&#x3063;&#x3066;&#x751F;&#x6210;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh">$ ascii-image-converter ai.png -H 50
</code></pre>
<p><code>src/main.rs</code>&#x306E;<code>.action(c_list_records)</code>&#x3092;<code>.action(c_ascii_art)</code>&#x306B;&#x5909;&#x66F4;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-comment">//.action(c_list_records)</span>
.action(c_ascii_art)
</code></pre>
<p>&#x306A;&#x304A;&#x3001;rust&#x3067;&#x306F;&#x6587;&#x982D;&#x306E;<code>//</code>&#x304C;&#x30B3;&#x30E1;&#x30F3;&#x30C8;&#x306B;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x30B3;&#x30E1;&#x30F3;&#x30C8;&#x3068;&#x3044;&#x3046;&#x306E;&#x306F;&#x3001;&#x30B3;&#x30FC;&#x30C9;&#x3068;&#x3057;&#x3066;&#x89E3;&#x91C8;&#x3055;&#x308C;&#x307E;&#x305B;&#x3093;&#x3002;&#x3057;&#x305F;&#x304C;&#x3063;&#x3066;&#x3001;&#x306A;&#x306B;&#x304B;&#x30E1;&#x30E2;&#x3092;&#x66F8;&#x304F;&#x3068;&#x304D;&#x3001;&#x3053;&#x308C;&#x3092;&#x4F7F;&#x3044;&#x307E;&#x3057;&#x3087;&#x3046;&#x3002;</p>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-comment">// &#x3053;&#x308C;&#x306F;&#x30A2;&#x30A4;&#x306E;&#x30A2;&#x30B9;&#x30AD;&#x30FC;&#x30A2;&#x30FC;&#x30C8;&#x3067;&#x3059;</span>
<span class="hljs-comment">// &#x5185;&#x5BB9;&#x306F;&#x95A2;&#x6570;&#x306E;&quot;c_ascii_art&quot;&#x3092;&#x898B;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;</span>
.action(c_ascii_art)
</code></pre>
<p>&#x305D;&#x3057;&#x3066;&#x3001;<code>src/main.rs</code>&#x306E;&#x6700;&#x5F8C;&#x306E;&#x884C;&#x306B;&#x4EE5;&#x4E0B;&#x306E;&#x30B3;&#x30FC;&#x30C9;(&#x95A2;&#x6570;)&#x3092;&#x8FFD;&#x52A0;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_ascii_art</span></span>(_c: &amp;Context) {
<span class="hljs-keyword">let</span> body = <span class="hljs-string">&quot;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x281F;&#x2809;&#x28C1;&#x2809;&#x283B;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x283F;&#x281F;&#x281B;&#x280B;&#x28C9;&#x28C9;&#x2821;&#x2824;&#x2824;&#x2824;&#x2824;&#x2824;&#x2824;&#x2824;&#x2824;&#x282C;&#x2824;&#x28C1;&#x28C9;&#x2849;&#x281B;&#x283B;&#x283F;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x2889;&#x28E4;&#x2856;&#x281A;&#x28C9;&#x28E1;&#x28E4;&#x28E6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F4;&#x28E4;&#x28E4;&#x2809;&#x2811;&#x28E6;&#x28CC;&#x2819;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2800;&#x28FE;&#x28FF;&#x28E6;&#x28C4;&#x28C5;&#x28CC;&#x28C4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28F6;&#x28FE;&#x28FF;&#x28FF;&#x28C1;&#x28D8;&#x2859;&#x283B;&#x283F;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x283F;&#x2883;&#x28E4;&#x28E8;&#x28FF;&#x287F;&#x287F;&#x281F;&#x281F;&#x281B;&#x283B;&#x281A;&#x281B;&#x281B;&#x281B;&#x281B;&#x281B;&#x281B;&#x280B;&#x284B;&#x284B;&#x281B;&#x281B;&#x2809;&#x2809;&#x283C;&#x283F;&#x283F;&#x283F;&#x283F;&#x283F;&#x2837;&#x28B6;&#x28A4;&#x28C8;&#x2819;&#x283F;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x283F;&#x288B;&#x2861;&#x281E;&#x281B;&#x28C9;&#x28C9;&#x28E4;&#x28E4;&#x28F6;&#x28FE;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28F7;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28F6;&#x28E6;&#x28E6;&#x28E6;&#x28E6;&#x28F6;&#x28FE;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28DF;&#x2881;&#x28C0;&#x28E4;&#x28F4;&#x28FE;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x283F;&#x281F;&#x281B;&#x280B;&#x2849;&#x28C9;&#x28C9;&#x28C1;&#x28E8;&#x28C0;&#x28C5;&#x28C9;&#x28C9;&#x2889;&#x281B;&#x281B;&#x283F;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x281F;&#x280B;&#x28C1;&#x2864;&#x28F4;&#x28F2;&#x28AF;&#x28AF;&#x286F;&#x28D7;&#x286F;&#x28DE;&#x287E;&#x28FA;&#x28FA;&#x28B5;&#x28AF;&#x28AF;&#x28DF;&#x28B6;&#x28A6;&#x28E4;&#x28C0;&#x2849;&#x281B;&#x283F;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x281F;&#x2809;&#x28E0;&#x28D4;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x286F;&#x28DF;&#x28DE;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x286F;&#x28DF;&#x28FD;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x28F3;&#x28AF;&#x28DF;&#x2866;&#x28CC;&#x2859;&#x283B;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x281F;&#x2801;&#x28E0;&#x28FB;&#x28FA;&#x28FA;&#x28BD;&#x28F3;&#x28AF;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x286F;&#x287E;&#x28DD;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28DF;&#x28FD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28F3;&#x28FB;&#x28A6;&#x28C8;&#x281B;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x280B;&#x28A0;&#x28FA;&#x28F3;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28EB;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x287E;&#x28FD;&#x28FA;&#x28BD;&#x287D;&#x28FE;&#x28FD;&#x28FA;&#x28B5;&#x2840;&#x283B;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x285F;&#x2801;&#x28D4;&#x28DF;&#x28DE;&#x287E;&#x28FD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28EB;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x286F;&#x28DF;&#x28DE;&#x28D7;&#x287F;&#x28FE;&#x28FD;&#x28BD;&#x28A6;&#x2808;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x285F;&#x2880;&#x286E;&#x28D7;&#x286F;&#x287E;&#x28DD;&#x2877;&#x28FD;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28B5;&#x28AF;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x28DF;&#x287E;&#x28FD;&#x28FB;&#x28FF;&#x28EF;&#x28DF;&#x28B7;&#x2840;&#x28BB;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x2880;&#x287E;&#x28DD;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28DF;&#x287E;&#x28FD;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x28BD;&#x28EB;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x2877;&#x28FB;&#x28D7;&#x2877;&#x28FF;&#x28DF;&#x28FF;&#x28FD;&#x28F3;&#x2808;&#x28FB;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x2801;&#x28FC;&#x28BD;&#x28F3;&#x2897;&#x286F;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x281B;&#x28DE;&#x287E;&#x28FD;&#x28FA;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28B5;&#x28AF;&#x28D7;&#x28D7;&#x284F;&#x2819;&#x28D7;&#x286F;&#x28D7;&#x28EF;&#x28AF;&#x28F7;&#x28BF;&#x28FD;&#x28FF;&#x28FF;&#x287E;&#x287D;&#x28C7;&#x2818;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2807;&#x28B8;&#x28F3;&#x28BD;&#x28FA;&#x28BD;&#x28BD;&#x28EB;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28D7;&#x28EF;&#x2853;&#x28A1;&#x2842;&#x28B5;&#x28AF;&#x28D7;&#x286F;&#x287E;&#x28FD;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x285E;&#x2880;&#x2887;&#x2838;&#x28FD;&#x28F3;&#x28BD;&#x28EF;&#x28BF;&#x28FF;&#x28FF;&#x28FD;&#x28F7;&#x28FF;&#x28AF;&#x28BF;&#x2800;&#x28FB;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2800;&#x28DE;&#x287E;&#x28FD;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28F3;&#x28AF;&#x28D7;&#x2807;&#x28A0;&#x28FF;&#x2806;&#x28B8;&#x28BD;&#x28FA;&#x28BD;&#x28BD;&#x28F3;&#x28FB;&#x28FA;&#x28BD;&#x28FA;&#x28FA;&#x28BD;&#x28BD;&#x287A;&#x2801;&#x286C;&#x28FF;&#x2840;&#x28B3;&#x287D;&#x287D;&#x28FE;&#x286F;&#x28BF;&#x28EF;&#x28FF;&#x28FD;&#x28FF;&#x28FB;&#x28BD;&#x2843;&#x28B8;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x284F;&#x2820;&#x28D7;&#x286F;&#x28D7;&#x286F;&#x28DF;&#x28FD;&#x28FA;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x287A;&#x2880;&#x28FF;&#x28FF;&#x2885;&#x2808;&#x28DF;&#x287E;&#x28FD;&#x28BD;&#x28FA;&#x28B5;&#x28AF;&#x28FB;&#x28FA;&#x28FA;&#x28BD;&#x28BD;&#x2803;&#x2870;&#x28FD;&#x28FF;&#x2847;&#x28B8;&#x287D;&#x287D;&#x28FF;&#x289D;&#x28FD;&#x28FF;&#x28FF;&#x28FA;&#x28FF;&#x286F;&#x28EF;&#x2847;&#x28B8;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x28B8;&#x28F3;&#x28AF;&#x28D7;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x287E;&#x28FD;&#x28FA;&#x28BD;&#x2802;&#x28F8;&#x28FF;&#x28FE;&#x2855;&#x2840;&#x2897;&#x286F;&#x28D7;&#x28DF;&#x287E;&#x287D;&#x28FD;&#x28FA;&#x28F3;&#x28BD;&#x28BD;&#x2803;&#x28B0;&#x28F1;&#x28FF;&#x28F7;&#x2847;&#x28B8;&#x286F;&#x28DF;&#x281F;&#x2800;&#x28FF;&#x287F;&#x28DE;&#x28FE;&#x28FB;&#x28FD;&#x2873;&#x2847;&#x28B8;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x28B8;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28F3;&#x2897;&#x286F;&#x286F;&#x28D7;&#x286F;&#x284F;&#x2880;&#x28FF;&#x28BF;&#x28FE;&#x28D7;&#x2806;&#x2838;&#x28FD;&#x2873;&#x28D7;&#x286F;&#x286F;&#x28D7;&#x28D7;&#x286F;&#x28EF;&#x280F;&#x28A0;&#x28A3;&#x28FF;&#x28FF;&#x28FE;&#x2847;&#x28B8;&#x28AF;&#x280F;&#x28F0;&#x2800;&#x28FF;&#x28FB;&#x28F3;&#x28F3;&#x28FF;&#x28FA;&#x28BD;&#x2805;&#x28F8;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x2838;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28FA;&#x28BD;&#x28BD;&#x28EB;&#x28B7;&#x2809;&#x2847;&#x2830;&#x28FF;&#x28FF;&#x28FB;&#x28FD;&#x28CE;&#x2800;&#x2897;&#x286F;&#x2857;&#x2899;&#x28FD;&#x2873;&#x28D7;&#x286F;&#x284F;&#x2880;&#x28D7;&#x28FF;&#x28FF;&#x28F7;&#x28FF;&#x2802;&#x28FA;&#x280B;&#x28E0;&#x28FF;&#x2800;&#x28FF;&#x28FA;&#x28B5;&#x28EB;&#x28FF;&#x28FA;&#x28BD;&#x2800;&#x28FE;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x2808;&#x28D7;&#x28DF;&#x287E;&#x28FD;&#x28FA;&#x28BD;&#x28BD;&#x28FA;&#x280D;&#x2800;&#x2847;&#x2818;&#x28C9;&#x28E4;&#x28EC;&#x28C8;&#x28D1;&#x28C5;&#x2818;&#x28FD;&#x2802;&#x2818;&#x28EE;&#x28AF;&#x28D7;&#x280F;&#x28A0;&#x285F;&#x28C9;&#x28E1;&#x2824;&#x28A4;&#x2804;&#x28A0;&#x2803;&#x28B4;&#x285F;&#x28EF;&#x2800;&#x28D7;&#x286F;&#x281F;&#x287E;&#x28D7;&#x286F;&#x2847;&#x28B0;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2840;&#x28B8;&#x28F3;&#x28AF;&#x28D7;&#x286F;&#x28DF;&#x28FD;&#x287A;&#x2880;&#x2803;&#x2800;&#x2838;&#x280B;&#x28A1;&#x28A1;&#x2849;&#x283B;&#x28F7;&#x2844;&#x2838;&#x2880;&#x2846;&#x28B9;&#x28F3;&#x2803;&#x28F4;&#x28FF;&#x28FF;&#x280B;&#x28E0;&#x2810;&#x2854;&#x2800;&#x2802;&#x28B3;&#x2844;&#x28B0;&#x28DF;&#x2800;&#x2809;&#x28E0;&#x28E6;&#x2818;&#x28F7;&#x287B;&#x2800;&#x28FE;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x28A1;&#x2840;&#x28AF;&#x28D7;&#x28D7;&#x286F;&#x28D7;&#x28F7;&#x2843;&#x2800;&#x28FC;&#x2800;&#x2800;&#x2813;&#x2800;&#x2813;&#x28BD;&#x2804;&#x28B9;&#x28FF;&#x2844;&#x2890;&#x28E7;&#x2818;&#x2881;&#x28FE;&#x28FF;&#x28EF;&#x286F;&#x2890;&#x288C;&#x2800;&#x2801;&#x28DC;&#x2806;&#x28B8;&#x28FF;&#x2840;&#x289F;&#x2800;&#x28A8;&#x28C4;&#x2819;&#x2847;&#x28B9;&#x2803;&#x28FC;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28CC;&#x2823;&#x2848;&#x28BE;&#x28B5;&#x28AF;&#x28D7;&#x28B7;&#x2843;&#x28B0;&#x28FF;&#x2867;&#x2808;&#x28DF;&#x2840;&#x2800;&#x2878;&#x2845;&#x28B8;&#x287F;&#x28FF;&#x28E6;&#x28F9;&#x28F6;&#x28FB;&#x28FF;&#x28F7;&#x28FF;&#x28C7;&#x2828;&#x28EB;&#x2880;&#x2880;&#x288E;&#x2803;&#x28FC;&#x287F;&#x28C7;&#x287E;&#x2800;&#x2862;&#x2818;&#x28E8;&#x2807;&#x2808;&#x28F0;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28E7;&#x2850;&#x2808;&#x28AB;&#x28DF;&#x28BE;&#x28BD;&#x2842;&#x28B9;&#x28FF;&#x28FF;&#x2844;&#x2831;&#x2895;&#x28B5;&#x281D;&#x2880;&#x28FE;&#x28FF;&#x28FF;&#x28FB;&#x28FF;&#x28FB;&#x28FF;&#x28FB;&#x28FE;&#x28DF;&#x28FF;&#x28C6;&#x2811;&#x2855;&#x2817;&#x28C1;&#x28F4;&#x28FF;&#x287F;&#x28FF;&#x2803;&#x2804;&#x28FE;&#x28F5;&#x285F;&#x2800;&#x28B0;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28F7;&#x28C4;&#x282B;&#x28DF;&#x287D;&#x2843;&#x28B8;&#x28FF;&#x28FE;&#x28FF;&#x2877;&#x28FE;&#x28F4;&#x28FB;&#x287F;&#x28EF;&#x28F7;&#x28FF;&#x28FF;&#x28FB;&#x28FF;&#x28FD;&#x28FF;&#x28DF;&#x28FF;&#x28FB;&#x28FF;&#x28DF;&#x28F7;&#x287F;&#x28FF;&#x28FD;&#x28FE;&#x28FF;&#x284F;&#x28A0;&#x2834;&#x281F;&#x2801;&#x2804;&#x28F0;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28F7;&#x2848;&#x28AF;&#x28A7;&#x2808;&#x28BF;&#x28FF;&#x28FE;&#x28FF;&#x28FF;&#x28FE;&#x28FF;&#x28BF;&#x28FF;&#x28DF;&#x28FF;&#x28FE;&#x28FF;&#x28FC;&#x28FF;&#x28FE;&#x28BF;&#x28FB;&#x28FF;&#x28FD;&#x28FF;&#x28FB;&#x28FF;&#x28FF;&#x28FB;&#x28EF;&#x287F;&#x2800;&#x2844;&#x2854;&#x2854;&#x2805;&#x28F4;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2844;&#x2819;&#x2886;&#x2808;&#x283B;&#x28FE;&#x28FF;&#x28FE;&#x28BF;&#x28FE;&#x28FF;&#x28FF;&#x28FD;&#x283B;&#x28B7;&#x28FF;&#x28FB;&#x28FE;&#x283F;&#x281F;&#x28BF;&#x28FB;&#x28FD;&#x28FE;&#x28FF;&#x28BF;&#x28FE;&#x287F;&#x280B;&#x2841;&#x285C;&#x280C;&#x2808;&#x28E0;&#x282A;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x28B8;&#x2842;&#x2800;&#x28E4;&#x2848;&#x283B;&#x28FE;&#x28FF;&#x28BF;&#x28F7;&#x287F;&#x28EF;&#x28F7;&#x28E4;&#x28E4;&#x28E4;&#x28E4;&#x28F6;&#x28FE;&#x28FF;&#x28FF;&#x28BF;&#x28FB;&#x283D;&#x281B;&#x2889;&#x28A0;&#x2838;&#x2808;&#x2860;&#x28F0;&#x2800;&#x28FF;&#x2840;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x28B8;&#x2800;&#x28A8;&#x28D7;&#x286F;&#x28D6;&#x2844;&#x2888;&#x2809;&#x2813;&#x283B;&#x283F;&#x28BF;&#x28DF;&#x28FF;&#x28FB;&#x28FF;&#x283D;&#x281F;&#x281E;&#x280B;&#x2889;&#x28A0;&#x2800;&#x2870;&#x2811;&#x2881;&#x28B0;&#x2800;&#x286F;&#x28EA;&#x2800;&#x28F3;&#x28C7;&#x2838;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2857;&#x2828;&#x2800;&#x28FB;&#x28AE;&#x286F;&#x28BA;&#x2800;&#x289C;&#x2808;&#x284A;&#x2890;&#x28B6;&#x2894;&#x2864;&#x2864;&#x28E4;&#x28A4;&#x2896;&#x28D6;&#x28B7;&#x2805;&#x28B8;&#x2800;&#x2810;&#x2881;&#x2874;&#x2847;&#x2858;&#x28A0;&#x286B;&#x284E;&#x2847;&#x28B8;&#x28FA;&#x2844;&#x28BB;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x2847;&#x2800;&#x2800;&#x286F;&#x28D7;&#x2807;&#x286A;&#x2800;&#x2843;&#x2820;&#x2843;&#x2828;&#x28FF;&#x28F7;&#x28EF;&#x28FF;&#x28FE;&#x28FD;&#x28F7;&#x28EF;&#x28FF;&#x2802;&#x2800;&#x2860;&#x2800;&#x28FB;&#x28FA;&#x2847;&#x2800;&#x28B8;&#x2842;&#x289D;&#x28A6;&#x2810;&#x28D7;&#x28E7;&#x2808;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x2801;&#x28DC;&#x2800;&#x286F;&#x287F;&#x2800;&#x2806;&#x2890;&#x2801;&#x289C;&#x280C;&#x28A8;&#x28FF;&#x28FE;&#x28FF;&#x28FD;&#x28EF;&#x28FF;&#x28F7;&#x28FF;&#x28BF;&#x2841;&#x288C;&#x2810;&#x2800;&#x28F3;&#x28F3;&#x2843;&#x2800;&#x286A;&#x2847;&#x28B8;&#x2895;&#x2804;&#x28B3;&#x28BD;&#x2846;&#x2838;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x285F;&#x2801;&#x2870;&#x28B1;&#x2800;&#x286F;&#x284F;&#x2828;&#x2802;&#x2880;&#x2848;&#x2888;&#x2844;&#x28B8;&#x28F7;&#x28FF;&#x28F7;&#x28BF;&#x28EF;&#x28F7;&#x28FF;&#x28FE;&#x28FF;&#x28C6;&#x2819;&#x2805;&#x2800;&#x28DE;&#x28FE;&#x2800;&#x2880;&#x28AF;&#x2862;&#x2818;&#x28CE;&#x2887;&#x2818;&#x287D;&#x28FD;&#x2840;&#x28BB;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x280F;&#x2800;&#x2800;&#x28F0;&#x2879;&#x2800;&#x28AF;&#x2807;&#x2898;&#x2800;&#x280D;&#x28F4;&#x28FF;&#x28E4;&#x28FF;&#x287F;&#x28F7;&#x28FF;&#x28BF;&#x28FB;&#x28FD;&#x28F7;&#x28FF;&#x287F;&#x28FF;&#x28F7;&#x2842;&#x2880;&#x28D7;&#x28FF;&#x2800;&#x2830;&#x2823;&#x28AF;&#x2840;&#x2897;&#x285D;&#x2844;&#x2839;&#x28F3;&#x28A7;&#x2808;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x285F;&#x2881;&#x2814;&#x2881;&#x281E;&#x28C8;&#x28F4;&#x2800;&#x28EB;&#x2803;&#x2850;&#x2880;&#x289E;&#x28FF;&#x287F;&#x28FE;&#x28DF;&#x28FF;&#x28FF;&#x28FD;&#x28FF;&#x287F;&#x28DF;&#x28FF;&#x28FE;&#x287F;&#x28FF;&#x28FD;&#x2842;&#x2890;&#x28D7;&#x2857;&#x2880;&#x28F6;&#x28E6;&#x28E6;&#x28E4;&#x28C4;&#x28C9;&#x2818;&#x2800;&#x2839;&#x287D;&#x28C6;&#x2818;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x280B;&#x2860;&#x2803;&#x2854;&#x2881;&#x28FC;&#x28FF;&#x287F;&#x2800;&#x28B8;&#x2800;&#x2842;&#x28B8;&#x28B8;&#x28FF;&#x287F;&#x28DF;&#x28FF;&#x28BF;&#x28DE;&#x287F;&#x28FE;&#x28FF;&#x28BF;&#x28DF;&#x28F7;&#x28BF;&#x28FF;&#x28F7;&#x2801;&#x28B0;&#x28AF;&#x2847;&#x28B0;&#x28FF;&#x28EF;&#x28FF;&#x28DF;&#x28FF;&#x287F;&#x28FF;&#x28F7;&#x28E4;&#x28C8;&#x281B;&#x2886;&#x2818;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x281F;&#x28A0;&#x280A;&#x2860;&#x288A;&#x28F0;&#x28FF;&#x28FF;&#x281F;&#x28F0;&#x2800;&#x28B8;&#x2800;&#x2800;&#x284E;&#x28FE;&#x283F;&#x281F;&#x281B;&#x28C9;&#x2889;&#x281A;&#x28AE;&#x28BF;&#x28FE;&#x28BF;&#x28DD;&#x282E;&#x288B;&#x28E0;&#x28C8;&#x2802;&#x28F8;&#x28BD;&#x2800;&#x28BC;&#x28DF;&#x28EF;&#x28F7;&#x28FF;&#x28DF;&#x28FF;&#x28FF;&#x28FD;&#x28FF;&#x28FF;&#x2877;&#x284C;&#x28A3;&#x2848;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x285F;&#x2801;&#x2854;&#x2881;&#x2854;&#x28A1;&#x28FE;&#x28FF;&#x28FF;&#x28E7;&#x2850;&#x28BF;&#x2800;&#x28DE;&#x2800;&#x2800;&#x28CF;&#x28A6;&#x2876;&#x28DE;&#x28FF;&#x28FD;&#x28F3;&#x28F3;&#x28FD;&#x28FF;&#x28BF;&#x28FB;&#x28FE;&#x28F4;&#x28F3;&#x28F7;&#x28FF;&#x2800;&#x28FA;&#x285D;&#x2800;&#x28FD;&#x28FF;&#x28BF;&#x28FB;&#x28FD;&#x28FF;&#x28FD;&#x28FE;&#x287F;&#x28EF;&#x28FF;&#x28FF;&#x28FF;&#x2840;&#x28B3;&#x2840;&#x283B;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x287F;&#x280B;&#x2880;&#x280E;&#x28A0;&#x280E;&#x28E0;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28E6;&#x2800;&#x286F;&#x2800;&#x2810;&#x2827;&#x283B;&#x281B;&#x281B;&#x288B;&#x288B;&#x280B;&#x2819;&#x281B;&#x283F;&#x28FF;&#x28BF;&#x28F7;&#x287F;&#x28FF;&#x28FD;&#x287F;&#x2800;&#x28F7;&#x2803;&#x2800;&#x28FF;&#x287F;&#x28FF;&#x287F;&#x28FF;&#x28FD;&#x28EF;&#x28F7;&#x28FF;&#x28FF;&#x287F;&#x28FF;&#x28FB;&#x2847;&#x2880;&#x2839;&#x28C6;&#x2818;&#x28BF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;&#x28FF;
&quot;</span>;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>, body);
}
</code></pre>
<p>&#x3067;&#x304D;&#x307E;&#x3057;&#x305F;&#x3002;&#x3053;&#x308C;&#x3067;<code>ai</code>&#x3092;&#x5B9F;&#x884C;&#x3059;&#x308B;&#x3068;&#x3001;<a href="https://bsky.app/profile/did:plc:4hqjfn7m6n5hno3doamuhgef" target="_blank">ai</a>&#x304C;&#x8868;&#x793A;&#x3055;&#x308C;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh">$ cargo build
$ ./target/debug/ai
</code></pre>
<p><img src="../img/ascii.png" alt></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="./" class="navigation navigation-prev " aria-label="Previous page: part 4">
<i class="fa fa-angle-left"></i>
</a>
<a href="1.html" class="navigation navigation-next " aria-label="Next page: config">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"ai","level":"1.6.1","depth":2,"next":{"title":"config","level":"1.6.2","depth":2,"path":"c4/1.md","ref":"c4/1.md","articles":[]},"previous":{"title":"part 4","level":"1.6","depth":1,"path":"c4/README.md","ref":"c4/README.md","articles":[{"title":"ai","level":"1.6.1","depth":2,"path":"c4/0.md","ref":"c4/0.md","articles":[]},{"title":"config","level":"1.6.2","depth":2,"path":"c4/1.md","ref":"c4/1.md","articles":[]},{"title":"mention","level":"1.6.3","depth":2,"path":"c4/2.md","ref":"c4/2.md","articles":[]},{"title":"base64","level":"1.6.4","depth":2,"path":"c4/3.md","ref":"c4/3.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":"c4/0.md","mtime":"2023-07-25T11:05:46.444Z","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>

View File

@@ -0,0 +1,727 @@
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>config · 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="0.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="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/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="./">
<a href="./">
part 4
</a>
<ul class="articles">
<li class="chapter " data-level="1.6.1" data-path="0.html">
<a href="0.html">
ai
</a>
</li>
<li class="chapter active" data-level="1.6.2" data-path="1.html">
<a href="1.html">
config
</a>
</li>
<li class="chapter " data-level="1.6.3" data-path="2.html">
<a href="2.html">
mention
</a>
</li>
<li class="chapter " data-level="1.6.4" data-path="3.html">
<a href="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=".." >config</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="config">config</h3>
<p>bluesky&#x306E;&#x8A8D;&#x8A3C;&#x7CFB;&#x306E;&#x30B3;&#x30FC;&#x30C9;&#x3092;&#x8FFD;&#x52A0;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>&#x5177;&#x4F53;&#x7684;&#x306B;&#x306F;<code>~/.config/ai/config.toml</code>&#x306B;&#x60C5;&#x5831;&#x3092;&#x66F8;&#x3044;&#x3066;&#x304A;&#x304F;&#x3068;&#x3001;<code>~/.config/ai/token.toml</code>&#x306B;&#x8A8D;&#x8A3C;&#x60C5;&#x5831;&#x3092;&#x7F6E;&#x304F;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x30AA;&#x30D7;&#x30B7;&#x30E7;&#x30F3;&#x3092;&#x4F5C;&#x6210;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">~/.config/ai/config.toml</p></div>
<pre><code class="lang-toml"><span class="hljs-attr">handle</span> = <span class="hljs-string">&quot;yui.syui.ai&quot;</span>
<span class="hljs-attr">pass</span> = <span class="hljs-string">&quot;xxx&quot;</span>
<span class="hljs-attr">host</span> = <span class="hljs-string">&quot;bsky.social&quot;</span>
</code></pre>
<div><p class="code-filename">Cargo.toml</p></div>
<pre><code class="lang-toml"><span class="hljs-section">[package]</span>
<span class="hljs-attr">name</span> = <span class="hljs-string">&quot;ai&quot;</span>
<span class="hljs-attr">version</span> = <span class="hljs-string">&quot;0.1.0&quot;</span>
<span class="hljs-attr">edition</span> = <span class="hljs-string">&quot;2021&quot;</span>
<span class="hljs-section">
[dependencies]</span>
<span class="hljs-attr">seahorse</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">reqwest</span> = { version = <span class="hljs-string">&quot;*&quot;</span>, features = [<span class="hljs-string">&quot;blocking&quot;</span>, <span class="hljs-string">&quot;json&quot;</span>] }
<span class="hljs-attr">tokio</span> = { version = <span class="hljs-string">&quot;1&quot;</span>, features = [<span class="hljs-string">&quot;full&quot;</span>] }
<span class="hljs-attr">serde_derive</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde_json</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">config</span> = { git = <span class="hljs-string">&quot;https://github.com/mehcode/config-rs&quot;</span>, branch = <span class="hljs-string">&quot;master&quot;</span> }
<span class="hljs-attr">shellexpand</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">toml</span> = <span class="hljs-string">&quot;*&quot;</span>
</code></pre>
<div><p class="code-filename">src/data.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">use</span> config::{Config, ConfigError, File};
<span class="hljs-keyword">use</span> serde_derive::{Deserialize, Serialize};
<span class="hljs-meta">#[derive(Debug, Deserialize)]</span>
<span class="hljs-meta">#[allow(unused)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Data</span></span> {
<span class="hljs-keyword">pub</span> host: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> pass: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Token</span></span> {
<span class="hljs-keyword">pub</span> did: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> accessJwt: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> refreshJwt: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Tokens</span></span> {
<span class="hljs-keyword">pub</span> did: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> access: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> refresh: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-keyword">impl</span> Data {
<span class="hljs-keyword">pub</span> <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">new</span></span>() -&gt; <span class="hljs-built_in">Result</span>&lt;<span class="hljs-keyword">Self</span>, ConfigError&gt; {
<span class="hljs-keyword">let</span> d = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>) + <span class="hljs-string">&quot;/.config/ai/config.toml&quot;</span>;
<span class="hljs-keyword">let</span> s = Config::builder()
.add_source(File::with_name(&amp;d))
.add_source(config::Environment::with_prefix(<span class="hljs-string">&quot;APP&quot;</span>))
.build()?;
s.try_deserialize()
}
}
</code></pre>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> data;
<span class="hljs-keyword">use</span> seahorse::{App, Context, Command};
<span class="hljs-keyword">use</span> std::env;
<span class="hljs-keyword">use</span> std::fs;
<span class="hljs-keyword">use</span> std::io::Write;
<span class="hljs-keyword">use</span> std::collections::HashMap;
<span class="hljs-keyword">use</span> data::Data <span class="hljs-keyword">as</span> Datas;
<span class="hljs-keyword">use</span> crate::data::Token;
<span class="hljs-keyword">use</span> crate::data::Tokens;
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
<span class="hljs-keyword">let</span> args: <span class="hljs-built_in">Vec</span>&lt;<span class="hljs-built_in">String</span>&gt; = env::args().collect();
<span class="hljs-keyword">let</span> app = App::new(<span class="hljs-built_in">env!</span>(<span class="hljs-string">&quot;CARGO_PKG_NAME&quot;</span>))
<span class="hljs-comment">//.action(c_ascii_art)</span>
.command(
Command::new(<span class="hljs-string">&quot;bluesky&quot;</span>)
.alias(<span class="hljs-string">&quot;b&quot;</span>)
.action(c_list_records),
)
.command(
Command::new(<span class="hljs-string">&quot;login&quot;</span>)
.alias(<span class="hljs-string">&quot;l&quot;</span>)
.action(c_access_token),
)
;
app.run(args);
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">list_records</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> handle= <span class="hljs-string">&quot;support.bsky.team&quot;</span>;
<span class="hljs-keyword">let</span> col = <span class="hljs-string">&quot;app.bsky.feed.post&quot;</span>;
<span class="hljs-keyword">let</span> body = client.get(<span class="hljs-string">&quot;https://bsky.social/xrpc/com.atproto.repo.listRecords&quot;</span>)
.query(&amp;[(<span class="hljs-string">&quot;repo&quot;</span>, &amp;handle),(<span class="hljs-string">&quot;collection&quot;</span>, &amp;col),(<span class="hljs-string">&quot;limit&quot;</span>, &amp;<span class="hljs-string">&quot;1&quot;</span>),(<span class="hljs-string">&quot;revert&quot;</span>, &amp;<span class="hljs-string">&quot;true&quot;</span>)])
.send()
.await?
.text()
.await?;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>, body);
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_list_records</span></span>(_c: &amp;Context) {
list_records().unwrap();
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">access_token</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> file = <span class="hljs-string">&quot;/.config/ai/token.toml&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>).to_string();
f.push_str(&amp;file);
<span class="hljs-keyword">let</span> data = Datas::new().unwrap();
<span class="hljs-keyword">let</span> data = Datas {
host: data.host,
handle: data.handle,
pass: data.pass,
};
<span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://&quot;</span>.to_owned() + &amp;data.host + &amp;<span class="hljs-string">&quot;/xrpc/com.atproto.server.createSession&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> map = HashMap::new();
map.insert(<span class="hljs-string">&quot;identifier&quot;</span>, &amp;data.handle);
map.insert(<span class="hljs-string">&quot;password&quot;</span>, &amp;data.pass);
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> res = client
.post(url)
.json(&amp;map)
.send()
.await?
.text()
.await?;
<span class="hljs-keyword">let</span> json: Token = serde_json::from_str(&amp;res).unwrap();
<span class="hljs-keyword">let</span> tokens = Tokens {
did: json.did.to_string(),
access: json.accessJwt.to_string(),
refresh: json.refreshJwt.to_string(),
handle: json.handle.to_string(),
};
<span class="hljs-keyword">let</span> toml = toml::to_string(&amp;tokens).unwrap();
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = fs::File::create(f.clone()).unwrap();
f.write_all(&amp;toml.as_bytes()).unwrap();
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_access_token</span></span>(_c: &amp;Context) {
access_token().unwrap();
}
</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="0.html" class="navigation navigation-prev " aria-label="Previous page: ai">
<i class="fa fa-angle-left"></i>
</a>
<a href="2.html" class="navigation navigation-next " aria-label="Next page: mention">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"config","level":"1.6.2","depth":2,"next":{"title":"mention","level":"1.6.3","depth":2,"path":"c4/2.md","ref":"c4/2.md","articles":[]},"previous":{"title":"ai","level":"1.6.1","depth":2,"path":"c4/0.md","ref":"c4/0.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":"c4/1.md","mtime":"2023-07-22T09:43:24.685Z","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>

View File

@@ -0,0 +1,928 @@
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>mention · 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="3.html" />
<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="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/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="./">
<a href="./">
part 4
</a>
<ul class="articles">
<li class="chapter " data-level="1.6.1" data-path="0.html">
<a href="0.html">
ai
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="1.html">
<a href="1.html">
config
</a>
</li>
<li class="chapter active" data-level="1.6.3" data-path="2.html">
<a href="2.html">
mention
</a>
</li>
<li class="chapter " data-level="1.6.4" data-path="3.html">
<a href="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=".." >mention</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="mention">mention</h3>
<p>&#x3044;&#x3088;&#x3044;&#x3088;&#x3001;bluesky&#x306B;<code>post</code>&#x3059;&#x308B;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3092;&#x4F5C;&#x6210;&#x3057;&#x307E;&#x3059;&#x3002;&#x6B63;&#x78BA;&#x306B;&#x306F;<code>mention</code>&#x3067;&#x3059;&#x3002;</p>
<p>&#x4ECA;&#x5EA6;&#x306F;&#x3001;&#x65B0;&#x3057;&#x3044;&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#x3092;&#x4F5C;&#x6210;&#x3057;&#x3001;&#x305D;&#x306E;&#x30D5;&#x30A1;&#x30A4;&#x30EB;&#x3092;<code>src/main.rs</code>&#x3067;&#x8AAD;&#x307F;&#x8FBC;&#x3080;&#x65B9;&#x5F0F;&#x3067;&#x66F8;&#x3044;&#x3066;&#x307F;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">Cargo.toml</p></div>
<pre><code class="lang-toml"><span class="hljs-section">[package]</span>
<span class="hljs-attr">name</span> = <span class="hljs-string">&quot;ai&quot;</span>
<span class="hljs-attr">version</span> = <span class="hljs-string">&quot;0.1.0&quot;</span>
<span class="hljs-attr">edition</span> = <span class="hljs-string">&quot;2021&quot;</span>
<span class="hljs-section">
[dependencies]</span>
<span class="hljs-attr">seahorse</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">reqwest</span> = { version = <span class="hljs-string">&quot;*&quot;</span>, features = [<span class="hljs-string">&quot;blocking&quot;</span>, <span class="hljs-string">&quot;json&quot;</span>] }
<span class="hljs-attr">tokio</span> = { version = <span class="hljs-string">&quot;1&quot;</span>, features = [<span class="hljs-string">&quot;full&quot;</span>] }
<span class="hljs-attr">serde_derive</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde_json</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">config</span> = { git = <span class="hljs-string">&quot;https://github.com/mehcode/config-rs&quot;</span>, branch = <span class="hljs-string">&quot;master&quot;</span> }
<span class="hljs-attr">shellexpand</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">toml</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">iso8601-timestamp</span> = <span class="hljs-string">&quot;0.2.10&quot;</span>
</code></pre>
<div><p class="code-filename">src/data.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">use</span> config::{Config, ConfigError, File};
<span class="hljs-keyword">use</span> serde_derive::{Deserialize, Serialize};
<span class="hljs-meta">#[derive(Debug, Deserialize)]</span>
<span class="hljs-meta">#[allow(unused)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Data</span></span> {
<span class="hljs-keyword">pub</span> host: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> pass: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Token</span></span> {
<span class="hljs-keyword">pub</span> did: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> accessJwt: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> refreshJwt: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Tokens</span></span> {
<span class="hljs-keyword">pub</span> did: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> access: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> refresh: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Labels</span></span> {
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Declaration</span></span> {
<span class="hljs-keyword">pub</span> actorType: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> cid: <span class="hljs-built_in">String</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Viewer</span></span> {
<span class="hljs-keyword">pub</span> muted: <span class="hljs-keyword">bool</span>,
}
<span class="hljs-meta">#[derive(Serialize, Deserialize)]</span>
<span class="hljs-meta">#[allow(non_snake_case)]</span>
<span class="hljs-keyword">pub</span> <span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Profile</span></span> {
<span class="hljs-keyword">pub</span> did: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> handle: <span class="hljs-built_in">String</span>,
<span class="hljs-keyword">pub</span> followsCount: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-keyword">i32</span>&gt;,
<span class="hljs-keyword">pub</span> followersCount: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-keyword">i32</span>&gt;,
<span class="hljs-keyword">pub</span> postsCount: <span class="hljs-keyword">i32</span>,
<span class="hljs-keyword">pub</span> indexedAt: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-built_in">String</span>&gt;,
<span class="hljs-keyword">pub</span> avatar: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-built_in">String</span>&gt;,
<span class="hljs-keyword">pub</span> banner: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-built_in">String</span>&gt;,
<span class="hljs-keyword">pub</span> displayName: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-built_in">String</span>&gt;,
<span class="hljs-keyword">pub</span> description: <span class="hljs-built_in">Option</span>&lt;<span class="hljs-built_in">String</span>&gt;,
<span class="hljs-keyword">pub</span> viewer: Viewer,
<span class="hljs-keyword">pub</span> labels: Labels,
}
<span class="hljs-keyword">impl</span> Data {
<span class="hljs-keyword">pub</span> <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">new</span></span>() -&gt; <span class="hljs-built_in">Result</span>&lt;<span class="hljs-keyword">Self</span>, ConfigError&gt; {
<span class="hljs-keyword">let</span> d = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>) + <span class="hljs-string">&quot;/.config/ai/config.toml&quot;</span>;
<span class="hljs-keyword">let</span> s = Config::builder()
.add_source(File::with_name(&amp;d))
.add_source(config::Environment::with_prefix(<span class="hljs-string">&quot;APP&quot;</span>))
.build()?;
s.try_deserialize()
}
}
<span class="hljs-keyword">impl</span> Tokens {
<span class="hljs-keyword">pub</span> <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">new</span></span>() -&gt; <span class="hljs-built_in">Result</span>&lt;<span class="hljs-keyword">Self</span>, ConfigError&gt; {
<span class="hljs-keyword">let</span> d = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>) + <span class="hljs-string">&quot;/.config/ai/token.toml&quot;</span>;
<span class="hljs-keyword">let</span> s = Config::builder()
.add_source(File::with_name(&amp;d))
.add_source(config::Environment::with_prefix(<span class="hljs-string">&quot;APP&quot;</span>))
.build()?;
s.try_deserialize()
}
}
<span class="hljs-keyword">pub</span> <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">token_toml</span></span>(s: &amp;<span class="hljs-keyword">str</span>) -&gt; <span class="hljs-built_in">String</span> {
<span class="hljs-keyword">let</span> s = <span class="hljs-built_in">String</span>::from(s);
<span class="hljs-keyword">let</span> tokens = Tokens::new().unwrap();
<span class="hljs-keyword">let</span> tokens = Tokens {
did: tokens.did,
access: tokens.access,
refresh: tokens.refresh,
handle: tokens.handle,
};
<span class="hljs-keyword">match</span> &amp;*s {
<span class="hljs-string">&quot;did&quot;</span> =&gt; tokens.did,
<span class="hljs-string">&quot;access&quot;</span> =&gt; tokens.access,
<span class="hljs-string">&quot;refresh&quot;</span> =&gt; tokens.refresh,
<span class="hljs-string">&quot;handle&quot;</span> =&gt; tokens.handle,
_ =&gt; s,
}
}
</code></pre>
<div><p class="code-filename">src/profile.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">extern</span> <span class="hljs-keyword">crate</span> reqwest;
<span class="hljs-keyword">use</span> crate::token_toml;
<span class="hljs-keyword">pub</span> async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">get_request</span></span>(handle: <span class="hljs-built_in">String</span>) -&gt; <span class="hljs-built_in">String</span> {
<span class="hljs-keyword">let</span> token = token_toml(&amp;<span class="hljs-string">&quot;access&quot;</span>);
<span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://bsky.social/xrpc/app.bsky.actor.getProfile&quot;</span>.to_owned() + &amp;<span class="hljs-string">&quot;?actor=&quot;</span> + &amp;handle;
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> res = client
.get(url)
.header(<span class="hljs-string">&quot;Authorization&quot;</span>, <span class="hljs-string">&quot;Bearer &quot;</span>.to_owned() + &amp;token)
.send()
.await
.unwrap()
.text()
.await
.unwrap();
<span class="hljs-keyword">return</span> res
}
</code></pre>
<div><p class="code-filename">src/mention.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">extern</span> <span class="hljs-keyword">crate</span> reqwest;
<span class="hljs-keyword">use</span> crate::token_toml;
<span class="hljs-keyword">use</span> serde_json::json;
<span class="hljs-keyword">use</span> iso8601_timestamp::Timestamp;
<span class="hljs-keyword">pub</span> async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">post_request</span></span>(text: <span class="hljs-built_in">String</span>, at: <span class="hljs-built_in">String</span>, udid: <span class="hljs-built_in">String</span>, s: <span class="hljs-keyword">i32</span>, e: <span class="hljs-keyword">i32</span>) -&gt; <span class="hljs-built_in">String</span> {
<span class="hljs-keyword">let</span> token = token_toml(&amp;<span class="hljs-string">&quot;access&quot;</span>);
<span class="hljs-keyword">let</span> did = token_toml(&amp;<span class="hljs-string">&quot;did&quot;</span>);
<span class="hljs-keyword">let</span> handle = token_toml(&amp;<span class="hljs-string">&quot;handle&quot;</span>);
<span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://bsky.social/xrpc/com.atproto.repo.createRecord&quot;</span>;
<span class="hljs-keyword">let</span> col = <span class="hljs-string">&quot;app.bsky.feed.post&quot;</span>.to_string();
<span class="hljs-keyword">let</span> d = Timestamp::now_utc();
<span class="hljs-keyword">let</span> d = d.to_string();
<span class="hljs-keyword">let</span> post = <span class="hljs-literal">Some</span>(json!({
<span class="hljs-string">&quot;did&quot;</span>: did.to_string(),
<span class="hljs-string">&quot;repo&quot;</span>: handle.to_string(),
<span class="hljs-string">&quot;collection&quot;</span>: col.to_string(),
<span class="hljs-string">&quot;record&quot;</span>: {
<span class="hljs-string">&quot;text&quot;</span>: at.to_string() + &amp;<span class="hljs-string">&quot; &quot;</span>.to_string() + &amp;text.to_string(),
<span class="hljs-string">&quot;$type&quot;</span>: <span class="hljs-string">&quot;app.bsky.feed.post&quot;</span>,
<span class="hljs-string">&quot;createdAt&quot;</span>: d.to_string(),
<span class="hljs-string">&quot;facets&quot;</span>: [
{
<span class="hljs-string">&quot;$type&quot;</span>: <span class="hljs-string">&quot;app.bsky.richtext.facet&quot;</span>,
<span class="hljs-string">&quot;index&quot;</span>: {
<span class="hljs-string">&quot;byteEnd&quot;</span>: e,
<span class="hljs-string">&quot;byteStart&quot;</span>: s
},<span class="hljs-string">&quot;features&quot;</span>: [
{
<span class="hljs-string">&quot;did&quot;</span>: udid.to_string(),
<span class="hljs-string">&quot;$type&quot;</span>: <span class="hljs-string">&quot;app.bsky.richtext.facet#mention&quot;</span>
}
]
}
]
},
}));
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> res = client
.post(url)
.json(&amp;post)
.header(<span class="hljs-string">&quot;Authorization&quot;</span>, <span class="hljs-string">&quot;Bearer &quot;</span>.to_owned() + &amp;token)
.send()
.await
.unwrap()
.text()
.await
.unwrap();
<span class="hljs-keyword">return</span> res
}
</code></pre>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> data;
<span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> mention;
<span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> profile;
<span class="hljs-keyword">use</span> seahorse::{App, Command, Context, Flag, FlagType};
<span class="hljs-keyword">use</span> std::env;
<span class="hljs-keyword">use</span> std::fs;
<span class="hljs-keyword">use</span> std::io::Write;
<span class="hljs-keyword">use</span> std::collections::HashMap;
<span class="hljs-keyword">use</span> data::Data <span class="hljs-keyword">as</span> Datas;
<span class="hljs-keyword">use</span> crate::data::Token;
<span class="hljs-keyword">use</span> crate::data::Tokens;
<span class="hljs-keyword">use</span> crate::data::Profile;
<span class="hljs-keyword">use</span> crate::data::token_toml;
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
<span class="hljs-keyword">let</span> args: <span class="hljs-built_in">Vec</span>&lt;<span class="hljs-built_in">String</span>&gt; = env::args().collect();
<span class="hljs-keyword">let</span> app = App::new(<span class="hljs-built_in">env!</span>(<span class="hljs-string">&quot;CARGO_PKG_NAME&quot;</span>))
<span class="hljs-comment">//.action(c_ascii_art)</span>
.command(
Command::new(<span class="hljs-string">&quot;bluesky&quot;</span>)
.alias(<span class="hljs-string">&quot;b&quot;</span>)
.action(c_list_records),
)
.command(
Command::new(<span class="hljs-string">&quot;login&quot;</span>)
.alias(<span class="hljs-string">&quot;l&quot;</span>)
.action(c_access_token),
)
.command(
Command::new(<span class="hljs-string">&quot;profile&quot;</span>)
.alias(<span class="hljs-string">&quot;p&quot;</span>)
.action(c_profile),
)
.command(
Command::new(<span class="hljs-string">&quot;mention&quot;</span>)
.alias(<span class="hljs-string">&quot;m&quot;</span>)
.action(c_mention)
.flag(
Flag::new(<span class="hljs-string">&quot;post&quot;</span>, FlagType::<span class="hljs-built_in">String</span>)
.description(<span class="hljs-string">&quot;post flag\n\t\t\t$ ai m syui.bsky.social -p text&quot;</span>)
.alias(<span class="hljs-string">&quot;p&quot;</span>),
)
)
;
app.run(args);
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">list_records</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> handle= <span class="hljs-string">&quot;support.bsky.team&quot;</span>;
<span class="hljs-keyword">let</span> col = <span class="hljs-string">&quot;app.bsky.feed.post&quot;</span>;
<span class="hljs-keyword">let</span> body = client.get(<span class="hljs-string">&quot;https://bsky.social/xrpc/com.atproto.repo.listRecords&quot;</span>)
.query(&amp;[(<span class="hljs-string">&quot;repo&quot;</span>, &amp;handle),(<span class="hljs-string">&quot;collection&quot;</span>, &amp;col),(<span class="hljs-string">&quot;limit&quot;</span>, &amp;<span class="hljs-string">&quot;1&quot;</span>),(<span class="hljs-string">&quot;revert&quot;</span>, &amp;<span class="hljs-string">&quot;true&quot;</span>)])
.send()
.await?
.text()
.await?;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>, body);
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_list_records</span></span>(_c: &amp;Context) {
list_records().unwrap();
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">access_token</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> file = <span class="hljs-string">&quot;/.config/ai/token.toml&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>).to_string();
f.push_str(&amp;file);
<span class="hljs-keyword">let</span> data = Datas::new().unwrap();
<span class="hljs-keyword">let</span> data = Datas {
host: data.host,
handle: data.handle,
pass: data.pass,
};
<span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://&quot;</span>.to_owned() + &amp;data.host + &amp;<span class="hljs-string">&quot;/xrpc/com.atproto.server.createSession&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> map = HashMap::new();
map.insert(<span class="hljs-string">&quot;identifier&quot;</span>, &amp;data.handle);
map.insert(<span class="hljs-string">&quot;password&quot;</span>, &amp;data.pass);
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> res = client
.post(url)
.json(&amp;map)
.send()
.await?
.text()
.await?;
<span class="hljs-keyword">let</span> json: Token = serde_json::from_str(&amp;res).unwrap();
<span class="hljs-keyword">let</span> tokens = Tokens {
did: json.did.to_string(),
access: json.accessJwt.to_string(),
refresh: json.refreshJwt.to_string(),
handle: json.handle.to_string(),
};
<span class="hljs-keyword">let</span> toml = toml::to_string(&amp;tokens).unwrap();
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = fs::File::create(f.clone()).unwrap();
f.write_all(&amp;toml.as_bytes()).unwrap();
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_access_token</span></span>(_c: &amp;Context) {
access_token().unwrap();
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">profile</span></span>(c: &amp;Context) {
<span class="hljs-keyword">let</span> m = c.args[<span class="hljs-number">0</span>].to_string();
<span class="hljs-keyword">let</span> h = async {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = profile::get_request(m.to_string()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
};
<span class="hljs-keyword">let</span> res = tokio::runtime::Runtime::new().unwrap().block_on(h);
<span class="hljs-keyword">return</span> res
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_profile</span></span>(c: &amp;Context) {
access_token().unwrap();
profile(c);
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">mention</span></span>(c: &amp;Context) {
<span class="hljs-keyword">let</span> m = c.args[<span class="hljs-number">0</span>].to_string();
<span class="hljs-keyword">let</span> h = async {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = profile::get_request(m.to_string()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
<span class="hljs-keyword">let</span> profile: Profile = serde_json::from_str(&amp;<span class="hljs-keyword">str</span>).unwrap();
<span class="hljs-keyword">let</span> udid = profile.did;
<span class="hljs-keyword">let</span> handle = profile.handle;
<span class="hljs-keyword">let</span> at = <span class="hljs-string">&quot;@&quot;</span>.to_owned() + &amp;handle;
<span class="hljs-keyword">let</span> e = at.chars().count();
<span class="hljs-keyword">let</span> s = <span class="hljs-number">0</span>;
<span class="hljs-keyword">if</span> <span class="hljs-keyword">let</span> <span class="hljs-literal">Ok</span>(post) = c.string_flag(<span class="hljs-string">&quot;post&quot;</span>) {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = mention::post_request(post.to_string(), at.to_string(), udid.to_string(), s, e.try_into().unwrap()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
}
};
<span class="hljs-keyword">let</span> res = tokio::runtime::Runtime::new().unwrap().block_on(h);
<span class="hljs-keyword">return</span> res
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_mention</span></span>(c: &amp;Context) {
access_token().unwrap();
mention(c);
}
</code></pre>
<p>&#x4ECA;&#x56DE;&#x3001;&#x9762;&#x5012;&#x306A;&#x306E;&#x3067;<code>bsky.social</code>&#x4EE5;&#x5916;&#x306E;host&#x306B;&#x306F;&#x5BFE;&#x5FDC;&#x3057;&#x3066;&#x3044;&#x307E;&#x305B;&#x3093;&#x3002;&#x4E3B;&#x306B;<code>profile.rs</code>, <code>mention.rs</code>&#x3067;&#x3059;&#x3002;&#x305D;&#x306E;&#x8FBA;&#x306F;&#x6CE8;&#x610F;&#x3057;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<div><p class="code-filename">src/profile.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://bsky.social/xrpc/app.bsky.actor.getProfile&quot;</span>.to_owned() + &amp;<span class="hljs-string">&quot;?actor=&quot;</span> + &amp;handle;
</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: config">
<i class="fa fa-angle-left"></i>
</a>
<a href="3.html" class="navigation navigation-next " aria-label="Next page: base64">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"mention","level":"1.6.3","depth":2,"next":{"title":"base64","level":"1.6.4","depth":2,"path":"c4/3.md","ref":"c4/3.md","articles":[]},"previous":{"title":"config","level":"1.6.2","depth":2,"path":"c4/1.md","ref":"c4/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":"c4/2.md","mtime":"2023-07-22T11:05:21.851Z","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>

View File

@@ -0,0 +1,838 @@
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>base64 · 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="../c5/" />
<link rel="prev" href="2.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="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/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="./">
<a href="./">
part 4
</a>
<ul class="articles">
<li class="chapter " data-level="1.6.1" data-path="0.html">
<a href="0.html">
ai
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="1.html">
<a href="1.html">
config
</a>
</li>
<li class="chapter " data-level="1.6.3" data-path="2.html">
<a href="2.html">
mention
</a>
</li>
<li class="chapter active" data-level="1.6.4" data-path="3.html">
<a href="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=".." >base64</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="base64">base64</h3>
<p>&#x6B21;&#x306F;&#x3001;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x30AA;&#x30D7;&#x30B7;&#x30E7;&#x30F3;&#x3067;&#x6307;&#x5B9A;&#x3057;&#x305F;&#x6587;&#x5B57;&#x3092;<a href="https://uma0317.github.io/rust-cookbook-ja/encoding/strings.html" target="_blank">base64</a>&#x306B;&#x5909;&#x63DB;&#x3057;&#x3066;<code>mention</code>&#x3059;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x3092;&#x66F8;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3053;&#x308C;&#x3067;&#x30D7;&#x30ED;&#x30B0;&#x30E9;&#x30E0;&#x306E;&#x5B8C;&#x6210;&#x3067;&#x3059;&#x3002;</p>
<p>&#x307E;&#x305A;&#x306F;<code>base64</code>&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x3092;&#x8FFD;&#x52A0;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">Cargo.toml</p></div>
<pre><code class="lang-toml"><span class="hljs-section">[package]</span>
<span class="hljs-attr">name</span> = <span class="hljs-string">&quot;ai&quot;</span>
<span class="hljs-attr">version</span> = <span class="hljs-string">&quot;0.1.0&quot;</span>
<span class="hljs-attr">edition</span> = <span class="hljs-string">&quot;2021&quot;</span>
<span class="hljs-section">
[dependencies]</span>
<span class="hljs-attr">seahorse</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">reqwest</span> = { version = <span class="hljs-string">&quot;*&quot;</span>, features = [<span class="hljs-string">&quot;blocking&quot;</span>, <span class="hljs-string">&quot;json&quot;</span>] }
<span class="hljs-attr">tokio</span> = { version = <span class="hljs-string">&quot;1&quot;</span>, features = [<span class="hljs-string">&quot;full&quot;</span>] }
<span class="hljs-attr">serde_derive</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde_json</span> = <span class="hljs-string">&quot;1.0&quot;</span>
<span class="hljs-attr">serde</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">config</span> = { git = <span class="hljs-string">&quot;https://github.com/mehcode/config-rs&quot;</span>, branch = <span class="hljs-string">&quot;master&quot;</span> }
<span class="hljs-attr">shellexpand</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">toml</span> = <span class="hljs-string">&quot;*&quot;</span>
<span class="hljs-attr">iso8601-timestamp</span> = <span class="hljs-string">&quot;0.2.10&quot;</span>
<span class="hljs-attr">base64</span> = <span class="hljs-string">&quot;*&quot;</span>
</code></pre>
<p>&#x305D;&#x3057;&#x3066;&#x3001;<code>src/main.rs</code>&#x306E;mention&#x306E;&#x3068;&#x3053;&#x308D;&#x306B;<code>did</code>&#x3092;base64&#x306B;&#x5909;&#x63DB;&#x3059;&#x308B;&#x30B3;&#x30FC;&#x30C9;&#x3092;&#x66F8;&#x3044;&#x3066;&#x3044;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3053;&#x308C;&#x3089;&#x306F;&#x30B5;&#x30D6;&#x30AA;&#x30D7;&#x30B7;&#x30E7;&#x30F3;&#x306B;&#x8A2D;&#x5B9A;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>&#x8981;&#x70B9;&#x3092;&#x307E;&#x3068;&#x3081;&#x308B;&#x3068;&#x3053;&#x3093;&#x306A;&#x611F;&#x3058;&#x3067;&#x3059;&#x3002;</p>
<div><p class="code-filename">example</p></div>
<pre><code class="lang-rust">.command(
Command::new(<span class="hljs-string">&quot;mention&quot;</span>)
.alias(<span class="hljs-string">&quot;m&quot;</span>)
.action(c_mention)
.flag(
Flag::new(<span class="hljs-string">&quot;base&quot;</span>, FlagType::<span class="hljs-built_in">String</span>)
.description(<span class="hljs-string">&quot;base flag\n\t\t\t$ ai m syui.bsky.social -p text -b 123&quot;</span>)
.alias(<span class="hljs-string">&quot;b&quot;</span>),
)
.flag(
Flag::new(<span class="hljs-string">&quot;egg&quot;</span>, FlagType::Bool)
.description(<span class="hljs-string">&quot;egg flag\n\t\t\t$ ai m syui.bsky.social -e&quot;</span>)
.alias(<span class="hljs-string">&quot;e&quot;</span>),
)
<span class="hljs-keyword">let</span> did = token_toml(&amp;<span class="hljs-string">&quot;did&quot;</span>);
<span class="hljs-keyword">let</span> body = <span class="hljs-string">&quot;/egg &quot;</span>.to_owned() + &amp;encode(did.as_bytes());
</code></pre>
<p><code>-b</code>&#x3067;&#x5909;&#x63DB;&#x3059;&#x308B;&#x6587;&#x5B57;&#x5217;&#x3092;&#x6307;&#x5B9A;&#x3067;&#x304D;&#x308B;&#x3088;&#x3046;&#x306B;&#x3057;&#x307E;&#x3059;&#x3002;&#x5FC5;&#x305A;<code>-b &quot;foo bar&quot;</code>&#x3068;&#x3044;&#x3046;&#x3088;&#x3046;&#x306B;&#x30C0;&#x30D6;&#x30EB;&#x30AF;&#x30AA;&#x30FC;&#x30C6;&#x30FC;&#x30B7;&#x30E7;&#x30F3;&#x3067;&#x56F2;&#x3063;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;<code>-e</code>&#x3067;<code>did</code>&#x3092;&#x53D6;&#x3063;&#x3066;&#x304D;&#x3066;&#x81EA;&#x52D5;&#x5909;&#x63DB;&#x3057;&#x3066;mention&#x3059;&#x308B;&#x3088;&#x3046;&#x306B;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh"><span class="hljs-comment"># &#x6307;&#x5B9A;&#x3057;&#x3066;&#x305F;&#x6587;&#x5B57;&#x5217;&#x3092;base64&#x306B;&#x3057;&#x3066;mention&#x3059;&#x308B;</span>
$ ai m yui.syui.ai -b <span class="hljs-string">&quot;did:plc:4hqjfn7m6n5hno3doamuhgef&quot;</span>
@yui.syui.ai /egg ZGlkOnBsYzo0aHFqZm43bTZuNWhubzNkb2FtdWhnZWY=
<span class="hljs-comment"># &#x81EA;&#x5206;&#x306E;did&#x3092;base64&#x306B;&#x3057;&#x3066;mention&#x3059;&#x308B;</span>
$ ai m yui.syui.ai <span class="hljs-_">-e</span>
@yui.syui.ai /egg ZGlkOnBsYzo0aHFqZm43bTZuNWhubzNkb2FtdWhnZWY=
</code></pre>
<p>&#x3067;&#x306F;&#x3001;&#x5168;&#x90E8;&#x306E;&#x30B3;&#x30FC;&#x30C9;&#x3092;&#x66F8;&#x3044;&#x3066;&#x3044;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">src/main.rs</p></div>
<pre><code class="lang-rust"><span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> data;
<span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> mention;
<span class="hljs-keyword">pub</span> <span class="hljs-keyword">mod</span> profile;
<span class="hljs-comment">//pub mod ascii;</span>
<span class="hljs-keyword">use</span> seahorse::{App, Command, Context, Flag, FlagType};
<span class="hljs-keyword">use</span> std::env;
<span class="hljs-keyword">use</span> std::fs;
<span class="hljs-keyword">use</span> std::io::Write;
<span class="hljs-keyword">use</span> std::collections::HashMap;
<span class="hljs-keyword">use</span> data::Data <span class="hljs-keyword">as</span> Datas;
<span class="hljs-keyword">use</span> crate::data::Token;
<span class="hljs-keyword">use</span> crate::data::Tokens;
<span class="hljs-keyword">use</span> crate::data::Profile;
<span class="hljs-keyword">use</span> crate::data::token_toml;
<span class="hljs-comment">//use crate::ascii::c_ascii;</span>
<span class="hljs-keyword">extern</span> <span class="hljs-keyword">crate</span> base64;
<span class="hljs-keyword">use</span> base64::encode;
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
<span class="hljs-keyword">let</span> args: <span class="hljs-built_in">Vec</span>&lt;<span class="hljs-built_in">String</span>&gt; = env::args().collect();
<span class="hljs-keyword">let</span> app = App::new(<span class="hljs-built_in">env!</span>(<span class="hljs-string">&quot;CARGO_PKG_NAME&quot;</span>))
<span class="hljs-comment">//.action(c_ascii_art)</span>
.command(
Command::new(<span class="hljs-string">&quot;bluesky&quot;</span>)
.alias(<span class="hljs-string">&quot;b&quot;</span>)
.action(c_list_records),
)
.command(
Command::new(<span class="hljs-string">&quot;login&quot;</span>)
.alias(<span class="hljs-string">&quot;l&quot;</span>)
.action(c_access_token),
)
.command(
Command::new(<span class="hljs-string">&quot;profile&quot;</span>)
.alias(<span class="hljs-string">&quot;p&quot;</span>)
.action(c_profile),
)
.command(
Command::new(<span class="hljs-string">&quot;mention&quot;</span>)
.alias(<span class="hljs-string">&quot;m&quot;</span>)
.action(c_mention)
.flag(
Flag::new(<span class="hljs-string">&quot;post&quot;</span>, FlagType::<span class="hljs-built_in">String</span>)
.description(<span class="hljs-string">&quot;post flag\n\t\t\t$ ai m syui.bsky.social -p text&quot;</span>)
.alias(<span class="hljs-string">&quot;p&quot;</span>),
)
.flag(
Flag::new(<span class="hljs-string">&quot;base&quot;</span>, FlagType::<span class="hljs-built_in">String</span>)
.description(<span class="hljs-string">&quot;base flag\n\t\t\t$ ai m syui.bsky.social -p text -b 123&quot;</span>)
.alias(<span class="hljs-string">&quot;b&quot;</span>),
)
.flag(
Flag::new(<span class="hljs-string">&quot;egg&quot;</span>, FlagType::Bool)
.description(<span class="hljs-string">&quot;egg flag\n\t\t\t$ ai m syui.bsky.social -e&quot;</span>)
.alias(<span class="hljs-string">&quot;e&quot;</span>),
)
)
;
app.run(args);
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">list_records</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> handle= <span class="hljs-string">&quot;support.bsky.team&quot;</span>;
<span class="hljs-keyword">let</span> col = <span class="hljs-string">&quot;app.bsky.feed.post&quot;</span>;
<span class="hljs-keyword">let</span> body = client.get(<span class="hljs-string">&quot;https://bsky.social/xrpc/com.atproto.repo.listRecords&quot;</span>)
.query(&amp;[(<span class="hljs-string">&quot;repo&quot;</span>, &amp;handle),(<span class="hljs-string">&quot;collection&quot;</span>, &amp;col),(<span class="hljs-string">&quot;limit&quot;</span>, &amp;<span class="hljs-string">&quot;1&quot;</span>),(<span class="hljs-string">&quot;revert&quot;</span>, &amp;<span class="hljs-string">&quot;true&quot;</span>)])
.send()
.await?
.text()
.await?;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>, body);
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_list_records</span></span>(_c: &amp;Context) {
list_records().unwrap();
}
<span class="hljs-meta">#[tokio::main]</span>
async <span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">access_token</span></span>() -&gt; reqwest::<span class="hljs-built_in">Result</span>&lt;()&gt; {
<span class="hljs-keyword">let</span> file = <span class="hljs-string">&quot;/.config/ai/token.toml&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = shellexpand::tilde(<span class="hljs-string">&quot;~&quot;</span>).to_string();
f.push_str(&amp;file);
<span class="hljs-keyword">let</span> data = Datas::new().unwrap();
<span class="hljs-keyword">let</span> data = Datas {
host: data.host,
handle: data.handle,
pass: data.pass,
};
<span class="hljs-keyword">let</span> url = <span class="hljs-string">&quot;https://&quot;</span>.to_owned() + &amp;data.host + &amp;<span class="hljs-string">&quot;/xrpc/com.atproto.server.createSession&quot;</span>;
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> map = HashMap::new();
map.insert(<span class="hljs-string">&quot;identifier&quot;</span>, &amp;data.handle);
map.insert(<span class="hljs-string">&quot;password&quot;</span>, &amp;data.pass);
<span class="hljs-keyword">let</span> client = reqwest::Client::new();
<span class="hljs-keyword">let</span> res = client
.post(url)
.json(&amp;map)
.send()
.await?
.text()
.await?;
<span class="hljs-keyword">let</span> json: Token = serde_json::from_str(&amp;res).unwrap();
<span class="hljs-keyword">let</span> tokens = Tokens {
did: json.did.to_string(),
access: json.accessJwt.to_string(),
refresh: json.refreshJwt.to_string(),
handle: json.handle.to_string(),
};
<span class="hljs-keyword">let</span> toml = toml::to_string(&amp;tokens).unwrap();
<span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> f = fs::File::create(f.clone()).unwrap();
f.write_all(&amp;toml.as_bytes()).unwrap();
<span class="hljs-literal">Ok</span>(())
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_access_token</span></span>(_c: &amp;Context) {
access_token().unwrap();
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">profile</span></span>(c: &amp;Context) {
<span class="hljs-keyword">let</span> m = c.args[<span class="hljs-number">0</span>].to_string();
<span class="hljs-keyword">let</span> h = async {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = profile::get_request(m.to_string()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
};
<span class="hljs-keyword">let</span> res = tokio::runtime::Runtime::new().unwrap().block_on(h);
<span class="hljs-keyword">return</span> res
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_profile</span></span>(c: &amp;Context) {
access_token().unwrap();
profile(c);
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">mention</span></span>(c: &amp;Context) {
<span class="hljs-keyword">let</span> m = c.args[<span class="hljs-number">0</span>].to_string();
<span class="hljs-keyword">let</span> h = async {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = profile::get_request(m.to_string()).await;
<span class="hljs-keyword">let</span> profile: Profile = serde_json::from_str(&amp;<span class="hljs-keyword">str</span>).unwrap();
<span class="hljs-keyword">let</span> udid = profile.did;
<span class="hljs-keyword">let</span> handle = profile.handle;
<span class="hljs-keyword">let</span> at = <span class="hljs-string">&quot;@&quot;</span>.to_owned() + &amp;handle;
<span class="hljs-keyword">let</span> e = at.chars().count();
<span class="hljs-keyword">let</span> s = <span class="hljs-number">0</span>;
<span class="hljs-keyword">if</span> <span class="hljs-keyword">let</span> <span class="hljs-literal">Ok</span>(base) = c.string_flag(<span class="hljs-string">&quot;base&quot;</span>) {
<span class="hljs-keyword">let</span> body = <span class="hljs-string">&quot;/egg &quot;</span>.to_owned() + &amp;encode(base.as_bytes());
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = mention::post_request(body.to_string(), at.to_string(), udid.to_string(), s, e.try_into().unwrap()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
}
<span class="hljs-keyword">if</span> <span class="hljs-keyword">let</span> <span class="hljs-literal">Ok</span>(post) = c.string_flag(<span class="hljs-string">&quot;post&quot;</span>) {
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = mention::post_request(post.to_string(), at.to_string(), udid.to_string(), s, e.try_into().unwrap()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
}
<span class="hljs-keyword">if</span> c.bool_flag(<span class="hljs-string">&quot;egg&quot;</span>) {
<span class="hljs-keyword">let</span> did = token_toml(&amp;<span class="hljs-string">&quot;did&quot;</span>);
<span class="hljs-keyword">let</span> body = <span class="hljs-string">&quot;/egg &quot;</span>.to_owned() + &amp;encode(did.as_bytes());
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>, body);
<span class="hljs-keyword">let</span> <span class="hljs-keyword">str</span> = mention::post_request(body.to_string(), at.to_string(), udid.to_string(), s, e.try_into().unwrap()).await;
<span class="hljs-built_in">println!</span>(<span class="hljs-string">&quot;{}&quot;</span>,<span class="hljs-keyword">str</span>);
}
};
<span class="hljs-keyword">let</span> res = tokio::runtime::Runtime::new().unwrap().block_on(h);
<span class="hljs-keyword">return</span> res
}
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">c_mention</span></span>(c: &amp;Context) {
access_token().unwrap();
mention(c);
}
<span class="hljs-comment">//fn c_ascii_art(_c: &amp;Context) {</span>
<span class="hljs-comment">// c_ascii();</span>
<span class="hljs-comment">//}</span>
</code></pre>
<pre><code class="lang-sh">cargo build
</code></pre>
<p>&#x3067;&#x304D;&#x307E;&#x3057;&#x305F;&#x3002;</p>
<p>&#x3053;&#x308C;&#x3067;mention&#x3092;<code>yui.syui.ai</code>&#x306B;&#x6307;&#x5B9A;&#x3057;&#x3066;&#x3001;<code>-e</code>&#x306E;&#x30AA;&#x30D7;&#x30B7;&#x30E7;&#x30F3;&#x3092;&#x4F7F;&#x3046;&#x3068;&#x3001;&#x81EA;&#x5206;&#x306E;did&#x3092;base64&#x306B;&#x81EA;&#x52D5;&#x5909;&#x63DB;&#x3057;&#x3066;&#x9001;&#x3063;&#x3066;&#x304F;&#x308C;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh">./target/debug/ai m yui.syui.ai <span class="hljs-_">-e</span>
</code></pre>
<p>&#x3057;&#x304B;&#x3057;&#x3001;&#x3053;&#x308C;&#x3067;&#x306F;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x304C;&#x5B9F;&#x884C;&#x3057;&#x3065;&#x3089;&#x3044;&#x3002;</p>
<p>&#x3053;&#x306E;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3092;&#x3069;&#x3053;&#x306B;&#x3044;&#x3066;&#x3082;&#x5B9F;&#x884C;&#x3067;&#x304D;&#x308B;&#x3088;&#x3046;&#x3001;binary&#x3001;&#x3064;&#x307E;&#x308A;&#x3001;<code>cargo build</code>&#x3059;&#x308B;&#x3068;&#x3067;&#x304D;&#x308B;<code>./target/debug/ai</code>&#x3092;<code>$PATH</code>&#x306B;&#x7F6E;&#x3044;&#x3066;&#x307F;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">linux</p></div>
<pre><code class="lang-sh">$ <span class="hljs-built_in">echo</span> <span class="hljs-variable">$PATH</span>|tr : <span class="hljs-string">&apos;\n&apos;</span>
/usr/bin
/usr/<span class="hljs-built_in">local</span>/bin
$ sudo cp -rf ./target/debug/ai /usr/<span class="hljs-built_in">local</span>/bin/
$ ai -h
Name:
ai
Flags:
-h, --help : Show <span class="hljs-built_in">help</span>
Commands:
b, bluesky :
l, login :
p, profile :
m, mention :
</code></pre>
<div><p class="code-filename">windows</p></div>
<pre><code class="lang-sh"><span class="hljs-variable">$ENV</span>:Path.Split(<span class="hljs-string">&quot;;&quot;</span>)
C:\Users\syui\scoop\apps\rust\current\bin
cp ~/scoop/rust/current/bin/
ai -h
</code></pre>
<p>&#x3053;&#x3093;&#x306A;&#x611F;&#x3058;&#x3067;<code>rust</code>&#x3067;&#x81EA;&#x5206;&#x306E;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3092;&#x4F5C;&#x3063;&#x3066;&#x904A;&#x3093;&#x3067;&#x307F;&#x307E;&#x3057;&#x3087;&#x3046;&#x3002;</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="2.html" class="navigation navigation-prev " aria-label="Previous page: mention">
<i class="fa fa-angle-left"></i>
</a>
<a href="../c5/" class="navigation navigation-next " aria-label="Next page: part 5">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"base64","level":"1.6.4","depth":2,"next":{"title":"part 5","level":"1.7","depth":1,"path":"c5/README.md","ref":"c5/README.md","articles":[{"title":"notify","level":"1.7.1","depth":2,"path":"c5/1.md","ref":"c5/1.md","articles":[]},{"title":"timeline","level":"1.7.2","depth":2,"path":"c5/2.md","ref":"c5/2.md","articles":[]},{"title":"refresh","level":"1.7.3","depth":2,"path":"c5/3.md","ref":"c5/3.md","articles":[]}]},"previous":{"title":"mention","level":"1.6.3","depth":2,"path":"c4/2.md","ref":"c4/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":"c4/3.md","mtime":"2023-07-25T16:11:29.240Z","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>

View File

@@ -0,0 +1,569 @@
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>part 4 · 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="0.html" />
<link rel="prev" href="../c3/3.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="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/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 active" data-level="1.6" data-path="./">
<a href="./">
part 4
</a>
<ul class="articles">
<li class="chapter " data-level="1.6.1" data-path="0.html">
<a href="0.html">
ai
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="1.html">
<a href="1.html">
config
</a>
</li>
<li class="chapter " data-level="1.6.3" data-path="2.html">
<a href="2.html">
mention
</a>
</li>
<li class="chapter " data-level="1.6.4" data-path="3.html">
<a href="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 4</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-4">part 4</h2>
<p>&#x3053;&#x306E;&#x7AE0;&#x3067;&#x306F;&#x3001;<code>seahorse</code>, <code>reqwest</code>&#x3092;&#x4F7F;&#x3044;&#x306A;&#x304C;&#x3089;rust&#x306E;&#x30B3;&#x30FC;&#x30C9;&#x3092;&#x66F8;&#x304D;&#x4E0A;&#x3052;&#x3001;&#x30D7;&#x30ED;&#x30B0;&#x30E9;&#x30E0;&#x3092;&#x5B8C;&#x6210;&#x3078;&#x3068;&#x5C0E;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<p>bluesky&#x306E;<a href="https://github.com/bluesky-social/atproto/tree/main/lexicons" target="_blank">lexicons</a>&#x304C;&#x91CD;&#x8981;&#x306B;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3082;&#x3057;&#x308F;&#x304B;&#x3089;&#x306A;&#x3044;&#x5834;&#x5408;&#x306F;<a href="../c1/">part 1</a>&#x3092;&#x3054;&#x53C2;&#x7167;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</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="../c3/3.html" class="navigation navigation-prev " aria-label="Previous page: reqwest">
<i class="fa fa-angle-left"></i>
</a>
<a href="0.html" class="navigation navigation-next " aria-label="Next page: ai">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"part 4","level":"1.6","depth":1,"next":{"title":"ai","level":"1.6.1","depth":2,"path":"c4/0.md","ref":"c4/0.md","articles":[]},"previous":{"title":"reqwest","level":"1.5.3","depth":2,"path":"c3/3.md","ref":"c3/3.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":"c4/README.md","mtime":"2023-07-22T11:00:30.626Z","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>