Apron Chat Protocol
A minimal protocol for self-hosted team and agent chats
Developer ToolsOpen sourceOpen source · verified#chat#protocol#self-hosted
Listed by the ProductPerch team from Hacker News · not launched here yet
What is Apron Chat Protocol?
Apron is an open specification for building self-hosted chat applications. It defines a simple JSON-based communication standard that works over transports like WebSocket. The core protocol requires only about a hundred lines of code to implement, while optional capabilities add support for rooms, threads, direct messages, bots, reactions, and user presence.
The project provides reference server implementations in Go, TypeScript, Python, and Bun, along with example clients for web, macOS, and terminal environments. Developers can run existing servers or build custom ones using the published JSON Schema and wire fixtures. The protocol uses incremental capabilities with graceful fallbacks, allowing teams to adopt only the features they need.
Designed for small groups who trust their server administrators, Apron relies on TLS for connection security rather than end-to-end encryption. It decouples clients from backends so users can switch interfaces without changing infrastructure. The specification is released under CC0, with all reference code licensed under MIT.
Apron Chat Protocol features
- Minimal core implementation requiring roughly 100 lines of code
- Optional incremental capabilities with graceful fallbacks
- JSON frames over WebSocket or other bidirectional transports
- Reference servers in Go, TypeScript, Python, and Bun
- Built-in support for rooms, threads, DMs, bots, and reactions
- Decoupled architecture allowing separate client and server development
Who uses Apron Chat Protocol and for what
- Self-hosted team communication for small groups or households
- Building custom chat interfaces for internal developer tools
- Connecting automated agents and bots to a central messaging hub
- Creating a lightweight support desk with threaded ticket conversations
- Bridging external services to a private chat network via API
Apron Chat Protocol FAQ
Is Apron Chat Protocol free to use?
Yes. The protocol specification is released under CC0, and all reference server and client implementations are available under the MIT license. There are no subscription fees or commercial restrictions.
Does Apron support end-to-end encryption?
No. The website states that Apron leaves out end-to-end encryption to keep implementations small. It recommends using TLS to protect the connection between clients and the server, noting that the server itself will still have access to message content.
Can I run my own Apron server?
Yes. The project provides reference implementations in Go, TypeScript (Cloudflare Workers), Python, and Bun. You can host them yourself or modify the code for your specific needs. The public demo server is also available for testing.
What platforms does Apron work on?
The protocol itself is platform-agnostic and runs over standard transports like WebSocket. Reference clients are available for web browsers and macOS, with a terminal interface also provided. Servers can run on Linux, macOS, Windows, or cloud environments.
Is Apron a business or a startup product?
The website explicitly states that Apron is not a business. It is an open protocol and specification maintained as a community resource, with all code and documentation freely available.
Comments (0)
Comments and upvotes open when this product launches on ProductPerch.
More Developer Tools launches
Monitor Laravel scheduled tasks and queues

Feel iOS haptic patterns on a real iPhone, copy the code
Deploy anywhere from your AI tool.
Python code quality analyzer for developers

Free product launch platform for indie makers
eBay listing data for apps and agents