<?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: Allen McCabe</title>
    <description>The latest articles on DEV Community by Allen McCabe (@fissible).</description>
    <link>https://dev.to/fissible</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%2F3860034%2F2f95815c-5427-4208-b943-fcba8aef7ac3.png</url>
      <title>DEV Community: Allen McCabe</title>
      <link>https://dev.to/fissible</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fissible"/>
    <language>en</language>
    <item>
      <title>Why I built a SQLite workbench in bash</title>
      <dc:creator>Allen McCabe</dc:creator>
      <pubDate>Fri, 03 Apr 2026 20:03:59 +0000</pubDate>
      <link>https://dev.to/fissible/why-i-built-a-sqlite-workbench-in-bash-3m5o</link>
      <guid>https://dev.to/fissible/why-i-built-a-sqlite-workbench-in-bash-3m5o</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;You SSH into a server. The SQLite database is right there — you can see it in the filesystem.&lt;br&gt;
Every GUI tool you own stops working. TablePlus, DB Browser, Beekeeper — all of them need a local connection. sqlite3 is available, but it's raw SQL with no browsing. litecli is read-biased and still needs installing.&lt;br&gt;
You need to look at some rows, update a field, check an index. You end up writing SELECT statements into a CLI, copying output into a notes file, writing UPDATE statements by hand.&lt;br&gt;
There's a better way.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;p&gt;ShellQL is built on shellframe — a TUI framework I wrote in bash. shellframe handles screen management, keyboard routing, dirty-region rendering, and component lifecycle. Writing a new application on top of it is closer to writing a React app than writing a bash script.&lt;/p&gt;

&lt;p&gt;The surprising parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mouse support in bash is real, and it's not that hard once you understand xterm escape sequences&lt;/li&gt;
&lt;li&gt;SQLite's &lt;code&gt;.schema&lt;/code&gt; output is parseable enough to build a schema browser without any external tools&lt;/li&gt;
&lt;li&gt;Tab management (multiple tables open simultaneously) required rethinking shellframe's focus model&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The SSH use case
&lt;/h2&gt;

&lt;p&gt;This is the thing that makes ShellQL different from every other SQLite tool.&lt;/p&gt;

&lt;p&gt;If the machine has bash and sqlite3, ShellQL runs. That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Production servers (read and write, with care)&lt;/li&gt;
&lt;li&gt;Docker containers&lt;/li&gt;
&lt;li&gt;CI environments for debugging test databases&lt;/li&gt;
&lt;li&gt;Remote dev boxes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No GUI install. No port forwarding. No pulling the file to your laptop and pushing it back.&lt;/p&gt;

&lt;p&gt;SSH in, run &lt;code&gt;shql /var/app/production.db&lt;/code&gt;, browse your data.&lt;/p&gt;




&lt;h2&gt;
  
  
  Full CRUD
&lt;/h2&gt;

&lt;p&gt;Most TUI database tools are read-only. ShellQL isn't.&lt;/p&gt;

&lt;p&gt;The record editor is a schema-aware form overlay. It shows column types and NOT NULL constraints. Tab through fields, edit values, press Enter to submit. Insert new rows the same way.&lt;/p&gt;

&lt;p&gt;Table creation uses a SQL query tab preloaded with a &lt;code&gt;CREATE TABLE&lt;/code&gt; template — you get full DDL control without a rigid GUI wizard.&lt;/p&gt;




&lt;h2&gt;
  
  
  Mouse support
&lt;/h2&gt;

&lt;p&gt;This one surprised people in early demos. Most bash tools are keyboard-only by design. ShellQL supports both.&lt;/p&gt;

&lt;p&gt;Keyboard navigation is fast once you learn it — the keybindings are shown at the bottom of every screen. Mouse works for everything else: clicking into tables, scrolling rows, selecting records.&lt;/p&gt;

&lt;p&gt;This matters for adoption. Not everyone who SSHes into a server is a power user.&lt;/p&gt;




&lt;h2&gt;
  
  
  Install and try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;fissible/tap/shellql
shql my.db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Tool page: &lt;a href="https://fissible.dev/tools/shellql" rel="noopener noreferrer"&gt;https://fissible.dev/tools/shellql&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/fissible/shellql" rel="noopener noreferrer"&gt;https://github.com/fissible/shellql&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>database</category>
      <category>tooling</category>
      <category>bash</category>
    </item>
  </channel>
</rss>
