<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Darkboy7766</title>
    <description>The latest articles on DEV Community by Darkboy7766 (@darkboy7766).</description>
    <link>https://dev.to/darkboy7766</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4175462%2F89a1d3a2-2cc3-4ce0-8810-89581656bafe.png</url>
      <title>DEV Community: Darkboy7766</title>
      <link>https://dev.to/darkboy7766</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/darkboy7766"/>
    <language>en</language>
    <item>
      <title>I ran aider, OpenCode and Codex CLI on a local model: here is what passed and what broke</title>
      <dc:creator>Darkboy7766</dc:creator>
      <pubDate>Tue, 10 Nov 2026 05:30:00 +0000</pubDate>
      <link>https://dev.to/darkboy7766/i-ran-aider-opencode-and-codex-cli-on-a-local-model-here-is-what-passed-and-what-broke-1d2d</link>
      <guid>https://dev.to/darkboy7766/i-ran-aider-opencode-and-codex-cli-on-a-local-model-here-is-what-passed-and-what-broke-1d2d</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I run &lt;a href="https://www.homelabdeck.dev" rel="noopener noreferrer"&gt;HomelabDeck&lt;/a&gt;, a site about self-hosted apps. Everything below ran in my own Proxmox homelab on 2026-11-08. This is a small test, not a benchmark.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Can a coding agent work with a model you host yourself, with no cloud and no subscription? I wanted a real answer, so I tried three agents on the same machine and checked the results with a script instead of by eye.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; gpt-oss:20b in Ollama 0.34.2, on an RTX 3090 in its own LXC container. About 122 tokens per second.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agents:&lt;/strong&gt; aider 0.86.2, OpenCode 1.19.5 and Codex CLI 0.167.0, installed in a second small container and talking to Ollama over the LAN.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workspace:&lt;/strong&gt; the agents ran inside &lt;a href="https://www.homelabdeck.dev/en/apps/tuxee" rel="noopener noreferrer"&gt;Tuxee&lt;/a&gt;, a tiny web interface with a file manager and terminals that keep running after you close the tab. The Tuxee process itself used about 50 MB of RAM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rules:&lt;/strong&gt; each run started from the same seed files in a fresh folder with a 7-minute limit. After the run a script checked the result. The agents never saw the check.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The four tasks
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Write a small word-frequency CLI with unittest tests, from scratch.&lt;/li&gt;
&lt;li&gt;Fix a wrong &lt;code&gt;median&lt;/code&gt; and &lt;code&gt;mode&lt;/code&gt; in a file, with tests provided and not editable.&lt;/li&gt;
&lt;li&gt;Read a CSV of sales and print totals per region, sorted. Output compared exactly.&lt;/li&gt;
&lt;li&gt;Add a &lt;code&gt;--json&lt;/code&gt; flag to existing code, plus a test.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;aider&lt;/th&gt;
&lt;th&gt;OpenCode&lt;/th&gt;
&lt;th&gt;Codex CLI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. From scratch&lt;/td&gt;
&lt;td&gt;pass, 58 s&lt;/td&gt;
&lt;td&gt;fail first run (15 s), pass on retry (57 s)&lt;/td&gt;
&lt;td&gt;fail, 209 s, stray test files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Bug fix&lt;/td&gt;
&lt;td&gt;pass, 46 s&lt;/td&gt;
&lt;td&gt;pass, 46 s&lt;/td&gt;
&lt;td&gt;fail (lost connection), twice&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. CSV report&lt;/td&gt;
&lt;td&gt;pass, 42 s&lt;/td&gt;
&lt;td&gt;pass, 52 s&lt;/td&gt;
&lt;td&gt;pass, 12 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Add a feature&lt;/td&gt;
&lt;td&gt;fail, 54 s&lt;/td&gt;
&lt;td&gt;pass, 73 s&lt;/td&gt;
&lt;td&gt;fail (lost connection), twice&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3 of 4&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;4 of 4, one retry&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1 of 4&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What the failures looked like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;aider, task 4:&lt;/strong&gt; the &lt;code&gt;--json&lt;/code&gt; flag worked and printed valid JSON, but the test it wrote for it failed. I count that as a fail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenCode, task 1:&lt;/strong&gt; it looked at the empty folder, printed the code in the chat and never wrote a file. The next run was fine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex CLI, tasks 2 and 4:&lt;/strong&gt; &lt;code&gt;stream disconnected before completion&lt;/code&gt; after five reconnect attempts, both times I ran it. On task 1 it burned about 50,000 tokens and left three stray test files with a failing test. This is about Codex CLI with this model through Ollama's Responses API, not about Codex with a cloud model.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The trap that cost me an hour
&lt;/h2&gt;

&lt;p&gt;Ollama's default context is small, and a coding agent sends a large prompt full of tool descriptions. With the default, my first OpenCode run did not finish in 10 minutes. After I created a copy of the model with a 32k context, the same agent finished simple tasks in under a minute.&lt;/p&gt;

&lt;p&gt;Through the OpenAI-compatible endpoint you cannot set the context from the client, so make a copy of the model:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'FROM gpt-oss:20b\nPARAMETER num_ctx 32768\n'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; Modelfile
ollama create gpt-oss-32k -f Modelfile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Smaller gotchas: Codex refuses a custom provider named &lt;code&gt;ollama&lt;/code&gt; because that name is reserved, and aider's numpy dependency would not build on Python 3.13, so I installed it with &lt;code&gt;uv&lt;/code&gt; and Python 3.12.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;aider&lt;/strong&gt; is the lightest and fastest, and works well when you name the files to edit. It does not run your tests by itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenCode&lt;/strong&gt; explores the project and runs commands on its own, which feels closest to the cloud agents. It was the most reliable here. Expect an occasional run where the model talks instead of acting, and just repeat it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex CLI&lt;/strong&gt; I would skip for this model today.&lt;/li&gt;
&lt;li&gt;A 20B model handles small, clear tasks. Give it one file, one goal and a test, not a whole repository.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;Four tasks, one or two runs each, small Python tasks only, one model, one machine. Models are not deterministic, so another day could give different numbers.&lt;/p&gt;

&lt;p&gt;The full guide has the exact configs for all three agents, the Tuxee setup and the security notes (a web terminal is a real shell, so keep it on your LAN or behind a VPN):&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.homelabdeck.dev/en/guides/local-ai-coding-agent-ollama-aider-opencode" rel="noopener noreferrer"&gt;Read the full guide on HomelabDeck&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have run these agents on other local models, I would like to hear which ones worked for you.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>selfhosted</category>
      <category>homelab</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I replaced 11 SaaS apps with self-hosted ones in a homelab: here is what each one really costs in RAM</title>
      <dc:creator>Darkboy7766</dc:creator>
      <pubDate>Tue, 13 Oct 2026 16:06:39 +0000</pubDate>
      <link>https://dev.to/darkboy7766/i-replaced-11-saas-apps-with-self-hosted-ones-in-a-homelab-here-is-what-each-one-really-costs-in-1p1b</link>
      <guid>https://dev.to/darkboy7766/i-replaced-11-saas-apps-with-self-hosted-ones-in-a-homelab-here-is-what-each-one-really-costs-in-1p1b</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I run &lt;a href="https://www.homelabdeck.dev" rel="noopener noreferrer"&gt;HomelabDeck&lt;/a&gt;, a directory of self-hosted apps. Every app below was installed in my own homelab (Proxmox, LXC containers), and the RAM figures come from that setup.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Subscriptions add up, and your photos, passwords and documents sit on someone else's servers. Self-hosting gets that control back, but most "best self-hosted apps" lists copy each other and never show the apps running. So I installed them, took screenshots and wrote down what each one needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Instead of&lt;/th&gt;
&lt;th&gt;Self-host&lt;/th&gt;
&lt;th&gt;RAM (estimate)&lt;/th&gt;
&lt;th&gt;License&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Google Photos&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/immich" rel="noopener noreferrer"&gt;Immich&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~4 GB&lt;/td&gt;
&lt;td&gt;AGPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Plex&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/jellyfin" rel="noopener noreferrer"&gt;Jellyfin&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~2 GB&lt;/td&gt;
&lt;td&gt;GPL-2.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bitwarden Cloud&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/vaultwarden" rel="noopener noreferrer"&gt;Vaultwarden&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~128 MB&lt;/td&gt;
&lt;td&gt;AGPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Todoist / Trello&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/vikunja" rel="noopener noreferrer"&gt;Vikunja&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~512 MB&lt;/td&gt;
&lt;td&gt;AGPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Feedly&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/freshrss" rel="noopener noreferrer"&gt;FreshRSS&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~256 MB&lt;/td&gt;
&lt;td&gt;AGPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub (private repos, CI)&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/gitea" rel="noopener noreferrer"&gt;Gitea&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~512 MB&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UptimeRobot&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/uptime-kuma" rel="noopener noreferrer"&gt;Uptime Kuma&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~256 MB&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zapier / IFTTT&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/n8n" rel="noopener noreferrer"&gt;n8n&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~1 GB&lt;/td&gt;
&lt;td&gt;Sustainable Use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Notion / Confluence (wiki)&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/wiki-js" rel="noopener noreferrer"&gt;Wiki.js&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~512 MB&lt;/td&gt;
&lt;td&gt;AGPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google Keep&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/memos" rel="noopener noreferrer"&gt;Memos&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~256 MB&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audible (your own files)&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.homelabdeck.dev/en/apps/audiobookshelf" rel="noopener noreferrer"&gt;Audiobookshelf&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;~512 MB&lt;/td&gt;
&lt;td&gt;GPL-3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;RAM numbers are estimates from my tests; real usage grows with library size and users.&lt;/p&gt;

&lt;h2&gt;
  
  
  What surprised me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vaultwarden is tiny.&lt;/strong&gt; It is written in Rust and sat well under 100 MB at idle for a family-sized vault. If you only self-host one thing, this is the cheapest to run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Immich is the heavy one.&lt;/strong&gt; The machine-learning container (face recognition, CLIP search) is the biggest RAM and CPU consumer and scales with your library. Plan 4 GB as a comfortable baseline for a small library.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Jellyfin's real cost is transcoding,&lt;/strong&gt; not the app. Direct play is light; 4K transcoding needs a capable CPU or hardware acceleration (Quick Sync, NVENC).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Several apps need PostgreSQL&lt;/strong&gt; (Immich, Vikunja, Wiki.js, Paperless-ngx), while Vaultwarden, FreshRSS, Gitea, Uptime Kuma and n8n get by with SQLite. Check this before you deploy.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest caveats
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;n8n uses the Sustainable Use License: the source is available, but it is not classic open source.&lt;/li&gt;
&lt;li&gt;Self-hosting means &lt;strong&gt;you&lt;/strong&gt; own the backups and the updates. A password manager without a tested backup is a risk, not a feature.&lt;/li&gt;
&lt;li&gt;A self-hosted photo library is not a backup of itself.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I would start
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Pick one app that replaces something you pay for today.&lt;/li&gt;
&lt;li&gt;Run it in a small LXC container or on a Docker host.&lt;/li&gt;
&lt;li&gt;Copy the &lt;code&gt;docker-compose.yml&lt;/code&gt; from its page and adjust the paths.&lt;/li&gt;
&lt;li&gt;Add a reverse proxy (I use Nginx Proxy Manager) and set up backups before you trust it with real data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each app has a page with dashboard screenshots, the compatibility matrix and a ready-to-use compose file: &lt;a href="https://www.homelabdeck.dev/en/apps" rel="noopener noreferrer"&gt;homelabdeck.dev/en/apps&lt;/a&gt;. I also post short weekly notes on what I add: &lt;a href="https://www.homelabdeck.dev/en/updates" rel="noopener noreferrer"&gt;homelabdeck.dev/en/updates&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What are you self-hosting that I should test next? Tell me in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>homelab</category>
      <category>opensource</category>
      <category>docker</category>
    </item>
  </channel>
</rss>
