scout
A light, no-node client for reading content from Swarm. Point it at a public gateway (or any Bee HTTP endpoint) and fetch content by reference — no node to run, no stake, no postage batch. The "scout bee" that finds and fetches without keeping the hive.
Published on crates.io as
swarm-scout(the binary and library are bothscout).
Install
Usage
# read — no node, stake, or stamp
# write — needs a Bee node holding a postage batch
# feeds — a stable handle that always serves the latest content
# sharing — encrypted + revocable (Access Control Trie)
The read endpoint comes from --gateway / $BEE_GATEWAY (default
http://localhost:1633). Uploads go to --node / $BEE_NODE (defaults to
the gateway) and require --stamp / $BEE_STAMP (a usable postage batch):
BEE_NODE=http://localhost:1633 BEE_STAMP=<batch> scout
Why "light"?
Reads (/bzz, /bytes) are served by any gateway or remote Bee — no
local node, stake, or stamp required. That's the light-node idea: most
people who use Swarm just want to fetch (and, later, share) content,
not operate infrastructure.
Feeds (mutable pointers)
A feed gives you a stable reference that always serves the latest content — the basis for "a folder/site whose contents change but whose link doesn't."
# publish again under the same key+topic → the same manifest ref now serves the new content
Sharing (ACT)
Encrypted, revocable sharing via Swarm's Access Control Trie. share
uploads a file encrypted and grants a set of recipient compressed
pubkeys (scout keygen prints one); recipients download with the
file_ref + publisher + history. revoke drops a key without
re-uploading.
A recipient decrypts on their own Bee node (configured with the key
behind their pubkey); the node does the decryption, so fetch works for
whoever's node it runs against (the publisher always; a grantee on theirs).
Status
- Read —
cat/get/bytes; no node, stake, or stamp. - Write —
up/up-bytesto a Bee node holding a postage batch. - Feeds —
keygen/publish; read the latest viacat. - Sharing (ACT) —
share/fetch/grantees/revoke. - All verified end-to-end against a live Bee node (2.7.2).
- Next: a friendlier share registry (track shares by id) and the
swarm-driveend-user tool on top.
Built on bee-rs.
License
MIT