Platform API overview
Beyond the extension APIs, @fkn/lib exposes the FKN platform’s networking primitives. They run against FKN’s cloud by default and will be runnable against the user’s own machine: the cloud is an option, not a requirement.
Full reference pages are in progress. The surface today:
| API | What it gives you |
|---|---|
serverProxyFetch | HTTP fetch routed through the FKN proxy, reaching APIs a browser otherwise cannot |
net | Node.js-style TCP sockets (Server, Socket, connect) over WebTransport |
dgram | Node.js-style UDP sockets (createSocket) over WebTransport |
http | HTTP client primitives built on the socket layer |
The net and dgram shapes are also published standalone as @webvpn/net and @webvpn/dgram, which is how projects like libtorrent-wasm run a real BitTorrent client in the browser.
Free-tier usage is metered per IP (5 GB/day for WebVPN, throttled after). No accounts are required.