Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vernette/plain2srs
https://github.com/vernette/plain2srs
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vernette/plain2srs
- Owner: vernette
- Created: 2024-10-19T13:08:15.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-01-18T11:14:04.000Z (12 days ago)
- Last Synced: 2025-01-18T12:22:28.678Z (12 days ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# plain2srs
## Installation
```bash
git clone [email protected]:vernette/plain2srs.git
cd plain2srs
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```## Usage
Print the help message:
```bash
./plain2srs.py -h
```Generate JSON file from the antifilter list:
```bash
./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```bash
./plain2srs.py -i domains.txt -o output_filename -c
```