feat: add SearX search plugin and alert backend
Add standalone !searx command for on-demand SearXNG search (top 3 results). Add SearX as a third backend (sx) to the alert plugin for keyword monitoring. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -341,12 +341,20 @@ No API credentials needed (uses public GQL endpoint).
|
||||
!alert check <name> # Force-poll now
|
||||
```
|
||||
|
||||
Searches keywords across YouTube (InnerTube) and Twitch (GQL) simultaneously.
|
||||
Searches keywords across YouTube (InnerTube), Twitch (GQL), and SearXNG simultaneously.
|
||||
Names: lowercase alphanumeric + hyphens, 1-20 chars. Keywords: 1-100 chars.
|
||||
Max 20 alerts/channel. Polls every 5min. Max 5 announcements per platform per cycle.
|
||||
Format: `[name/yt] Title -- URL` or `[name/tw] Title -- URL`.
|
||||
Format: `[name/yt] Title -- URL`, `[name/tw] Title -- URL`, or `[name/sx] Title -- URL`.
|
||||
No API credentials needed. Persists across restarts.
|
||||
|
||||
## SearX
|
||||
|
||||
```
|
||||
!searx <query> # Search SearXNG
|
||||
```
|
||||
|
||||
Shows top 3 results as `Title -- URL`. Channel only. Max query length: 200 chars.
|
||||
|
||||
## Plugin Template
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user