<?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: Ishanka Batawala</title>
    <description>The latest articles on DEV Community by Ishanka Batawala (@ishankabatawala).</description>
    <link>https://dev.to/ishankabatawala</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%2F4175926%2F9ab03ad5-7b0c-4ac2-8c6a-77f83b7bb023.jpg</url>
      <title>DEV Community: Ishanka Batawala</title>
      <link>https://dev.to/ishankabatawala</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ishankabatawala"/>
    <language>en</language>
    <item>
      <title>File Butler: The Sloth-Inspired AI Directory Organizer</title>
      <dc:creator>Ishanka Batawala</dc:creator>
      <pubDate>Mon, 26 Oct 2026 06:57:06 +0000</pubDate>
      <link>https://dev.to/ishankabatawala/file-butler-the-sloth-inspired-ai-directory-organizer-2fah</link>
      <guid>https://dev.to/ishankabatawala/file-butler-the-sloth-inspired-ai-directory-organizer-2fah</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;File Butler is an intelligent, Python-based directory organizer that channels your inner sloth by automating the tedious task of sorting messy folders (like your Downloads or Desktop). When pointed at a target directory, File Butler scans the files and subfolders, uses an open-weight model to determine a clean taxonomic folder structure, and safely moves everything into its proper place, saving you hours of manual sorting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ly41a7s008agvmm5i3x.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ly41a7s008agvmm5i3x.gif" alt=" " width="720" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;GitHub Repository:&lt;/em&gt; &lt;a href="https://github.com/ishanka-batawala/file-butler" rel="noopener noreferrer"&gt;File Butler&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;File Butler is built using pure Python (&lt;code&gt;pathlib&lt;/code&gt;, &lt;code&gt;shutil&lt;/code&gt;, and &lt;code&gt;argparse&lt;/code&gt;) and is powered by an open-weight model (&lt;code&gt;openai/gpt-oss-20b&lt;/code&gt;) via the &lt;strong&gt;Groq API&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Directory Scanner:&lt;/strong&gt; Inspects loose files and subfolders while bypassing hidden system files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Taxonomy Engine:&lt;/strong&gt; Sends a lightweight JSON map of the directory structure to the open-weight model to generate a logical categorization plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety &amp;amp; Safeguards:&lt;/strong&gt; Includes a dry-run mode (&lt;code&gt;--dry-run&lt;/code&gt;) to preview changes, an interactive human-in-the-loop confirmation prompt, and an edge-case handler that gracefully detects when a folder is already organized.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit Trail:&lt;/strong&gt; Automatically records all moved items and errors into a persistent &lt;code&gt;file_butler.log&lt;/code&gt; file.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Leveraging open-weight models through high-performance cloud inference (Groq) allowed File Butler to process directory structures instantly without requiring a heavy local GPU or proprietary vendor lock-in. Furthermore, using a lightweight open-weight model keeps inference costs virtually zero, ensuring the utility runs comfortably within free developer tier limits while remaining fast and adaptable.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Instead of wasting mental energy and precious weekend time dragging hundreds of loose files into custom folders one-by-one, File Butler organizes an entire cluttered directory in a single keystroke. It turns a dreaded weekly chore into a one-second background task, letting you lean back, relax, and channel your inner sloth.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
