Glossary
Key terms used across @fkn/lib, fkn.dev, and the API reference.
Backend
Section titled “Backend”Where an @fkn/lib call executes. The cloud backend runs over FKN relays and proxy servers through the broker frame. The extension backend runs directly inside the user’s browser through the FKN browser extension. See backends.
Broker
Section titled “Broker”The client-side runtime on fkn.app that mediates networking, encrypted storage, rooms, account sign-in, and permission checks for your app. Your app reaches it over structured MessageChannel messages rather than holding raw credentials or relay tokens.
Broker frame
Section titled “Broker frame”The hidden fkn.app/api iframe that @fkn/lib mounts on document.body to talk to the broker. Because it lives on fkn.app, the user’s account session and encryption keys stay isolated from your app’s origin.
Cloud backend
Section titled “Cloud backend”The default backend that requires nothing installed by the user. It carries TCP, UDP, and WebSocket traffic over WebVPN relays, executes cloud.fetch() through the HTTP proxy, and hosts attached frames inside proxy.sdbx.app.
Consent sheet
Section titled “Consent sheet”The interactive prompt shown to the user before an app may read text, click, type, send authenticated network requests, or evaluate code on another website. Users can toggle individual permissions per site and revoke them later. See permissions and consent.
Extension backend
Section titled “Extension backend”The backend provided when a user installs the FKN Chrome or Firefox extension. Requests leave straight from the user’s own browser, can carry existing browser cookies when permitted, and do not count against the user’s cloud daily data allowance.
Locator
Section titled “Locator”A Playwright-style handle (Locator) returned by frame.locator(...) or frame.getByRole(...) to query elements, read attributes, click, fill forms, and wait for visibility inside an attached frame. See locators and actions.
Package
Section titled “Package”An npm module loaded by FKN on an isolated sandbox origin under sdbx.app. Apps can discover, install, and mount third-party packages inside their own layout without sharing cookies, DOM, or private files with them. See packages.
The FKN HTTP proxy service used by cloud.fetch(). It sends outbound HTTP requests on behalf of an app and caches sealed responses by full request digest. Unlike the WebVPN relay, the proxy terminates TLS and reads the HTTP request and response. See fetch().
An isolated runtime boundary such as a top-level web page, a dedicated Web Worker, or a sandboxed package iframe. Each realm receives its own broker channel.
An FKN WebVPN server that forwards raw TCP, UDP, and tunneled HTTPS bytes over WebTransport or WebSockets. On HTTPS connections the browser encrypts traffic end to end, so the relay sees the destination address and byte count, not the contents. See TCP and UDP sockets.
An end-to-end encrypted realtime channel opened by name or joined by invite via @fkn/lib/rooms. Messages are sealed with the room’s key inside each participant’s browser before reaching rooms.fkn.app. See rooms.
Sandbox
Section titled “Sandbox”The isolated origin environment (sdbx.app) that separates each installed package from the host app and from other packages using standard browser origin boundaries.
Tenant
Section titled “Tenant”A single mounted package instance running inside its own subdomain under sdbx.app with its own storage scope and network policy.
WebVPN
Section titled “WebVPN”FKN’s browser-to-relay transport layer (WebTransport over QUIC, with WebSocket fallback) that lets browser tabs and workers open real TCP and UDP sockets and load proxied sites.
Worker relay
Section titled “Worker relay”The relayWorker() bridge that connects a dedicated Web Worker to the host page’s broker so worker code and WebAssembly engines can open sockets and fetch directly without round-tripping through custom postMessage wrappers. See workers.