Repository: paradiseduo/ClashXR
Branch: remove
Commit: 5a2719a396df
Files: 4
Total size: 5.7 KB
Directory structure:
gitextract_eyip9asm/
├── .bartycrouch.toml
├── .gitattributes
├── .travis.yml.backup
└── README.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .bartycrouch.toml
================================================
[update]
tasks = ["interfaces", "code", "normalize"]
[update.interfaces]
path = "./ClashX"
defaultToBase = false
ignoreEmptyStrings = false
unstripped = false
[update.code]
defaultToKeys = false
additive = false
unstripped = false
[update.transform]
codePath = "./ClashX"
localizablePath = "./ClashX"
transformer = "foundation"
supportedLanguageEnumPath = "./ClashX"
typeName = "BartyCrouch"
translateMethodName = "translate"
[update.normalize]
path = "./ClashX"
sourceLocale = "zh-Hans"
harmonizeWithSource = true
sortByKeys = true
[lint]
path = "./ClashX"
duplicateKeys = true
emptyValues = true
================================================
FILE: .gitattributes
================================================
*.md linguist-language=Swift
*.yml linguist-language=Swift
*.backup linguist-language=Swift
*.toml linguist-language=Swift
================================================
FILE: .travis.yml.backup
================================================
language: objective-c
osx_image: xcode11
node_js: 10
before_install:
- openssl aes-256-cbc -K $encrypted_a43c9d4ca4d4_key -iv $encrypted_a43c9d4ca4d4_iv
-in dist.p12.enc -out scripts/travis/dist.p12 -d
- security create-keychain -p mysecretpassword build.keychain
- security default-keychain -s build.keychain
- security unlock-keychain -p mysecretpassword build.keychain
- security set-keychain-settings -t 3600 -u build.keychain
- security import ./scripts/travis/dist.p12 -k build.keychain -T /usr/bin/codesign
-P ""
- 'security set-key-partition-list -S apple-tool:,apple: -s -k mysecretpassword build.keychain'
install:
- bash install_dependency.sh
- cd $TRAVIS_BUILD_DIR/ClashX
- echo `go version`
- brew update
- brew upgrade go || true
- echo `go version`
- python3 build_clash.py
- cd $TRAVIS_BUILD_DIR
script:
- 'set -o pipefail && xcodebuild -workspace ClashX.xcworkspace -scheme "ClashX" build CODE_SIGN_IDENTITY="Developer
ID Application: Fuzhou West2Online Internet Inc. (MEWHFZ92DY)"|xcpretty'
- echo "Checking SMJobBless Vailded"
- build_dir=`xcodebuild -workspace ClashX.xcworkspace -scheme "ClashX" -showBuildSettings -configuration Debug | grep -m 1 "TARGET_BUILD_DIR" | grep -oEi "\/.*"`
- build_dir=${build_dir}"/ClashX.app"
- python SMJobBlessUtil.py check ${build_dir}
- echo "Check completed"
before_deploy:
- gem install gym
- bundle install
- fastlane gym -s ClashX
- npm install --global create-dmg
- create-dmg ClashX.app
- mv ClashX*.dmg ClashX.dmg
- fastlane run notarize package:"./ClashX.dmg" bundle_id:"com.west2online.ClashX"
deploy:
provider: releases
prerelease: false
skip_cleanup: true
api_key:
secure: YKO96FhN1JgvM+EiyciNQCu8nk/t87txxCEA5//XuKGKh+75tVyB+udmEL4sQL2R01vuShO5WwXLRulHkDsVFjNgvTGa64cdG6SMNORMI+mEuBW2L/RPtkaK1GAY+l+iGkH9i1Ng0SaDqL8xSc5rkqicdUV9NSDrg3k+Ck0pu/DvHgwHAmIjN0JG73TuQKfENDlwoa/uj6ztXpxGR30vgobqaex8wwGV+9fs8Jfbh3cO/79iGXweRhJptvvW0EAF1vV95KyEaUYtHP+7NYVVapOCWwek2irdn1HBm4pRib/0bHh/wFQgnI9OoQbKYuKNc6xRnt9h0wWh+SSIwRA1X7jiZTipli+7G2HGXpvW0r8jMskhYxqjcRH5EWB8rGXoiy/16GUuY1SK1ID/oW9nSh5ws6quaRBmpXGyJcoOUq9STsF+HVOF1DOX4qRt8B7049ytdKIRNe3QGmOlc8w3Nyi5y/v9CHWmVWRrKvzJ8qXP/+JJlFIsXhZR+TYqosiX2ZoKpanLv1RFFbU5FxqdaQapQX465FlpoD/6Qhv+2WLmLBgI1+ewR6g/wjLus6unVu4C3ztYov/9Y7OhYlfD+CqdzKOn+98gGAPRV92MfFh8Qa6rXjsVbP4dC09zKze/+OZtCXr36C5M40MYIChVuSUlDSG4IhElylboSYvQ/wQ=
file:
- ClashX.dmg
on:
repo: yichengchen/clashX
branch: master
tags: true
prerelease: true
after_deploy:
- 'curl -u yichengchen:$GitHub_Token -X POST https://api.github.com/repos/yichengchen/clashX/pages/builds -H "Accept: application/vnd.github.mister-fantastic-preview+json"'
- fastlane run upload_symbols_to_crashlytics
================================================
FILE: README.md
================================================
<h1 align="center">
<img src="https://github.com/Dreamacro/clash/raw/master/docs/logo.png" alt="Clash" width="200">
<br>
ClashXR
<br>
</h1>
## Since the native clash core already supports the SSR protocol, this project will stop maintenance from now on, thank you for your support all the way ❤️
A rule based proxy For Mac base on [Clashr](https://github.com/paradiseduo/clashr)(support chacha20).
Based on [clashX](https://github.com/yichengchen/clashX)
You can do [this](https://github.com/paradiseduo/subweb) to use ClashXR.
## Features
- HTTP/HTTPS and SOCKS protocol
- Surge like configuration
- GeoIP rule support
- Support Vmess/Shadowsocks/ShadowsocksR/Socks5/Torjan
- Support for Netfilter TCP redirect
## Install
You can download from [release](https://github.com/paradiseduo/ClashXR/releases) page, or use homebrew
```
brew cask install clashxr
```
## Build
- Make sure have python3 and golang installed in your computer.
- Download deps
```
bash install_dependency.sh
```
- Build
- Signature check
```shell
./SMJobBlessUtil.py setreq /path/to/ClashXR.app ClashXR/Info.plist ProxyConfigHelper/Helper-Info.plist
```
- Build and run.
## Config
The default configuration directory is `$HOME/.config/clash`
The default name of the configuration file is `config.yaml`. You can use your custom config name and switch config in menu `Config` section.
To Change the ports of ClashX, you need to modify the `config.yaml` file. The `General` section settings in your custom config file would be ignored.
Checkout [Clash](https://github.com/Dreamacro/clash) or [SS-Rule-Snippet for Clash](https://github.com/Hackl0us/SS-Rule-Snippet/blob/master/LAZY_RULES/clash.yaml) for more detail.
## Advance Config
### Change your status menu icon
Place your icon file in the `~/.config/clash/menuImage.png` then restart ClashX
### Change default system ignore list.
- Download sample plist in the [Here](proxyIgnoreList.plist) and place in the
```
~/.config/clash/proxyIgnoreList.plist
```
- Edit the `proxyIgnoreList.plist` to set up your own proxy ignore list
### Use url scheme to import remote config.
- Using url scheme describe below
```
clash://install-config?url=http%3A%2F%2Fexample.com&name=example
```
## Star Trend
[](https://starchart.cc/paradiseduo/ClashXR)
gitextract_eyip9asm/ ├── .bartycrouch.toml ├── .gitattributes ├── .travis.yml.backup └── README.md
Condensed preview — 4 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6K chars).
[
{
"path": ".bartycrouch.toml",
"chars": 603,
"preview": "[update]\ntasks = [\"interfaces\", \"code\", \"normalize\"]\n\n[update.interfaces]\npath = \"./ClashX\"\ndefaultToBase = false\nignore"
},
{
"path": ".gitattributes",
"chars": 122,
"preview": "*.md linguist-language=Swift\n*.yml linguist-language=Swift\n*.backup linguist-language=Swift\n*.toml linguist-language=Swi"
},
{
"path": ".travis.yml.backup",
"chars": 2697,
"preview": "language: objective-c\nosx_image: xcode11\nnode_js: 10\nbefore_install:\n- openssl aes-256-cbc -K $encrypted_a43c9d4ca4d4_ke"
},
{
"path": "README.md",
"chars": 2398,
"preview": "<h1 align=\"center\">\n <img src=\"https://github.com/Dreamacro/clash/raw/master/docs/logo.png\" alt=\"Clash\" width=\"200\">\n "
}
]
About this extraction
This page contains the full source code of the paradiseduo/ClashXR GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 4 files (5.7 KB), approximately 2.1k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.