Examples
These example apps show postal in action across different runtime environments. Each one demonstrates a specific combination of postal patterns — check the individual pages for architecture breakdowns and demos.
Notification Dashboard Interactive pub/sub demo. Shows getChannel, publish, wildcard subscriptions, live subscribe/unsubscribe toggling, and wiretaps — no transports, no workers, just the core API.
Gif Stitch Webcam-to-animated-GIF recorder. Shows transport bridging, request/handle RPC, pub/sub progress, and zero-copy transferables — all in one app.
Tab Sync Dashboard Cross-tab state sync using postal's BroadcastChannel transport. Shows the localStorage + BroadcastChannel production pattern, echo prevention in postal core, and wiretap observability.
Train Dispatch Board Terminal-based departure board using Node.js worker threads. Shows the MessagePort transport across worker_threads, bidirectional messaging, wildcard subscriptions, wiretap observability, and split-flap animation.
ASCII Camera Live webcam-to-ASCII renderer using a worker thread. Shows the MessagePort transport streaming frame data, bidirectional control messages, wiretap-based FPS measurement, and frame-drop backpressure.
Radio Spectrum TUI Terminal internet radio visualizer using postal-transport-childprocess to coordinate four child processes: stream-reader (HTTP + ffmpeg PCM decode), spectrum-worker (FFT), waveform-worker (VU meters), and metadata-worker (SomaFM API). Shows multi-process pub/sub orchestration and the PCM relay pattern.
Postal Monitor Two-terminal TUI demo using postal-transport-uds. A read-only Ink dashboard displays real-time task events published by a launcher process that spawns real monorepo commands over a Unix domain socket. Shows UDS server/client setup, wildcard subscriptions, and multi-process event streaming.