whatisgithub

What is egern?

clashconnectrules/egern — explained in plain English

Analysis updated 2026-05-18

69Audience · generalComplexity · 2/5LicenseSetup · easy

In one sentence

A ready-made YAML configuration for the Egern proxy app that routes traffic by region and service, with layered ad blocking and dedicated rules for streaming and AI tools.

Mindmap

mindmap
  root((Egern config))
    What it does
      Smart proxy routing
      Ad blocking
      Streaming unlock
    Tech stack
      YAML
      Egern app
    Use cases
      Regional node routing
      AI tool routing
      DNS ad blocking
    Rule layers
      Unbreak sites
      Ad rejection
      Streaming rules
      Fallback default
    Audience
      Egern app users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Import a preconfigured routing setup into Egern instead of building region and service rules from scratch.

USE CASE 2

Route AI tools like ChatGPT, Claude, and Gemini, or streaming services like Netflix and YouTube, through the most suitable proxy region automatically.

USE CASE 3

Block ads and trackers at the DNS level while keeping local network and China-based apps routed directly.

What is it built with?

YAML

How does it compare?

clashconnectrules/egern8bit64k/cronalyticsmr-r3b00t/cyber_rss
Stars696969
LanguagePython
Setup difficultyeasyeasyeasy
Complexity2/52/51/5
Audiencegeneralops devopsgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires the Egern app plus your own proxy subscription URL, the repo does not provide proxy servers.

MIT license, free to use, modify, and share including commercially, with attribution.

So what is it?

This repository contains a ready-made configuration file for Egern, a proxy app available on iOS and macOS. The configuration handles smart network routing: it decides which internet traffic goes through a proxy server and which connects directly, based on the type of content, the destination service, and the user's own subscription of proxy nodes. The setup file defines eight regional node groups (Hong Kong, Taiwan, Japan, Singapore, the United States, the United Kingdom, Korea, and Other) that are automatically populated from a subscription URL the user provides. Services like Netflix, Disney+, YouTube, TikTok, Bilibili, Telegram, Twitter, Apple, and Microsoft each get their own routing rule that picks from the most suitable region. AI tools including ChatGPT, Claude, Gemini, and Bing are grouped together and routed through US, Japan, or Singapore nodes by default. Ad blocking is layered: one layer uses AdGuard DNS to filter requests at the DNS level, and another rejects traffic matching a ruleset. DNS resolution uses a forwarding system that sends Chinese-domain queries to Alibaba, Tencent, and ByteDance servers, while international domains go through Cloudflare and Google DNS. Traffic rules are applied in a defined priority order with 15 layers: unblocking rules for sites that break behind proxies come first, then ad and tracker rejection, then Chinese apps, Apple services, AI tools, streaming, regional sources, social networks, and finally generic China and global rules, with local network traffic always going direct. Installing the configuration requires downloading a single YAML file and importing it into the Egern app. Only one field needs editing: replacing the placeholder subscription URL with a real one. The repository does not include any proxy servers, users supply their own subscription.

Copy-paste prompts

Prompt 1
Walk me through installing this Egern configuration and adding my own subscription URL.
Prompt 2
Explain how the 15-layer rule priority order in this config decides which traffic goes direct versus through a proxy.
Prompt 3
How would I add a new regional group or a custom service routing rule to this configuration?
Prompt 4
What does the double-layer ad blocking setup in this repo actually filter, and how does it differ from a single DNS blocklist?

Frequently asked questions

What is egern?

A ready-made YAML configuration for the Egern proxy app that routes traffic by region and service, with layered ad blocking and dedicated rules for streaming and AI tools.

What license does egern use?

MIT license, free to use, modify, and share including commercially, with attribution.

How hard is egern to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is egern for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.