<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Anki on Alwaldend</title>
		<link>https://alwaldend.com/tags/anki/</link>
		<description>Recent content in Anki on Alwaldend</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://alwaldend.com/tags/anki/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Anki gRPC</title>
				<link>https://alwaldend.com/docs/projects/anki_grpc/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://alwaldend.com/docs/projects/anki_grpc/</guid>
				<description>&lt;p&gt;&lt;span class=&#34;mermaid-diagram&#34;&gt;&lt;img src=&#34;https://alwaldend.com/docs/projects/anki_grpc/assets/architecture.svg&#34; alt=&#34;Anki gRPC architecture&#34; loading=&#34;lazy&#34; class=&#34;mermaid-light&#34;&gt;&lt;img src=&#34;https://alwaldend.com/docs/projects/anki_grpc/assets/architecture.dark.svg&#34; alt=&#34;Anki gRPC architecture&#34; loading=&#34;lazy&#34; class=&#34;mermaid-dark&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;p&gt;Anki gRPC is a Rust CLI that forwards upstream protobuf commands to Anki&amp;rsquo;s&#xA;native backend. It initializes one backend at startup using Anki&amp;rsquo;s default&#xA;options. Anki owns collection semantics; the caller owns process lifetime and&#xA;crash handling. Stdin/stdout is the default transport. TCP and Unix sockets are&#xA;also supported. Diagnostics use stderr.&lt;/p&gt;&#xA;&lt;h2 id=&#34;build&#34;&gt;Build&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#build&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;From the repository root:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;bazel_agent bazel build //projects/anki_grpc:anki_grpc //projects/anki_grpc:clippy&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Build an optimized worker with &lt;code&gt;bazel_agent bazel build -c opt //projects/anki_grpc&lt;/code&gt;.&#xA;Optimized builds strip the final Rust executable&amp;rsquo;s debugging information and static&#xA;symbols; development builds retain them.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Anki gRPC</title>
				<link>https://alwaldend.com/projects/anki_grpc/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://alwaldend.com/projects/anki_grpc/</guid>
				<description>&lt;p&gt;Anki gRPC exposes Anki&amp;rsquo;s native backend to applications in other languages.&#xA;Clients use Anki&amp;rsquo;s own protobuf messages to open collections, edit notes,&#xA;and invoke backend operations without running the desktop application.&lt;/p&gt;&#xA;&lt;p&gt;The server is a Rust CLI with stdin/stdout as its default transport. TCP and&#xA;Unix sockets are available through command-line options. The backend is ready&#xA;at startup, and Anki owns collection behavior. Applications own server lifetime&#xA;and recovery after failures.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
