<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Scripts on homelab</title>
    <link>https://homelab.nbkelley.com/tags/scripts/</link>
    <description>Recent content in Scripts on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 02 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/scripts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Wiki Pipeline Scripts</title>
      <link>https://homelab.nbkelley.com/docs/ai/wiki-pipeline-scripts/</link>
      <pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/ai/wiki-pipeline-scripts/</guid>
      <description>&lt;h1 id=&#34;wiki-pipeline-scripts&#34;&gt;Wiki Pipeline Scripts&lt;a class=&#34;anchor&#34; href=&#34;#wiki-pipeline-scripts&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Eight Python scripts in &lt;code&gt;/opt/wiki/homelab/scripts/&lt;/code&gt; implement the full wiki pipeline: file conversion, document ingestion, conversation crystallization (standard, DeepSeek, and Claude formats), shared LLM infrastructure, wiki health-checking, and knowledge-graph integration. All scripts were ported from the work wiki pipeline (itself developed 2026-04-21 → 2026-04-26) with homelab-specific infrastructure baked in.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;crystallize.py&lt;/code&gt; (Claude format) uses a two-step LLM approach: gemma4:e2b cleans, qwen3.6:35b crystallizes. &lt;code&gt;crystallize_deepseek.py&lt;/code&gt; skips gemma — JSON parsing is handled deterministically in Python (&lt;code&gt;load_conversation&lt;/code&gt; + &lt;code&gt;_clean_text&lt;/code&gt;), so only qwen is needed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>PowerShell Local PC Scripting Patterns</title>
      <link>https://homelab.nbkelley.com/docs/scripts/powershell-local-scripting/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/scripts/powershell-local-scripting/</guid>
      <description>&lt;h1 id=&#34;powershell-local-pc-scripting-patterns&#34;&gt;PowerShell Local PC Scripting Patterns&lt;a class=&#34;anchor&#34; href=&#34;#powershell-local-pc-scripting-patterns&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;A collection of PowerShell scripting patterns for local PC automation tasks, including folder renaming from CSV data, and basic system administration.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;CSV-driven automation&lt;/strong&gt;: Use &lt;code&gt;Import-Csv&lt;/code&gt; with &lt;code&gt;Rename-Item&lt;/code&gt; for bulk folder renaming driven by spreadsheet data.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Path validation&lt;/strong&gt;: Always &lt;code&gt;Test-Path&lt;/code&gt; before operating to avoid errors on missing sources or existing destinations.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Error handling&lt;/strong&gt;: Wrap rename operations in conditional checks; log warnings rather than failing silently.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;folder-renaming-from-csv&#34;&gt;Folder Renaming from CSV&lt;a class=&#34;anchor&#34; href=&#34;#folder-renaming-from-csv&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;CSV format&lt;/strong&gt; (&lt;code&gt;folder_renaming.csv&lt;/code&gt;):&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
