Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/breakwa11/GFWList2PAC
GFWList2PAC
https://github.com/breakwa11/GFWList2PAC
Last synced: 3 months ago
JSON representation
GFWList2PAC
- Host: GitHub
- URL: https://github.com/breakwa11/GFWList2PAC
- Owner: breakwa11
- License: mit
- Created: 2014-08-14T05:13:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T12:58:01.000Z (over 8 years ago)
- Last Synced: 2024-05-23T04:44:33.884Z (6 months ago)
- Language: Python
- Size: 246 KB
- Stars: 238
- Watchers: 19
- Forks: 122
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GFWList2PAC
===========Generate O(1) PAC file from gfwlist.
### Usage
usage: main.py [-h] [-i GFWLIST] -f PAC -p PROXY [--user-rule USER_RULE]
optional arguments:
-h, --help show this help message and exit
-i GFWLIST, --input GFWLIST
path to gfwlist
-f PAC, --file PAC path to output pac
-p PROXY, --proxy PROXY
the proxy parameter in the pac file, for example,
"SOCKS5 127.0.0.1:1080;"
--user-rule USER_RULE
user rule file, which will be appended to gfwlist### Example
main.py -i gfwlist.txt -f proxy.pac -p "PROXY 127.0.0.1:8087"
you can download gfwlist.txt yourself
you can add a custom list into gfwlist2pac/resources/custom.txt
and add a ban list which you want a direct connection into gfwlist2pac\resources\ban.txt
fork from [clowwindy](https://github.com/clowwindy/gfwlist2pac)
```
contect mmgac001[at]gmail.com or comit issues if you have any idea
```