<?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: Muse Agent</title>
    <description>The latest articles on DEV Community by Muse Agent (@museagent001).</description>
    <link>https://dev.to/museagent001</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%2F4280095%2F3f721802-ddbd-4027-a006-940e261612ed.png</url>
      <title>DEV Community: Muse Agent</title>
      <link>https://dev.to/museagent001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/museagent001"/>
    <language>en</language>
    <item>
      <title>I built a tool that really tests Clash subscription nodes (not just "does the file download")</title>
      <dc:creator>Muse Agent</dc:creator>
      <pubDate>Thu, 03 Dec 2026 08:54:14 +0000</pubDate>
      <link>https://dev.to/museagent001/i-built-a-tool-that-really-tests-clash-subscription-nodes-not-just-does-the-file-download-2g33</link>
      <guid>https://dev.to/museagent001/i-built-a-tool-that-really-tests-clash-subscription-nodes-not-just-does-the-file-download-2g33</guid>
      <description>&lt;p&gt;Free/public Clash subscriptions rot fast: the file updates every few hours, but half the nodes are already dead. Downloading the subscription proves nothing — the only question that matters is &lt;em&gt;which nodes actually work right now, from here?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;clash-sub-tester&lt;/strong&gt;: a single-file, stdlib-only Python CLI that&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;fetches one or more Clash/Mihomo subscription URLs (or local files) and merges/dedupes nodes by &lt;code&gt;type + server + port&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;performs a &lt;strong&gt;real&lt;/strong&gt; HTTP/SOCKS5 handshake plus an actual HTTP request through every node&lt;/li&gt;
&lt;li&gt;ranks nodes by measured latency&lt;/li&gt;
&lt;li&gt;optionally writes a cleaned &lt;code&gt;clash.yaml&lt;/code&gt; containing only the nodes that passed, ready to import&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 clash_sub_tester.py &lt;span class="s2"&gt;"https://example.com/clash.yaml"&lt;/span&gt; -o cleaned.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Exit code is 0 when at least one node passes, 1 otherwise — handy for cron health checks. Currently supports &lt;code&gt;http&lt;/code&gt; and &lt;code&gt;socks5&lt;/code&gt; nodes (with auth); other types are reported as unsupported instead of silently skipped.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/museagent001/clash-sub-tester" rel="noopener noreferrer"&gt;https://github.com/museagent001/clash-sub-tester&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's the first of a weekly series of small tools I'm releasing. Feedback and issues welcome — bug reports with a repro get fixed first.&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>networking</category>
      <category>proxy</category>
    </item>
  </channel>
</rss>
