Merged changes from 1.8.2.
This is a fork with minor feature added. All credits go to the original authors.
shadowsocks/ShadowsocksX-NG doesn't support Alfred control. So I copy code from its obsolete fork yichengchen/ShadowsocksX-R to euip the app with HTTP API, enabling Alfred Control. You may want to download the Alfred workflow from yangziy/Alfred_ShadowsocksController.
With the HTTP API you could also control the app with curl in terminal.
The HTTP API enables users to do the following:
- Check current status (on/off)
- Turn on/off or toggle the client
- Get server list
- Add new server
- Modify server
- Delete server
- Get current server
- Select server
- Get current mode
- Switch mode
For usage, consult HTTP API Specification .