<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Llm on dev.chack</title><link>/tags/llm/</link><description>Recent content in Llm on dev.chack</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 02 Aug 2026 10:48:53 +0200</lastBuildDate><atom:link href="/tags/llm/index.xml" rel="self" type="application/rss+xml"/><item><title>llm-setup</title><link>/posts/llm-setup/</link><pubDate>Sun, 02 Aug 2026 00:00:00 +0000</pubDate><guid>/posts/llm-setup/</guid><description>&lt;h1 id="my-local-llm-setup-for-coding"&gt;My local LLM setup for coding&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;m using tailscale to connect to my devices, when you see scruffy or bender these are the MagicDNS names applied.&lt;/p&gt;
&lt;h2 id="dev-machine"&gt;dev machine&lt;/h2&gt;
&lt;p&gt;Below script starts a opencode server &lt;strong&gt;ocs&lt;/strong&gt; &amp;amp; I&amp;rsquo;m using opencode attach &lt;strong&gt;oca&lt;/strong&gt; to use that server. That gives me the possibility to continue my coding session on any device in my browser at http://bender:1234&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;echo &amp;#39;
export EDITOR=&amp;#34;subl --wait&amp;#34;
opencode serve --hostname=0.0.0.0 --port=1234
&amp;#39; &amp;gt; ~/bin/ocs

echo &amp;#39;
export EDITOR=&amp;#34;subl --wait&amp;#34;
opencode attach http://0.0.0.0:1234 --dir $(PWD)
&amp;#39; &amp;gt; ~/bin/oca
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Opencode needs a few adjustments to connect to my LLM machine on startup.&lt;/p&gt;</description></item></channel></rss>