<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Spokes Blog</title>
    <link>https://spokes.sh/blog/</link>
    <description>Stories, architecture notes, self-hosting tips, and product updates from Spokes.</description>
    <language>en-us</language>
    <lastBuildDate>Sat, 21 Nov 2026 00:00:00 GMT</lastBuildDate>
    <atom:link href="https://spokes.sh/blog/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using voice chat in the same room without echo or delay</title>
      <link>https://spokes.sh/blog/voice-chat-in-the-same-physical-room/</link>
      <guid isPermaLink="true">https://spokes.sh/blog/voice-chat-in-the-same-physical-room/</guid>
      <pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate>
      <description>How Spokes&apos; Physical Rooms feature eliminates echo, microphone bleed, and headset delay when two or more people share a voice channel from the same room.</description>
      <category>voice-chat</category>
      <category>physical-rooms</category>
      <category>echo-cancellation</category>
      <category>mic-bleed</category>
      <category>discord-alternative</category>
      <category>lan-voice</category>
      <media:content url="https://spokes.sh/_astro/cover.B21BST4d_Z16f4Xh.jpeg" medium="image" type="image/jpeg" />
      <content:encoded><![CDATA[<p>Sometimes I build a feature because it is obviously needed. Sometimes because a user requested it and it makes sense. Other times I build it simply because I personally need it and/or think it would be cool.</p>
<p>The following is an example of the third option.</p>
<h2 id="what-problem-am-i-trying-to-solve">What problem am I trying to solve?</h2>
<p>At home, I have 1 room where all computers live. Me and my girlfriend sit side by side and, in the future, I will add another desk behind us for the kids.</p>
<p>When it's only us playing a game, everything is fine, we play game audio on speakers and simply talk to each other. However, we are usually playing with other friends. Friends that are not in the same room. Therefore, we need to use a voice chat.</p>
<p>2 people in the same room connected to the same Discord channel is not a great experience.</p>
<ul>
<li>
<p>You can hear your own echo coming from the other person's microphone.</p>
</li>
<li>
<p>The latency makes it so you hear the real sound in the room before the Discord audio reaches your headset.</p>
</li>
<li>
<p>Other people in the call hear all the echoes.</p>
</li>
</ul>
<p>In short, it is basically unusable.</p>
<p>My solution for the last few years has been to setup 1 good microphone in the room and then use Nvidia Broadcast to cleanup the audio. This works decently well, but you need to play game audio on speakers, voice chat audio is only coming out of 1 computer and it's hard to adjust for 1 person speaking louder than the other.</p>
<h2 id="how-the-new-physical-rooms-feature-of-spokes-solves-this-problem">How the new Physical Rooms feature of Spokes solves this problem</h2>
<p>When connected to a voice channel in Spokes, you can now open the settings and create a physical room. Once the room is created, you can tell Spokes which users are actually in that room. Rooms apply per device, so if you join a call later from your phone or a laptop in another room, it won't think you are still in the gaming room.</p>
<p>Here's what happens under the hood for users in the same physical room :</p>
<ul>
<li>
<p><strong>Direct LAN connection.</strong> When using the Spokes desktop client, Spokes establishes a direct LAN connection between the 2 users and then directs their voice traffic through it. Meaning latency is usually under 20ms. This makes it so the sound you hear in your headphones and the sound in the room arrive to your ears pretty much at the same time. (Direct LAN mode only works on the desktop client. If someone in the room is on web or mobile, Spokes automatically falls back to doing the audio cleanup on the server instead.)</p>
</li>
<li>
<p><strong>Echo cancellation.</strong> Spokes looks at the waveform entering user 1's microphone and suppresses it from user 2's microphone. (And vice-versa). This removes the echo and makes the call's audio super clean.</p>
</li>
<li>
<p><strong>Clean audio feed for other users.</strong> On a parallel track, Spokes takes the clean physical room audio and sends it to the server so it can be distributed to all other remote users in the channel.</p>
</li>
</ul>
<p>There is also a <strong>Mute users in my room</strong> toggle if you prefer to just hear the people next to you naturally without their voice coming through your headphones. Everyone else in the call will still hear all of you cleanly.</p>
<h2 id="how-to-try-it-for-yourself">How to try it for yourself</h2>
<ol>
<li>
<p>Connect to a voice channel in Spokes.</p>
</li>
<li>
<p>Open the Voice Settings dialog. (Right next to the disconnect button in the blue voice bar at the top.)</p>
</li>
<li>
<p>Scroll down to the <strong>Physical Rooms</strong> section and create a new room.</p>
</li>
<li>
<p>Have other users join the Physical Room you just created. (Admins can also simply assign rooms to other users.)</p>
</li>
</ol>
<p>For full setup details, audio modes, and built-in room diagnostics, see the <a href="https://spokes.sh/information/physical-rooms/">Physical Rooms documentation</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Introducing the Spokes Blog</title>
      <link>https://spokes.sh/blog/welcome-to-the-spokes-blog/</link>
      <guid isPermaLink="true">https://spokes.sh/blog/welcome-to-the-spokes-blog/</guid>
      <pubDate>Fri, 20 Nov 2026 00:00:00 GMT</pubDate>
      <description>Why I created the Blog and what you can expect to read here.</description>
      <media:content url="https://spokes.sh/_astro/cover.Bc9LUwbQ_1KxOOj.jpeg" medium="image" type="image/jpeg" />
      <content:encoded><![CDATA[<p>Welcome to the <strong>Spokes Blog</strong>! Until now, updates about Spokes have mostly lived inside the <a href="https://spokes.sh/releases/">Release Notes</a>. As the project continues to grow, I wanted a place to go more in-depth about new features, design choices, upcoming changes or anything else worthy of some attention.</p>
<h2 id="the-story">The story</h2>
<p>My friend group has been using Discord since 2015. Initially, the server was only for our group of 6 high school friends. As time went on, other family members joined. Then girlfriends also joined. Everything was great, DMs, group chats, gaming nights, irl event planning, memes, etc... All in the same server. We would still be on Discord today if it wasn't for 1 small detail. We all, myself included, started having kids.</p>
<p>Now, we are not that privacy conscious of a group, but sharing pictures of our children on Discord (or any other social media platform) is a step too far for us. The idea of actually owning our communications is also very appealing.</p>
<p>We were aware of the children privacy issue before the first one was even born. Therefore, as the self-hosting guy, I went down the self-hosted Discord alternatives rabbit hole in search of a solution.</p>
<h2 id="the-requirements-for-a-self-hosted-discord-alternative">The requirements for a self-hosted Discord alternative</h2>
<p>Discord has a lot of features. If you want a self-hosted Discord alternative that a real-life friend group will actually migrate to and use every day, you really only need 5 things:</p>
<ol>
<li><strong>Organized channels and direct messages.</strong> A single shared server with clear text channels, categories, private messages, group chats, good built-in GIF and photo sharing.</li>
<li><strong>Official mobile apps with working push notifications.</strong> This is the real dealbreaker. The goal is for whatever platform we choose to become the group's main chat app. If people can't get reliable notifications to their phone then it's never going to work.</li>
<li><strong>Voice / Video support.</strong> Discord style voice channels where people can simply drop in and play games. Voice and video call support for DMs.</li>
<li><strong>Simple installation and maintenance.</strong> As the person hosting it, I want the simplest possible Docker setup and SSO support. I also need the data to be easy to backup, restore and very hard to corrupt. In general, the fewer containers required to get everything working the better.</li>
<li><strong>No per-user fees.</strong> Per-server fees are ok. Free would be best.</li>
</ol>
<h2 id="what-we-tried--matrixelement-and-mattermost">What we tried : Matrix/Element and Mattermost</h2>
<p>Before building my own solution, I ran two of the most commonly recommended self-hosted chat platforms : Matrix/Element for my friend group and Mattermost at work.</p>
<h3 id="matrixelement">Matrix/Element</h3>
<p>When we initially decided to leave Discord, I had prior experience with Mattermost, tried to setup a few of the other options and finally settled on Matrix/Element.</p>
<p>The Element app felt the closest to matching the requirements and had, usually, reliable notifications. We ran that Matrix server as our daily driver for about a year and a half. Matrix is a great technology, but as a Discord server replacement for an isolated group, it has some issues.</p>
<ul>
<li><strong>It doesn't feel like an organized Discord server.</strong> Even with Spaces, Element works like a loose collection of separate chat rooms rather than a cohesive server. For non-technical friends and spouses, the apps feel clunky and a bit confusing to navigate.</li>
<li><strong>Voice and video are hard to host and maintain :</strong> Getting Discord-style persistent voice and video rooms working on a self-hosted Matrix server means running a complex multi-container stack. Maybe it's a skill issue, but I did not bother and we kept using Discord for voice chat.</li>
</ul>
<h3 id="mattermost">Mattermost</h3>
<p>I also work at a small 15-employee business where, among other roles, I manage IT. Around 3 years ago, we needed an internal chat platform. We wanted a local self-hosted server to avoid per-user SaaS fees, get fast local file uploads and downloads, good channel permissions, SSO, and a solid desktop client.</p>
<p>We settled on Mattermost and have been really happy with it for workplace chat. However, Mattermost is built as an enterprise Slack replacement, not a Discord alternative.</p>
<ul>
<li><strong>Built for work threads, not hangouts.</strong> It is great for workplace text channels, but it isn't designed around persistent Discord-style drop-in voice channels, family photo albums or casual group events.</li>
<li><strong>Increasing free-tier restrictions.</strong> Mattermost focuses primarily on enterprise deployments and has tightened its free tiers over time. Its free Entry tier caps viewable message history (10,000 messages), hosted mobile push notifications (10,000/month), and Calls (1:1 audio/screen sharing with a 40-minute cap), while open-source MIT Team Edition removes the history cap but omits SSO and group calls unless you upgrade to a commercial plan.</li>
</ul>
<h2 id="why-i-built-spokes">Why I built Spokes</h2>
<p>Last year, I started building what would eventually become Spokes. The goal was to take some of my newly acquired free time (tarrif uncertainty hit my work pretty hard), learn new skills and build the Discord server replacement my friend group and I have been looking for. Because I built Spokes specifically to solve the issues we hit with Matrix, Mattermost, and open-source Discord clones, every architectural decision was made around reducing friction for both the server owner and the people using it.</p>
<h3 id="architectural-decision-1--everything-in-a-single-docker-container">Architectural Decision 1 : Everything in a single Docker container</h3>
<p>One of the biggest admin pain points with self-hosted chat is container sprawl. Hosting Matrix with voice often requires managing 4 to 6 separate containers. Last time I tried Mattermost with voice support, it wasn't much better. With Spokes, I bundled the entire stack into one Docker container (<code>ghcr.io/pcbeeqc/spokes:latest</code>):</p>
<ul>
<li>The chat and web server (organized text channels, direct messages, shared photo albums and a group calendar).</li>
<li>An embedded LiveKit WebRTC server for persistent, Discord-style drop-in voice and video channels with screen sharing and local noise cancellation.</li>
<li>A built-in Casdoor OIDC identity provider so SSO works out of the box (while also supporting external OIDC providers if you already run Authentik, Pocket ID, or Authelia).</li>
<li>Simple file-based JSON storage instead of an external SQL database. Backing up or migrating your entire server is as simple as copying one <code>/data</code> folder.</li>
</ul>
<h3 id="architectural-decision-2--solving-the-self-hosted-mobile-push-notification-problem">Architectural Decision 2 : Solving the self-hosted mobile push notification problem</h3>
<p>When you look at a list of open-source Discord alternatives, almost all of them fail at mobile apps and push notifications. There is a technical reason for this. Apple and Google only accept push notifications from a server that holds the private developer signing keys tied to the official app published on the App Store and Google Play. You cannot distribute private Apple and Google signing keys inside a public Docker image or open-source code. Because of that, most open-source alternatives either don't bother at all or give you mobile apps that you must compile from source yourself and sign with your own developer keys. To make Spokes work effortlessly for non-technical friends and family, I published iOS and Android apps on the official stores. I also built and host a push relay that all self-hosted Spokes instances can use.</p>
<p>Can't Apple and Google read all notifications this way? No. Your Spokes server encrypts the notification payload locally before sending it through the relay. Your phone then decrypts them on arrival. (Fun fact, Discord's notifications are not encrypted and can be read by Apple and Google)</p>
<p>Standard Web Push (for browsers and PWAs) is also built directly into the server with no relay needed.</p>
<h3 id="architectural-decision-3--encrypted-channels-without-key-verification-headaches">Architectural Decision 3 : Encrypted channels without key-verification headaches</h3>
<p>I wanted encryption for private DMs and sensitive channels so that a leaked backup or a curious server admin browsing the database files can't read private conversations. Because the server owner controls the SSO system, we can't rely on the SSO login for this. We need something that only the user controls, without the complicated device cross-signing and recovery keys that can lock people out of their old messages on Matrix.</p>
<p>What I chose to do is build a feature I call Secure Chat. Each user sets a separate Chat Password to unlock their personal key vault, and that vault unlocks the keys for their encrypted channels on disk. This password is completely separate from the SSO auth and only lives on the user's devices and in their head. When someone gets a new phone, they just enter their Chat Password to unlock their messages, while the files on the server stay unreadable to anyone else.</p>
<h3 id="architectural-decision-4--flat-per-server-licensing-instead-of-per-user-fees">Architectural Decision 4 : Flat per-server licensing instead of per-user fees</h3>
<p>Running official mobile apps on the App Store and Google Play and maintaining a push notification relay costs money every year. At the same time, I hate per-user pricing for self-hosted software. You shouldn't be penalized for inviting more friends or family members to your own server. Spokes uses a simple flat server pass model. The only thing gated by the Spokes pass is mobile push notifications (and every new server comes with a 2-month free trial). Every other feature is free.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Having run all three, I think each one has its place. Mattermost has been great at work where we just need a self-hosted Slack replacement for text channels. Matrix/Element is great technology if you care about federation across public servers and don't mind a more complex setup. However, when you try moving a real-life friend group or family off Discord, friction is everything. I hope Spokes can help reduce that friction.</p>]]></content:encoded>
    </item>
  </channel>
</rss>
