A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
Go to file
2018-06-13 13:38:46 +08:00
adapters Improve: simple dns prefetch 2018-06-11 18:36:39 +08:00
constant Improve: simple dns prefetch 2018-06-11 18:36:39 +08:00
observable Init: first commit 🎉 2018-06-10 22:50:03 +08:00
proxy Fixed: https proxy doesn't works in Safari 2018-06-12 22:43:34 +08:00
rules Improve: simple dns prefetch 2018-06-11 18:36:39 +08:00
tunnel Fixed: remove proxys and rules then update config 2018-06-13 13:38:46 +08:00
.gitignore Init: first commit 🎉 2018-06-10 22:50:03 +08:00
Gopkg.lock Init: first commit 🎉 2018-06-10 22:50:03 +08:00
Gopkg.toml Init: first commit 🎉 2018-06-10 22:50:03 +08:00
LICENSE Initial commit 2018-06-10 22:28:14 +08:00
main.go Init: first commit 🎉 2018-06-10 22:50:03 +08:00
README.md Init: first commit 🎉 2018-06-10 22:50:03 +08:00

Clash

A rule based proxy in Go.

Features

  • HTTP/HTTPS and SOCKS proxy
  • Surge like configuration
  • GeoIP rule support

Install

You can build from source:

go get -u -v github.com/Dreamacro/clash

Requires Go >= 1.10.

Config

Configuration file at $HOME/.config/clash/config.ini

Below is a simple demo configuration file:

[General]
port = 7890
socks-port = 7891

[Proxy]
# name = ss, server, port, cipter, password
Proxy = ss, server, port, AEAD_CHACHA20_POLY1305, password

[Rule]
DOMAIN-SUFFIX,google.com,Proxy
DOMAIN-KEYWORD,google,Proxy
DOMAIN-SUFFIX,ad.com,REJECT
GEOIP,CN,DIRECT
FINAL,,Proxy

TODO

  • Complementing the necessary rule operators