--- title: Build on Swarm description: Build serverless dapps on Swarm in Freedom Browser with window.swarm: publish, read chunks and feeds, sign and message through the user's own Swarm node. Quickstart, guides, API reference and demos. kick: Swarm dek: window.swarm gives every page a consented line to the user's own Swarm node. Publish, keep state in feeds, sign and message, with no gateway, server or API key. --- Freedom Browser runs a Swarm node inside the browser, and [`window.swarm`](swarm.html.md) is how a page uses it. It is Freedom's implementation of the provider API proposed in [SWIP #94](https://github.com/ethersphere/SWIPs/pull/94), so what you build here targets an open standard rather than one browser. ## Why build on window.swarm
Pages publish and read through the user's own Swarm node. It is the only way a page reaches the node: the node's local HTTP API is blocked for web content.
Grants belong to the address-bar origin and come in tiers, from connecting to publishing, feeds, messaging and signing. Limits and read budgets are enforced by the browser.
Feeds give your app a stable, signed pointer to the latest version of its content, or an append-only log of entries.
GSOC rooms and encrypted PSS direct messages deliver live updates through the user's node, while feeds stay the source of truth.
Every method in the reference carries a SWIP #94 status badge, and swarm-kit's provider-compliance example checks an implementation against the draft.
From an empty HTML file to an app served from Swarm: detect Freedom, connect, publish, keep state in a feed, deploy.
A stable URL for changing content, append-only data logs, and reading other users' feeds.
GSOC broadcast rooms, encrypted PSS direct messages, subscriptions, and how to combine them with durable data.
Higher-level data structures over window.swarm: records, feeds, hash chains, multi-writer feeds, encryption and live messaging.
Every method, error, permission tier and limit, with its SWIP #94 status.
Communities on Swarm: members write to their own feeds; a steward is woken by a GSOC doorbell.
window.swarm GSOC
Chat over PSS and GSOC, a playground for every data structure, and provider compliance checks.
window.swarm swarm-kit