Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/R0uter/ss.conf-for-surge
Generate ss.conf for Surge
https://github.com/R0uter/ss.conf-for-surge
Last synced: 13 days ago
JSON representation
Generate ss.conf for Surge
- Host: GitHub
- URL: https://github.com/R0uter/ss.conf-for-surge
- Owner: R0uter
- Created: 2015-11-03T08:41:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T01:57:46.000Z (4 months ago)
- Last Synced: 2024-08-01T17:37:25.647Z (3 months ago)
- Language: Python
- Homepage: https://www.logcg.com/archives/1355.html
- Size: 4.76 MB
- Stars: 477
- Watchers: 33
- Forks: 156
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ss.conf for Surge!
[![Build Status](https://travis-ci.org/R0uter/ss.conf-for-surge.svg?branch=master)](https://travis-ci.org/R0uter/ss.conf-for-surge)This is a conf file for Surge!
In order to use Shadowsocks in Surge.
> `ssconf.py` can generate both gfwlist and whitelist, and auto update,
whitelist is too long for iOS now, only Surge Mac can read.## Proxy list
Proxy list is generate from gfwlist, all marked with `force-remote-dns`.
White list come from [GFW Domain White List](https://goo.gl/tBixve).
## Anti ads
Ad's list come from [lhie1/Rules](https://github.com/lhie1/Rules).
## How to use
**Switch to `gh-pages` branch to [download latest .conf file](https://r0uter.github.io/ss.conf-for-surge/)!**
Just use [`gfwlist.conf` or `whitelist.conf` or `geoip_whitelist`](https://R0uter.github.io/ss.conf-for-surge/) directly. Both in `configFileHere` directory!
> Or use `ssconf.py` to generate config file.
This config file has two proxy groups, `Proxy` group is your proxy, `ChinaProxy` allow you choose proxy or direct to china domain, if proxy too, you will engage almost globally proxy.
### Note:
Make sure edit `ServerConfig.txt` first to add your server infomation!
change your ss server config, like server ip, server port, and your password.
```ini
[Proxy]
💊DIRECT = direct
ðŸ‡ðŸ‡°HK = custom,your_server_here,your_port_here,aes-256-cfb,your_password_here,https://github.com/R0uter/ss.conf-for-surge/raw/master/ss.module
🇸🇬SG = custom,your_server_here,your_port_here,aes-256-cfb,your_password_here,https://github.com/R0uter/ss.conf-for-surge/raw/master/ss.module
🇯🇵JP = custom,your_server_here,your_port_here,aes-256-cfb,your_password_here,https://github.com/R0uter/ss.conf-for-surge/raw/master/ss.module
🇺🇸US = custom,your_server_here,your_port_here,aes-256-cfb,your_password_here,https://github.com/R0uter/ss.conf-for-surge/raw/master/ss.module
```
Then you need to edit proxy group for auto speed test function.```ini
[Proxy Group]
ChinaProxy = select,💊DIRECT,ðŸ‡ðŸ‡°HK,🇸🇬SG,🇯🇵JP,🇺🇸US
Proxy = select,💊DIRECT,@Auto,ðŸ‡ðŸ‡°HK,🇸🇬SG,🇯🇵JP,🇺🇸US
@Auto = url-test,ðŸ‡ðŸ‡°HK,🇸🇬SG,🇯🇵JP,🇺🇸US,url=http://www.gstatic.com/generate_204
```For `geoip_whitelist`, current in beta, it is much lighter than standerd version of whitelist, iOS device loadable, but may cause dns leak potentially.
## License (MIT)
The MIT License (MIT)
Copyright (c) 2015-2016 R0uter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.