Offline Semester 6, spring 2026
Federation
A self-hosted chat platform in the style of Discord, built as microservices on my own Kubernetes cluster. Reverie has replaced it.
This project is offline. It was replaced by Reverie →Federation was a chat platform in the style of Discord, inspired by decentralised protocols like Matrix. Independent servers could talk to each other without a central party, and every user had an ID (user@server) on their own home server.
It started as a small command-line chat app and grew into a platform with seven .NET microservices behind an Ocelot API gateway. The services talked to each other through RabbitMQ, updates came in live through SignalR, and voice chat ran on LiveKit. The desktop client was built with Electron, React and TypeScript, and had themes, sound packs, notification settings per channel, automatic updates and a signed installer. Moderators could handle reports, remove messages and block users or whole servers.
Infrastructure
Everything ran on my own k3s cluster, with separate staging and production environments. Every deploy ran security scans (SAST, OWASP ZAP, and Trivy, which stopped the build on critical findings) and k6 performance tests against the requirements. Prometheus, Grafana, OpenTelemetry, Jaeger and Seq kept an eye on everything.
Where it is now
Federation is offline. Its successor, Reverie, has the same features in one app instead of seven services, and adds end-to-end encryption.
Gallery
Client UI
Login screen: "Your homeserver, your rules" A room with text and voice channels and the member list Profile editor: avatar, banner, background and gradient name colours Built-in themes and fully custom colour schemes Auto-updater with a security-hardening changelog Room admin: channels, federation join requests, redactions and blocks
Architecture
Container diagram: seven services behind the Ocelot gateway, with RabbitMQ, LiveKit and Kubernetes Event-driven room join across services via RabbitMQ
Operations
Grafana: CPU and memory usage per service A single request traced across services in Jaeger All services running in the k3s cluster
Quality & security
k6 performance results checked against the non-functional requirements Trivy container image scan in the security pipeline