@soggywontons/opencode-web-tools-pluginOpenCode plugin providing web_search (SearXNG) and web_extract (Crawl4AI) tools.
0
22
6 in 7 days
27.5
Multi-signal model
21 days ago
2026-07-29
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@soggywontons/opencode-web-tools-plugin@0.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@soggywontons/opencode-web-tools-plugin@0.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @soggywontons/opencode-web-tools-pluginopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode plugin providing:
Prerequisites
- A running SearXNG instance with
format=jsonenabled. Newer deployments may require an auth token. - A running Crawl4AI instance (v0.9+), which requires a
Bearerauth token. - Node.js 18+.
OpenCode config
{
"plugin": [
[
"@soggywontons/opencode-web-tools-plugin@^0.1.0",
{
"searxng": {
"url": "http://localhost:8877",
"token": "1234678"
},
"crawl4ai": {
"url": "http://localhost:11235",
"token": "12345678"
}
}
]
]
}
Supported environment variables
SEARXNG_URLSEARXNG_TOKENCRAWL4AI_URLCRAWL4AI_TOKEN
Resolution order:
- Plugin config in
opencode.json - Environment variable