ssb-fetch (v1.5.2) is a JavaScript library that enables using the browser's native fetch API to retrieve SSB (Secure Scuttlebutt) messages and blobs via ssb:// URLs. It provides a proxy server for development with tools like Insomnia and Postman, and plans to support PUT, POST, and DELETE for publishing. Stable with incremental updates, it differentiates by offering a standards-based approach to SSB interaction, utilizing fetch instead of custom protocols. Currently GET is stable; publishing via HTTP verbs is in design.
npm install ssb-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to start the proxy server and use fetch to retrieve an SSB message via HTTP or directly in Agregore.
Convert sigil IDs to ssb:// URIs using ssb-uri2.
Use other methods (e.g., SSB client library) for publishing.
Modify proxy script or set PORT environment variable.
Use fetch with JSON body for now.
Set ssb_appname to the correct name (e.g., 'ssb-test') before starting proxy.
Run 'npm run proxy' in separate terminal; ensure port 4080 is free.
Verify URI is correct and message/blob exists on your SSB node.
Use proxy for http:// or ensure you're in Agregore browser that supports ssb:// scheme.