Skip to content
Get started

Netify docs ​

Source for netifyjs.dev, built with VitePress.

Running locally ​

sh
bun install
bun run dev

bun run build builds the site into .vitepress/dist, and bun run preview serves the build.

Source and benchmarks ​

Code samples are checked against ../../netify.js. Set NETIFY_DIR to use another copy.

Benchmark numbers come from ../benchmarks. Set BENCHMARKS_DIR to use another copy.

If either is missing, the build pulls it from GitHub.

Layout ​

FolderWhat's in it
guideGetting started and the core concepts
transportsTCP, UDP, reliable UDP, WebSocket and HTTP
scalingClustering, sharding, workers and tuning
referenceEvery export and every options type
publicStatic files like the share image
.vitepressConfig, theme, components and scripts

Deploying ​

The site is served by Cloudflare. Build it, then deploy with Wrangler.

sh
bun run build
bunx wrangler deploy

Released under the MIT licence.