Add custom domain monitoring and update documentation
This commit is contained in:
11
README.md
11
README.md
@@ -10,6 +10,7 @@ Adguard Monitor is designed for openclaw, which should usually NEVER make a requ
|
||||
- **Multi-Client Support**: Monitor specific IP addresses and receive nicknamed notifications (e.g., "BLOCKED: My Laptop").
|
||||
- **Strict Configuration**: Fails fast if environment variables are missing.
|
||||
- **Home Assistant Notifications**: Native mobile push messages for blocked queries.
|
||||
- **Custom Domain Monitoring**: Monitor specific domains using [list.txt](list.txt) (wildcards supported).
|
||||
- **Structured Logging**: UTF-8 encoded logging for unicode emoji support.
|
||||
|
||||
## Setup
|
||||
@@ -24,7 +25,15 @@ Adguard Monitor is designed for openclaw, which should usually NEVER make a requ
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
4. **Run the monitor**:
|
||||
4. **Custom Domains (Optional)**:
|
||||
Copy [list.example.txt](list.example.txt) to `list.txt` and add domains:
|
||||
```bash
|
||||
cp list.example.txt list.txt
|
||||
```
|
||||
- Lines starting with `!` are **negative filters** (they will be ignored).
|
||||
- Wildcards like `*.example.com` are supported.
|
||||
|
||||
5. **Run the monitor**:
|
||||
```bash
|
||||
python monitor.py --interval 15
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user