<?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: An Pham</title>
    <description>The latest articles on DEV Community by An Pham (@ancs21).</description>
    <link>https://dev.to/ancs21</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%2F84939%2F612159f1-14ac-4a49-9ea1-c79708e85fed.png</url>
      <title>DEV Community: An Pham</title>
      <link>https://dev.to/ancs21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ancs21"/>
    <language>en</language>
    <item>
      <title>Your AI agent can't fetch behind logins. I built a &lt;400kb fix in Zig.</title>
      <dc:creator>An Pham</dc:creator>
      <pubDate>Sun, 29 Mar 2026 02:34:36 +0000</pubDate>
      <link>https://dev.to/ancs21/your-ai-agent-cant-fetch-behind-logins-i-built-a-400kb-fix-in-zig-4d31</link>
      <guid>https://dev.to/ancs21/your-ai-agent-cant-fetch-behind-logins-i-built-a-400kb-fix-in-zig-4d31</guid>
      <description>&lt;p&gt;Claude Code has WebFetch. Every AI coding agent has some way to grab a webpage.&lt;/p&gt;

&lt;p&gt;They all hit the same wall: auth.&lt;/p&gt;

&lt;p&gt;Try fetching a Medium article. A Facebook post. A private Substack. Anything behind Cloudflare. The agent gets a login page, a CAPTCHA, or nothing — and makes up the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  What playpanda does
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;playpanda https://medium.com/@someone/private-post
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You log in once. Cookies get saved. After that, fetching just works — from an agent, a script, or the terminal.&lt;/p&gt;

&lt;p&gt;The output is markdown with the junk stripped out. No nav bars, no cookie banners, no ads, no image CDN URLs. Just the content.&lt;/p&gt;

&lt;h2&gt;
  
  
  How agents can use it
&lt;/h2&gt;

&lt;p&gt;Anything that can shell out can use it:&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="c"&gt;# Replace WebFetch in Claude Code&lt;/span&gt;
playpanda https://docs.example.com/private-api

&lt;span class="c"&gt;# Fetch multiple pages at once&lt;/span&gt;
playpanda https://url1.com,https://url2.com,https://url3.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How fetching works
&lt;/h2&gt;

&lt;p&gt;It tries the fastest method first and escalates when something gets in the way:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Speed&lt;/th&gt;
&lt;th&gt;When it kicks in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HTTP fetch&lt;/td&gt;
&lt;td&gt;~200ms&lt;/td&gt;
&lt;td&gt;Default, works for most pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JS rendering&lt;/td&gt;
&lt;td&gt;~1.5s&lt;/td&gt;
&lt;td&gt;Page needs JavaScript to load&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Real browser + anti-detection&lt;/td&gt;
&lt;td&gt;~6s&lt;/td&gt;
&lt;td&gt;Site actively blocks bots&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The agent doesn't need to know which tier ran. It just gets markdown back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Size
&lt;/h2&gt;

&lt;p&gt;Single Zig binary, under 400kb.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;One-liner:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/ancs21/playpanda/main/scripts/install.sh | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As an agent skill:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add ancs21/playpanda
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From source (requires Zig 0.15+):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/ancs21/playpanda.git
&lt;span class="nb"&gt;cd &lt;/span&gt;playpanda
zig build &lt;span class="nt"&gt;-Doptimize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;.ReleaseFast
&lt;span class="nb"&gt;cp &lt;/span&gt;zig-out/bin/playpanda ~/.local/bin/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GitHub: &lt;a href="https://github.com/ancs21/playpanda" rel="noopener noreferrer"&gt;https://github.com/ancs21/playpanda&lt;/a&gt; (Apache 2.0 license)&lt;/p&gt;

</description>
      <category>zig</category>
      <category>opensource</category>
      <category>cli</category>
      <category>ai</category>
    </item>
    <item>
      <title>TIL: Croc - Securely transfer files via CLI</title>
      <dc:creator>An Pham</dc:creator>
      <pubDate>Tue, 21 Dec 2021 15:09:31 +0000</pubDate>
      <link>https://dev.to/ancs21/til-croc-securely-transfer-files-via-cli-1ihm</link>
      <guid>https://dev.to/ancs21/til-croc-securely-transfer-files-via-cli-1ihm</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/schollz/croc"&gt;croc&lt;/a&gt; is a tool that allows any two computers to simply and securely transfer files and folders.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;macOS
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install croc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Ubuntu
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl https://getcroc.schollz.com | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Window
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;scoop install croc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Usage
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Send file or folder
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;croc send [file(s)-or-folder]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Receive the file
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;croc [code from output]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;More feature, please visit to &lt;a href="https://github.com/schollz/croc"&gt;https://github.com/schollz/croc&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>TLDR: Database Naming</title>
      <dc:creator>An Pham</dc:creator>
      <pubDate>Mon, 16 Aug 2021 15:16:27 +0000</pubDate>
      <link>https://dev.to/ancs21/tldr-database-naming-36fa</link>
      <guid>https://dev.to/ancs21/tldr-database-naming-36fa</guid>
      <description>&lt;p&gt;&lt;em&gt;Credit: Photo by Tobias Fischer on Unsplash&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Table names should be plural (ex: &lt;code&gt;users&lt;/code&gt;, &lt;code&gt;customers&lt;/code&gt;,...)&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;underscore_names&lt;/code&gt; (ex: &lt;code&gt;user_id&lt;/code&gt;, &lt;code&gt;user_role&lt;/code&gt;,...)&lt;/li&gt;
&lt;li&gt;Don't name primary key column &lt;code&gt;id&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Don't make column names unclear (ex: &lt;code&gt;u_role&lt;/code&gt;,...)&lt;/li&gt;
&lt;li&gt;Name foreign key columns the same as the columns they refer to&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>database</category>
      <category>naming</category>
    </item>
  </channel>
</rss>
