modified: spffq.py
[GalaxyCodeBases.git] / etc / Surge / ss-module.md
blob85a2d66b820fb2931d0d8f570325e6f21c2e81ee
1 # Surge
3 Surge is a web developer tool and proxy utility for iOS 9. This app is designed for developers and may require some level of professional knowledge to use.
5 * <http://surge.run/manual/>
6 * Trello: <https://trello.com/b/qy4sDvxg/surge>
8 ## SSEncrypt.module of shadowsocks
10 <http://surge.run/config-example/ss-module.conf>
12 https://github.com/galaxysd/GalaxyCodeBases/raw/master/etc/Surge/SSEncrypt.module
14 ### Sources
16 * <https://twitter.com/lovegoodbest/status/649524156589969408>
18 存档备用。<https://www.dropbox.com/s/v94zjlx2w2yd4za/SSEncrypt.module?dl=0>  
19 SHA1:400603009de8356d66631b166e5b95b95cdf0cf6
21 https://github.com/ky0ncheng/gfvvlist/tree/master/surge
23 * [如何配置surge在iOS中使用shadowsocks科学上网](http://ideafoc.us/2015/10/%E5%A6%82%E4%BD%95%E9%85%8D%E7%BD%AEsurge%E5%9C%A8ios%E4%B8%AD%E4%BD%BF%E7%94%A8shadowsocks%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91/)
25 <https://dl.dropboxusercontent.com/u/356582699/SSEncrypt.module>
27 * [iOS科学上网神器 Surge+SS配置](http://www.jianshu.com/p/41cdb6f71555)
29 <https://dl.dropboxusercontent.com/u/760466/SSEncrypt.module>
31 ### conf examples
33 ````ini
34 [Proxy]
35 Proxy1 = http,$IP,$PORT,$USERNAME,$PASSWORD
36 Proxy2 = https,$IP,$PORT,$USERNAME,$PASSWORD
37 Proxy3 = socks,$IP,$PORT
38 Proxy4 = custom,$IP,$PORT,$METHOD,$PASSWORD,$MODULE_URL
39 ````
41 ````ini
42 # 主要用于解决 Google.cn 跳转问题,目前该配置项没有 UI。样例配置如下:
43 [URL Rewrite]
44 ^http://www.google.cn http://www.google.com
45 ````
47 每行两个参数,以空格分隔,第一个是匹配用的正则表达式,第二个是替换的内容。正则的输入字符串是完整的 URL(包含 http://),输出的字符串也必须以 http:// 开头。该功能只对非 https 请求有效。
49 ---
51 From <https://github.com/kongwy/Surge_Custom_Configuration>:
53 ## What is Surge?
54 [Surge](http://surge.run/) is a web developer tool and proxy utility for iOS 9. It can also be used to unlock some special web blocking in some special countries. It is [available on App Store now](https://itunes.apple.com/us/app/surge-web-developer-tool-proxy/id1040100637?mt=8).
56 ## How to config Surge?
57 Just see on its [offical manual](http://surge.run/manual/). More community support can be found [here](https://surge.tips/).
59 ## Where is the `SSEncrypt.module` come from?
60 It's a custom ShadowSocks module for Surge firstly provided by [Surge official website](http://surge.run/). But as Surge come out on App Store, the auther stop to host `SSEncrypt.module`. I download this copy from [the gist shared by @jason5ng32](https://gist.github.com/jason5ng32/648597df6ca7da5aeb41) and checked the md5 and sha1 value.
62 ````
63   MD5: f7653207090ce3389115e9c88541afe0
64 SHA-1: 400603009de8356d66631b166e5b95b95cdf0cf6
65 ````
67 ## Why there's no proxy config?
68 Finding a stable proxy service is your own business.
70 ## Why need this repository?
71 Because I need somewhere to track my config file changes and this is the only place.