DuckDuckGo lite search, Google News RSS, Jina Reader (else the raw page): what a pi / opencode run on a local model calls instead of WebSearch and WebFetch. Stdlib only, on every run's PATH. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
278 B
Bash
Executable File
7 lines
278 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# web — search the web, read the news, fetch a page (see web.py).
|
|
# Stdlib python3 only: the tool a local-model run (pi, opencode) has no built-in for.
|
|
set -euo pipefail
|
|
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
exec python3 "$HERE/web.py" "$@"
|