cloudflare

    cloudflare/capnweb

    JavaScript/TypeScript-native, low-boilerplate, object-capability RPC system

    web
    TypeScript
    MIT
    4.0K stars
    150 forks
    4.0K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 72 days ago, with 36 contributors on GitHub.

    Gained 133% more stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Implements a JavaScript/TypeScript-native, low-boilerplate object-capability RPC system for bidirectional remote procedure calls.
    • Enables expressive, schema-free RPC with promise pipelining and function/object references using human-readable JSON serialization.
    • Use for building interactive web applications requiring efficient bidirectional RPC over HTTP, WebSocket, or postMessage in modern JS runtimes.
    • Use for integrating secure, capability-based RPC communication in Cloudflare Workers or Node.js environments with minimal overhead.
    • Use for creating type-safe, pipelined API clients and servers in TypeScript that leverage automatic batching and resource disposal.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Cap'n Web is a spiritual sibling to Cap'n Proto (and is created by the same author), but designed to play nice in the web stack. That means:

    The whole thing compresses (minify+gzip) to under 10kB with no dependencies.

    Excerpt from the cloudflare/capnweb README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    150+16

    Open issues

    35+8

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    cloudflare/capnweb compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    cloudflare/capnweb4.0K—5372 days ago
    Category median48.4K+6.2K44—

    Also by cloudflare

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description