Files
webnet/packages/example-app
codingetandClaude f659f230cd
CI / lint (pull_request) Successful in 3m39s
CI / format (pull_request) Successful in 3m24s
CI / install (pull_request) Successful in 9m4s
CI / typetest (pull_request) Successful in 3m5s
CI / typecheck (pull_request) Successful in 3m20s
CI / node-tests (pull_request) Successful in 3m31s
CI / browser-tests (pull_request) Successful in 5m16s
docs: add per-package READMEs and position Tailshare as the flagship app
Give every workspace a README describing what it does, its entry points,
and a short usage example, and link them from the root package table.

Frame Tailshare in the root README as the application the libraries exist
to be composed into, with the other apps as development and testing
surfaces. Its own README records what works today and what the open
issues intend for it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 23:51:59 +00:00
..
2026-07-26 17:06:21 +00:00

@webnet/example-app

A React demo app for the tsconnect browser stack.

It wires up @webnet/tsconnect's IPN into a React tree via @webnet/tsconnect-react and @webnet/tsconnect-redux (IpnBuilderProvider, CaCertProvider, IpnProvider), and demonstrates dialing and listening from the browser: an HTTPS server behind a TCP and TLS listener, served over Tailscale Funnel using a cert obtained through the IPN, plus a debug panel. This is a private workspace in this repository, not a published package, and is a development and demo surface for the stack rather than the product application.

Running

npm run dev --workspace=packages/example-app

dev starts the webpack dev server bound to localhost only. dev:host (WEBNET_DEV_HOST=1 webpack serve --mode development) additionally binds all interfaces and accepts forwarded hostnames, for use behind a trusted reverse proxy or on a Tailnet; see the root README's "Remote-host development" section before using it. build produces a production bundle (NODE_ENV=production webpack --mode production), and typecheck runs tsc --noEmit.

See also