Examples
Features built on Folkways, each with its topic rule, its token endpoint and its client code.
Each example is the Folkways part of a feature: the topic rule to paste into the Console, the backend endpoint that issues tokens, and the client code. They use the JavaScript SDK; the same rules and tokens work from any language.
Chat room
Messages, read receipts, typing indicators and who's here, on one topic.
Live cursors
Everyone's cursor on a shared document, with a shared title and a list of viewers.
Live dashboard
A backend publishes vehicle locations over HTTP; a public map shows them live.
They aren't complete apps: rendering and your own sign-in are left to you, as calls such as renderMessages(). For
runnable code, the SDK repository has a React example app
and an example token server.
Every example assumes a segment set up as in Get started.