vmeansdev

Production-focused WebTransport for Bun, powered by a Rust napi-rs addon (wtransport). In-process server and client, datagrams + uni/bidi streams, Chromium interop, bounded queues/backpressure defaults, and runnable examples (local, Docker, and Compose) for real-time systems beyond WebSockets.

12
1
100% credibility
Found Feb 25, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A Bun package providing WebTransport for mixing unreliable low-latency datagrams and reliable ordered streams in realtime apps.

How It Works

1
🔍 Discover realtime magic for your app

You hear about a simple way to add super-fast, reliable chatting and updates to your Bun project, perfect for games or team tools.

2
📦 Add it easily

You grab the ready-to-use tool with a quick add command, no hassle.

3
🚀 Start your live server

You set up a secure listener that handles connections from friends or users joining your space.

4
🔗 Connect from anywhere

Your app or browser links up smoothly, ready for instant sharing.

5
💬 Mix quick pings and steady chats

Send speedy one-off signals like cursor moves and reliable flows like messages or game states, all in one smooth connection.

🎉 Realtime fun unlocked

Your collaboration tool, game, or live updates feel instant and buttery smooth, delighting everyone using it.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is webtransport-bun?

webtransport-bun delivers production-focused WebTransport to Bun JS, enabling in-process servers and clients for datagrams plus uni/bidi streams. It pushes real-time systems beyond WebSockets with low-latency unreliable traffic alongside reliable ordered delivery, complete with Chromium interop and bounded queues/backpressure defaults. Install via npm, spin up with simple TypeScript APIs, and test via local, Docker, or Compose examples.

Why is it gaining traction?

Bun devs get QUIC-powered transport without raw Rust bindings or external services—everything runs in-process with JS ergonomics and sane defaults for limits/rate-limiting. The Rust addon via napi-rs ensures speed, while CI-tested browser client interop and benchmarks for throughput/latency set it apart from WebSocket stacks. Runnable demos and migration guides from WebSockets hook users fast.

Who should use this?

Bun backend teams building multiplayer games, collaborative editors, or IoT telemetry where packet loss tolerance and mixed traffic matter. Real-time service owners scaling presence/cursors over datagrams and state sync over streams. Devs prototyping QUIC in Bun without ops overhead.

Verdict

Worth a spin for Bun real-time needs—strong docs, benchmarks, and examples outweigh the beta status (10 stars, 1.0% credibility). Not for Windows or full spec parity yet, but production guardrails make it safer than raw libs.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.