https://github.com/airen3339/clashx

https://github.com/airen3339/clashx

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: airen3339
  • License: agpl-3.0
  • Language: Swift
  • Default Branch: master
  • Size: 27.4 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Clash
ClashX

A rule based proxy For Mac base on Clash.

ClashX 旨在提供一个简单轻量化的代理客户端,如果需要更多的定制化,可以考虑使用 CFW Mac 版

Features

  • HTTP/HTTPS and SOCKS protocol
  • Surge like configuration
  • GeoIP rule support
  • Support Vmess/Shadowsocks/Socks5/Trojan
  • Support for Netfilter TCP redirect

Install

You can download from Release page

Download ClashX Pro With enhanced mode and Native Apple Silicon support at AppCenter for free permanently.

Build

  • Make sure have python3 and golang installed in your computer.

  • Install Golang ``` brew install golang

or download from https://golang.org ```

  • Download deps bash install_dependency.sh

  • 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.

Checkout Clash or SS-Rule-Snippet for Clash or lancellc's gitbook for more detail.

Advance Config

修改代理端口号

  1. 在菜单栏->配置->更多设置中修改对应端口号

Change your status menu icon

Place your icon file in the ~/.config/clash/menuImage.png then restart ClashX

Change default system ignore list.

  • Change by menu -> Config -> Setting -> Bypass proxy settings for these Hosts & Domains

URL Schemes.

  • Using url scheme to import remote config.

clash://install-config?url=http%3A%2F%2Fexample.com&name=example - Using url scheme to reload current config.

clash://update-config

Get process name

You can add the follow config in your config file, and set your proxy mode to rule. Then open the log via help menu in ClashX. script: code: | def main(ctx, metadata): # Log ProcessName ctx.log('Process Name: ' + ctx.resolve_process_name(metadata)) return 'DIRECT'

FAQ

  • Q: How to get shell command with external IP?
    A: Click the clashX menu icon and then press Option-Command-C

关闭ClashX的通知

  1. 在系统设置中关闭 clashx 的推送权限
  2. 在菜单栏->配置->更多设置中选中减少通知

Note:强烈不推荐这么做,这可能导致clashx的很多重要错误提醒无法显示。

全局快捷键

Owner

  • Login: airen3339
  • Kind: user

GitHub Events

Total
Last Year

Dependencies

.github/workflows/main.yml actions
  • actions/checkout v3 composite
  • actions/setup-go v3 composite
  • actions/setup-node v3 composite
  • maxim-lobanov/setup-xcode v1 composite
  • softprops/action-gh-release v1 composite
Podfile cocoapods
  • Alamofire ~> 5.0
  • FlexibleDiff >= 0
  • GzipSwift >= 0
  • LetsMove >= 0
  • RxCocoa >= 0
  • RxSwift >= 0
  • Sparkle ~> 1.0
  • Starscream = 3.1.1
  • SwiftyJSON >= 0
  • WebViewJavascriptBridge >= 0
Podfile.lock cocoapods
  • Alamofire 5.6.4
  • AppCenter 5.0.1
  • CocoaLumberjack 3.8.0
  • FlexibleDiff 0.0.9
  • GzipSwift 5.1.1
  • LetsMove 1.25
  • RxCocoa 6.5.0
  • RxRelay 6.5.0
  • RxSwift 6.5.0
  • Sparkle 1.27.1
  • Starscream 3.1.1
  • SwiftyJSON 5.0.1
  • WebViewJavascriptBridge 6.0.3
ClashX/goClash/go.mod go
  • github.com/Dreamacro/clash v1.13.1-0.20230228052842-f78a7cb2cbe3
  • github.com/ajg/form v1.5.1
  • github.com/go-chi/chi/v5 v5.0.8
  • github.com/go-chi/cors v1.2.1
  • github.com/go-chi/render v1.0.2
  • github.com/gofrs/uuid v4.4.0+incompatible
  • github.com/google/go-cmp v0.5.9
  • github.com/gorilla/websocket v1.5.0
  • github.com/insomniacslk/dhcp v0.0.0-20221215072855-de60144f33f8
  • github.com/josharian/native v1.1.0
  • github.com/mdlayher/netlink v1.7.2-0.20221213171556-9881fafed8c7
  • github.com/mdlayher/socket v0.4.0
  • github.com/miekg/dns v1.1.50
  • github.com/oschwald/geoip2-golang v1.8.0
  • github.com/oschwald/maxminddb-golang v1.10.0
  • github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
  • github.com/samber/lo v1.37.0
  • github.com/sirupsen/logrus v1.9.0
  • github.com/u-root/uio v0.0.0-20221213070652-c3537552635f
  • go.etcd.io/bbolt v1.3.7
  • go.uber.org/atomic v1.10.0
  • golang.org/x/crypto v0.6.0
  • golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17
  • golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
  • golang.org/x/net v0.7.0
  • golang.org/x/sync v0.1.0
  • golang.org/x/sys v0.5.0
  • golang.org/x/text v0.7.0
  • golang.org/x/tools v0.1.12
  • gopkg.in/yaml.v3 v3.0.1
ClashX/goClash/go.sum go
  • 112 dependencies
Gemfile rubygems
  • cocoapods >= 0
  • fastlane >= 0
Gemfile.lock rubygems
  • 116 dependencies