git clone [email protected]:vernette/plain2srs.git
cd plain2srs
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Print the help message:
./plain2srs.py -h
Generate JSON file from the antifilter list:
./plain2srs.py -o output_filename
Generate JSON file and compile an SRS file from a plain text file:
Note
sing-box must be in the path to compile the SRS file
./plain2srs.py -i domains.txt -o output_filename -c