← All projects
Project record1 mention
Originally shared on Hacker News

Apron Chat Protocol

Apron is a new chat protocol designed for semi-private chats rather than global social networks. Its intentionally unabbreviated JSON wire protocol minimizes roundtrips and state for common chat scenarios, using almost half the bandwidth and messages of an equivalent Matrix or XMTP session. Reference implementations include a PWA web client (Apron Web), a TUI, and two reference servers (a TypeScript Cloudflare Worker and a Go implementation); the public demo server runs on a Cloudflare Durable Worker and registers users via passkeys (WebAuthn). It supports embedding streaming messages, useful for LLM outputs, by piping to a curl command.

Last shared
01 / The problem

What it addresses

The author expects chat needs to move toward semi-private chats rather than global social networks beyond 2026, and after exploring 14 competing chat standards found existing protocols like Matrix or XMTP require more bandwidth, messages, and roundtrips for common chat scenarios.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Apron Chat Protocol

    Apron is a new chat protocol designed for semi-private chats rather than global social networks. Its intentionally unabbreviated JSON wire protocol minimizes roundtrips and state for common chat scenarios, using almost half the bandwidth and messages of an equivalent Matrix or XMTP session. Reference implementations include a PWA web client (Apron Web), a TUI, and two reference servers (a TypeScript Cloudflare Worker and a Go implementation); the public demo server runs on a Cloudflare Durable Worker and registers users via passkeys (WebAuthn). It supports embedding streaming messages, useful for LLM outputs, by piping to a curl command.

    Problem: The author expects chat needs to move toward semi-private chats rather than global social networks beyond 2026, and after exploring 14 competing chat standards found existing protocols like Matrix or XMTP require more bandwidth, messages, and roundtrips for common chat scenarios.

    Posted by @shazow · Original source ↗

    Story title · @shazow · · Source ↗

    Show HN: Apron Chat Protocol

    Submitted URL · @shazow · · Source ↗

    https://apron.chat/

    Source text · @shazow · · Source ↗

    Come say hi on the live public demo: https://web.apron.chat

    Source text · @shazow · · Source ↗

    I come bringing a new kind of chat protocol that I've been working on since I spent quite a lot of time exploring the 14 other competing standards we've come up with in the past few decades.

    Source text · @shazow · · Source ↗

    I'm hoping that Apron will better reflect our needs beyond 2026, which I expect will move more and more toward semi-private chats rather than global social networks.

    Source text · @shazow · · Source ↗

    Despite the JSON protocol being intentionally unabbreviated ("message" instead of "msg", etc), a typical Apron session still uses almost half as much bandwidth and messages compared to an equivalent Matrix or XMTP session. This is largely because Apron minimizes the number of roundtrips and state required for common chat scenarios.

    Source text · @shazow · · Source ↗

    The official reference client is a PWA (Apron Web), we also have a TUI, macOS, and an iOS implementation by third party Apron-enjoyers. There's two reference server implementations (Cloudflare worker in TS and a Go implementation), plus a bunch of minimal implementations.

    Source text · @shazow · · Source ↗

    My favourite fun capability is embedding streaming messages, great for LLM outputs. This can be done just by piping to a curl command, no additional dependencies.

    Source text · @shazow · · Source ↗

    The demo server runs in a Cloudflare Durable Worker. It's quite efficient, since it's hibernated except for when a message comes in. Easy to self-host this in the free tier.

    Source text · @shazow · · Source ↗

    The public server uses passkeys (webauthn) to register.