<?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: sadorect</title>
    <description>The latest articles on DEV Community by sadorect (@sadorect).</description>
    <link>https://dev.to/sadorect</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F264707%2F034da508-3bce-48fd-89ee-b8344b3dddbb.jpeg</url>
      <title>DEV Community: sadorect</title>
      <link>https://dev.to/sadorect</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sadorect"/>
    <language>en</language>
    <item>
      <title>I built `ollama-sgpt`, a local-first ShellGPT alternative for Ollama.</title>
      <dc:creator>sadorect</dc:creator>
      <pubDate>Wed, 01 Apr 2026 18:52:56 +0000</pubDate>
      <link>https://dev.to/sadorect/i-built-ollama-sgpt-a-local-first-shellgpt-alternative-for-ollama-4ne6</link>
      <guid>https://dev.to/sadorect/i-built-ollama-sgpt-a-local-first-shellgpt-alternative-for-ollama-4ne6</guid>
      <description>&lt;p&gt;The goal was simple: I wanted AI help from the terminal without defaulting to a hosted API, and I wanted the shell workflow to feel like a real tool instead of a novelty.&lt;/p&gt;

&lt;p&gt;So far it supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;shell mode&lt;/li&gt;
&lt;li&gt;code mode&lt;/li&gt;
&lt;li&gt;explain mode&lt;/li&gt;
&lt;li&gt;saved sessions&lt;/li&gt;
&lt;li&gt;file context&lt;/li&gt;
&lt;li&gt;local cache&lt;/li&gt;
&lt;li&gt;reusable prompt roles&lt;/li&gt;
&lt;li&gt;guarded command execution&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example usage:&lt;/p&gt;

&lt;p&gt;ollama-sgpt --shell "list all Python files recursively."&lt;br&gt;
ollama-sgpt --code "write a Python function to reverse a string"&lt;br&gt;
ollama-sgpt --context app.py "review this code"&lt;/p&gt;

&lt;p&gt;Install:&lt;br&gt;
pipx install git+&lt;a href="https://github.com/sadorect/ollama-sgpt.git" rel="noopener noreferrer"&gt;https://github.com/sadorect/ollama-sgpt.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Repo:&lt;br&gt;
&lt;a href="https://github.com/sadorect/ollama-sgpt" rel="noopener noreferrer"&gt;https://github.com/sadorect/ollama-sgpt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it, I'd love feedback on the shell UX, PowerShell behavior, and whether the local-first workflow is actually compelling in day-to-day use.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>cli</category>
      <category>python</category>
    </item>
  </channel>
</rss>
