@eleith-pi/web-fetch

Focused browser-fingerprinted web fetching for Pi

Packages

Package details

extension

Install @eleith-pi/web-fetch from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@eleith-pi/web-fetch
Package
@eleith-pi/web-fetch
Version
0.1.1
Published
Oct 16, 2026
Downloads
444/mo · 49/wk
Author
eleith
License
MIT
Types
extension
Size
84.5 KB
Dependencies
3 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

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.

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" }