rsw://playground
RSW Playground
Small demonstrations of the format, not an environment for executing arbitrary code.
Anatomy of a cartridge
- PNG Signature
- IHDR
- IDAT
- rsWT
- IEND
The ordinary PNG chunks present the cover. The rsWT chunk immediately before IEND carries the package defined by the specifications. A conventional image viewer can show the cover; only an RSW-aware tool interprets the publication.
A real manifest
The manifest declares identity-independent publication metadata and the hashes of the cover and resources. Required structural fields are validated separately from optional author descriptions.
{
"format": 1,
"protocol": "rsw/1",
"name": "hello-world",
"title": "Hello World",
"profile": "text",
"type": "page",
"version": 1,
"entrypoint": "index.md",
"cover_hash": "sha256:3ab5e85aa7ed7f1b7617f752a25283da43f1b2e764b6899091c33247e1af31e0",
"files": {
"index.md": "sha256:16fd4741d84243654a94758d6e1d9980e360d7a69ccb2d9bde743ca0b380e9a7"
}
}This is inert example text, not executable markup. Read the normative manifest specification.
Integrity: calculate a local hash
Select any file up to 2 MiB. Its bytes stay in this browser tab. SHA-256 identifies content; it does not prove authorship.
No hash calculated.
Signatures, identity, and trust
- Public key
- An Ed25519 identifier that can be shared to verify signatures.
- Private key
- Secret signing material. Never upload a production key to a website.
- Hash
- A digest of exact bytes. Changing the bytes changes the digest.
- Signature
- Proof that the holder of a private key signed a canonical manifest.
- Identity
- The cryptographic key, not a friendly author name or civil identity.
- Trust
- A separate explicit local decision. First contact is not automatic trust.
Only experimental keys belong in demonstrations. Use the offline CLI or a verified offline tool copy for sensitive operations.
Parse an RSW address
No address parsed.
Parsing a logical reference does not contact its domain or download anything.
Portability
Download Hello World. Open it as an image to see the cover, then import the exact same file in the Web Reader, the local RSW Browser, or the CLI. Keeping the PNG preserves the publication bytes.
Create a cartridge.
Share the PNG.
Open it with an RSW reader.
Keep your own copy.