Skip to content
Console
llms.txtUser help

FKN Developer Docs

System APIs for browser apps. Use @fkn/lib to open raw TCP and UDP sockets, fetch across origins, sync end-to-end encrypted files, run encrypted rooms, drive live websites, and ship signed packages on fkn.dev.

Looking for help using FKN apps? Account setup, recovery codes, plans, permissions, and privacy answers live in the FKN Help Guide.

Each link takes one goal to a working result:

NetworkingStorage and realtimeBrowser automation and publishing
Fetch without CORS headersSave files to the user’s accountEmbed a site and drive it
Open a TCP or UDP socketStore large encrypted objectsAsk for permissions cleanly
Open a WebSocket through FKNBuild an encrypted realtime roomAdd a sandboxed package
Run sockets in a workerBack app state up to the accountRegister and sign releases on fkn.dev

Guides cover one API surface completely. Recipes combine several calls into a single task.

The demo below loads en.wikipedia.org inside an attached frame and restyles it. Run the demo reads the heading, types a search query, and clicks search. With the FKN extension installed, one consent sheet covers all three actions. Without it, the same actions run over the FKN cloud with nothing installed:

Acting on a real site, guidedOpen in new tab

fetch()

Standard fetch and Response sent through the cloud proxy or the user’s extension. See fetch().

TCP and UDP sockets

Node-compatible net and dgram sockets carried over WebVPN relays. See TCP and UDP sockets.

WebSocket

Cross-origin WebSocket connections carried over FKN with custom headers. See WebSocket.

Storage

Node-style fs across local OPFS, account-synced cloud files, and hybrid mode. See storage.

Object storage

Encrypted content-addressed blobs for media, attachments, and public files. See object storage.

Rooms

End-to-end encrypted realtime rooms for sync, chat, and watch-together features. See rooms.

Frames

Embed a live website inside your layout and drive it with attachFrame(). See frames.

Locators and actions

Playwright-style locators to read text, click, type, and evaluate inside attached frames. See locators and actions.

Permissions and consent

Explicit per-site user consent sheets, reason strings, and on-device activity logs. See permissions and consent.

Account and quota

User-owned FKN sign-in via connect(), account metadata, and daily quota inspection. See account and quota.

Packages

Install and render third-party npm packages on isolated sandbox origins. See packages.

Publishing on fkn.dev

Claim domains and npm packages, sign releases, ship store media on fkn.app, and configure payouts. See publishing.