Introduction
Folkways is realtime infrastructure for live chat, locations, presence-style signals and feeds. Start here to find the right guide.
Folkways delivers live events between your users' apps and your backend. Apps publish events to topics and subscribe to them; Folkways stores, orders and delivers them, and keeps every app in sync through network drops and reloads. Your backend decides who may do what by signing short-lived tokens.
Each topic delivers events in one of three ways:
| Type | For |
|---|---|
| Stream | An ordered, replayable log: chat messages, feeds, orders |
| KV | The latest value per key: locations, read receipts, status, scores |
| Signal | Short-lived and fire-and-forget: typing indicators, live cursors |
Get started
Set up the dashboard
Create an account, a segment, a signing key and topic rules.
Quick start
Sign a token, connect, publish and subscribe.
Key concepts
Segments, topics, events, identities and tokens in plain words.
How authentication works
Signing keys, publishable keys and permissions.
SDKs
SDKs for other languages are planned. Until then, any backend can sign tokens with a standard JWT library; see What a token contains.