Ruqires Node.js v4.0.0+, Surge for iOS Build 294+
node surge.js
Check the build/[currentTime]
folder
node surge.js --protect
Surge will mark this configuration file as protected, which prevents users from viewing or editing the configuration file. This is useful when you share your own proxy server with others.
Do not edit proxies.js
& rules.js
, create your own proxies.custom.js
& rules.custom.js
.
proxies[.custom].js
: .conf files to be generated and common proxies in the config filesrules[.custom].js
: rules
Surge supports custom proxy modules, such as Shadowsocks.