<?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: young</title>
    <description>The latest articles on DEV Community by young (@youngluo).</description>
    <link>https://dev.to/youngluo</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%2F3469246%2F782f182d-5997-4e9b-9c50-14787c3257c8.jpg</url>
      <title>DEV Community: young</title>
      <link>https://dev.to/youngluo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/youngluo"/>
    <language>en</language>
    <item>
      <title>AnyProxy: Redirect Network Requests Without Server Modifications</title>
      <dc:creator>young</dc:creator>
      <pubDate>Sat, 30 Aug 2025 10:57:24 +0000</pubDate>
      <link>https://dev.to/youngluo/anyproxy-redirect-network-requests-without-server-modifications-8np</link>
      <guid>https://dev.to/youngluo/anyproxy-redirect-network-requests-without-server-modifications-8np</guid>
      <description>&lt;p&gt;&lt;strong&gt;AnyProxy&lt;/strong&gt; is a powerful Chrome extension that allows you to easily redirect network resources without server-side modifications. It provides a flexible way to forward any web requests to different destinations using regex-based rules.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Simple Configuration&lt;/strong&gt;: Set up forwarding rules with regex patterns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Server Changes&lt;/strong&gt;: Redirect requests without modifying the target. server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-time Updates&lt;/strong&gt;: Rules take effect immediately without browser restart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developer Friendly&lt;/strong&gt;: Perfect for local development and testing.
Resource Types: Support for JavaScript, CSS, and API.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Perfect for:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Frontend developers testing local changes.&lt;/li&gt;
&lt;li&gt;QA engineers comparing different versions.&lt;/li&gt;
&lt;li&gt;Debug and troubleshoot network issues.&lt;/li&gt;
&lt;li&gt;A/B testing without server deployment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;The proxy configuration consists of two parts in each array element:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First value corresponds to &lt;code&gt;regexFilter&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Second value corresponds to &lt;code&gt;regexSubstitution&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For detailed information, please refer to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#filter-matching-characters" rel="noopener noreferrer"&gt;regexFilter documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#type-Redirect" rel="noopener noreferrer"&gt;regexSubstitution documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The only difference is that capture group references in regexSubstitution are changed from &lt;code&gt;\1&lt;/code&gt;-&lt;code&gt;\9&lt;/code&gt; to &lt;code&gt;$1&lt;/code&gt;-&lt;code&gt;$9&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example Configuration
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"proxy"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://developer.mozilla.org/static/js/chunk.js"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:3000/js/proxy.js"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://developer.mozilla.org/(.*)/js/chunk.js"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:3000/$1/proxy.js"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://developer.mozilla.org/(.*)/js/(.*).js"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:3000/$1/$2.js"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Getting Started
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Install the AnyProxy extension from &lt;a href="https://chromewebstore.google.com/detail/anyproxy/ohanioloknnbcmcehplkilpkfpkfbihn" rel="noopener noreferrer"&gt;Chrome Web Store&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click the extension icon to open the configuration panel.&lt;/li&gt;
&lt;li&gt;Add your redirect rules and Effective directly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/vainjs/any-proxy" rel="noopener noreferrer"&gt;https://github.com/vainjs/any-proxy&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>chrome</category>
      <category>networking</category>
      <category>vue</category>
    </item>
    <item>
      <title>Easy configuration of Claude code environment variables</title>
      <dc:creator>young</dc:creator>
      <pubDate>Sat, 30 Aug 2025 10:48:43 +0000</pubDate>
      <link>https://dev.to/youngluo/claude-code-env-simplify-your-anthropic-api-environment-management-3mkk</link>
      <guid>https://dev.to/youngluo/claude-code-env-simplify-your-anthropic-api-environment-management-3mkk</guid>
      <description>&lt;p&gt;Claude Code Env (CCE) is a simple but powerful command-line tool that solves a common pain point for developers working with Anthropic’s Claude models and compatible APIs for Claude Code CLI.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem
&lt;/h3&gt;

&lt;p&gt;If you frequently switch between different Claude-compatible services (official API, third-party proxies, enterprise networks), you know the pain of manually editing environment variables like &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt; and &lt;code&gt;ANTHROPIC_AUTH_TOKEN&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Solution
&lt;/h3&gt;

&lt;p&gt;CCE provides a clean, intuitive way to manage multiple model configurations and switch between them with a single command:&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;# Add a new model configuration&lt;/span&gt;
cce add
&lt;span class="c"&gt;# Switch between models&lt;/span&gt;
cce use claude
cce use kimi-k2
&lt;span class="c"&gt;# View current configuration&lt;/span&gt;
cce status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multiple models&lt;/strong&gt;: Quickly switch between official APIs, proxy servers, and enterprise networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Environment variables&lt;/strong&gt;: Avoid frequently editing environment variables like &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt; and &lt;code&gt;ANTHROPIC_AUTH_TOKEN&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Team collaboration&lt;/strong&gt;: Easily share and sync configurations with your team.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How is it different from claude-code-router?
&lt;/h3&gt;

&lt;p&gt;Unlike &lt;code&gt;claude-code-router&lt;/code&gt;, CCE is not a proxy tool. It’s purely a client-side environment variable manager — it doesn’t intercept or forward requests, making it simpler and more secure.&lt;/p&gt;

&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pnpm add &lt;span class="nt"&gt;-g&lt;/span&gt; @vainjs/claude-code-env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Perfect for developers who work with multiple Claude-compatible services and want to avoid the hassle of manual environment management.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/vainjs/claude-code-env" rel="noopener noreferrer"&gt;https://github.com/vainjs/claude-code-env&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>npm</category>
      <category>claude</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
