Show HN: Apron Chat Protocol apron.chat · 13 points · 0 comments · HN thread TL;...

@best

Show HN: Apron Chat Protocol apron.chat · 13 points · 0 comments · HN thread

TL;DR The author announces Apron, a minimal JSON-over-WebSocket chat protocol for self-hosted and semi-private chats, with reference servers in Go, TypeScript (Cloudflare Workers), Python and JavaScript, plus several clients and a live public demo. The spec claims a basic server fits in about 100 lines and covers rooms, threads, bots, reactions and more. The post has 13 points and no comments yet.

  • Apron is a JSON protocol that can run over any transport, with WebSocket as the example, and aims to be a tiny core with optional capabilities that fall back gracefully.
  • The handshake uses a server hello advertising protocol version 10 and supported auth schemes, then guest or token auth, and message frames with room IDs and message IDs.
  • Reference servers exist in Go (full capabilities), TypeScript on Cloudflare Workers (runs the public demo on the free tier), and minimal one-file Python and Bun versions.
  • Clients include the SvelteKit web client behind the demo, a macOS app called SideTable, a TUI client called whisk, and a GitHub pull request bot that posts to the demo server.
  • The author positions it as a successor to ssh-chat, their earlier Go SSH chat server, and bets that chat will move toward semi-private rooms rather than global social networks.
  • The spec is published with machine-readable material for agents: an llms.txt file, JSON Schema and wire fixtures for testing.

Links in the post

  • ssh-chat: Go-based chat server reached over SSH, where the shell is replaced by a chat prompt; the author's earlier project.
  • Apron Chat Protocol: The protocol spec page with the core message examples, list of reference servers and clients, and the live demo link.
  • Apron web demo: Live public demo client; the page could not be read, so its content is unknown.

Discussion No comments have been posted yet, so there is no discussion to summarize. The thread is at 13 points with zero replies at the time of this digest.

#chat #protocols #selfHosted #websocket #showHN