Files
eleith 2027c54b21
ci/woodpecker/pr/codex Pipeline was successful
ci/woodpecker/pr/tool-rendering Pipeline was successful
ci/woodpecker/pr/web-fetch Pipeline was successful
ci/woodpecker/pr/web-search-codex Pipeline was successful
ci/woodpecker/push/codex Pipeline was successful
ci/woodpecker/push/tool-rendering Pipeline was successful
ci/woodpecker/push/web-fetch Pipeline was successful
ci/woodpecker/push/web-search-codex Pipeline was successful
ci/woodpecker/tag/codex Pipeline was successful
ci/woodpecker/tag/tool-rendering Pipeline was successful
ci/woodpecker/tag/web-fetch Pipeline was successful
ci/woodpecker/tag/web-search-codex Pipeline was successful
chore(release): prepare patch releases for four extensions
2026-11-05 13:09:50 -08:00
..

web fetch

adds web_fetch and web_fetch_batch for readable web pages and temporary downloads.

why

good fetching. less baggage.

based on pi-smart-fetch. original MIT notices are preserved in LICENSE.

how to install

requires Pi 1.1.0 or newer and Node 22.19 or newer.

use Node-based Pi; standalone Pi 1.5.0 has a dependency-resolution bug.

pi install npm:@eleith-pi/web-fetch

for local development, build and load extensions/web-fetch/dist/index.js with pi -e.

disable pi-smart-fetch first; both register web_fetch.

how to use

ask it to fetch a URL. or several.

markdown is the default. html, json, and raw are available too. if extraction fails, ask it to retry with raw.

use /eleith:web-fetch toggle to turn both tools off. on and off work too.

/eleith:web-fetch test [URL] runs a live fetch test (uses model tokens). defaults to https://pi.dev/.

how to configure

update ~/.pi/agent/extensions/eleith.json with the following:

{ "commandPrefix": "personal" }