# Building Decentralized Group Chats Without Servers in Kiyeovo

Original title: How should group chats work in decentralized systems?

> Hacker News story 48849258 · language: en · submitted 2026-07-09
> Web version: https://zeli.app/story/48849258
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 19 · by [Realman78](<https://news.ycombinator.com/user?id=Realman78>) · 💬 6
[original](<https://marindedic.com/groups/>) · [HN discussion](<https://news.ycombinator.com/item?id=48849258>)

## Summary

I recently launched Kiyeovo, a serverless P2P messenger, and faced the hard truth that decentralized group chats require tough tradeoffs. Unlike Signal or Matrix, I rejected central servers and complex MLS protocols. Instead, I designed a system where one creator manages membership and keys rotate with every change, ensuring simple convergence and offline support without a single point of coordination.

## Key quote

> The content is encrypted, but the coordination - who's in, what's the latest state, what came first, what you missed - is answered centrally.

## HN discussion (6 comments)

### [miloignis](<https://news.ycombinator.com/item?id=48850845>)

> Neat, thanks for the writeup!
>
> I think a single creator-admin for small groups is a nice, simple, and practical design point.
>
> I did want to point out that Matrix does do distributed eventually-consistent authorization, which is their key invention IMHO. (Rooms are distributed among the homeservers, none of which are privileged over the others. You could (and their long-term plan from back in the day) was to run a tiny little single-device homeserver on every device to achieve P2P.)
>
> It's tricky, but a very cool algorithm! Several entities (including myself as a hobby project) are working in combining the Matrix eventually-consistent CRDT with MLS for encryption for a no-compromise distributed E2EE system. It's possible, but very hard, as you might imagine.
>
> Edit: Here's one academic paper writing up the abstract algorithm behind Matrix https://dl.acm.org/doi/10.1145/3381991.3395399

### [tpah8](<https://news.ycombinator.com/item?id=48849822>)

> One option that you sort-of mentioned but missed: go with the static groups, but don’t let the users feel that.
>
> In other words, show the kick/invite options to users when it does happen, but destroy and create a new group behind the scenes.

### [aeturnum](<https://news.ycombinator.com/item?id=48849931>)

> This is a nice little write up and I kinda feel like the author (sensibly) chose centralization just on a smaller scale. I also think that the algorithm is pretty similar to the og textsecure2[1] protocol signal used (and still uses?) in terms of key generation. It's different in that messages are in a distributed hash table instead of sent through a server and also that there's less cross-verification by chat members, but I'm not sure the author would lose any of their goals by using the signal approach (with distributed storage).
>
> [1] https://signal.org/blog/private-groups/

### [arto](<https://news.ycombinator.com/item?id=48851087>)

> @Realman78 Have you looked into how SimpleX does it?
>
> https://github.com/simplex-chat/simplex-chat/blob/stable/doc...

### [sandeepkd](<https://news.ycombinator.com/item?id=48850740>)

> Decentralization is not really a feasible option when you have more than one actors. Either you embed the centralization from beginning with some good and verifiable contracts or a certain majority is going to hijack the platform and act as centralized controllers.

---

## Cite

- Page: https://zeli.app/story/48849258
- Date: 2026-07-09
- Source: marindedic.com (https://marindedic.com/groups/)
- Hacker News: https://news.ycombinator.com/item?id=48849258

## Other languages

- zh: https://zeli.app/zh/story/48849258 · markdown: https://zeli.app/zh/story/48849258.md
- ja: https://zeli.app/ja/story/48849258 · markdown: https://zeli.app/ja/story/48849258.md
- ko: https://zeli.app/ko/story/48849258 · markdown: https://zeli.app/ko/story/48849258.md
- de: https://zeli.app/de/story/48849258 · markdown: https://zeli.app/de/story/48849258.md
- es: https://zeli.app/es/story/48849258 · markdown: https://zeli.app/es/story/48849258.md
