Green Party Map Server
Developer Documentation
Review of MQTT Chat Solutions

Review of MQTT Chat Solutions

There are many softwre projects using MQTT for chat. Here I review the ones which I could find.

Please edit this file on github.  

Overview of Chat components

A chat application should include a web client, a database, a message broker, an Android client, and an IoS client.  Desktop clients would also be helpful.  Fortunately all of the different pieces exist out there.   We just have to find them, and pull them together.   Here is my high level perspective. 

Types of chat

There are four types of chat applications. 

  1. Person-to-person chat servers are applications like Facebook Messenger, What's App or Signal.  Most of the MQTT chat applications listed here are person-toperson.
  2. Tech Support Chat is a special case of perston-to-person chat.  It lets the anonymous web user chat with a customer service agent.  LiveChat is the best known example.  It supports IP blocking of spammers. 
  3. Solo Discussion Groups chats are like Facebook groups, or Twitter Group DMs.  They are all separate from each others. 
  4. Aggregate Discussion groups are a collection of closely related chat rooms.  Slack,  Discord and BaseCamp are examples.  
  5. Topic chat is where people can chat about a specific topic.  YouTube is the best example.  There is a chat room for every video.  Reddit is also a topic chat server, but it is not real time. 

So here are the applications. 

Flutter Client

This is person-to-person chat.  This version runs on IOS, Android, and the web, using the Google Flutter Libraries.   Free and open source. 


Person-to-person chat.  This is the Rolls Royce Solution. Starting at $149/.month, it includes customizable Android and IoS clients, and every feature imaginable.  They should do what the next guys do, and make it free for the first 1000 users. 

Emitter Chat

Emitter is an MQTT broker written in GoLang.  They also provided an open source Chat client.  I am still using their chat client software.  An interesting  feature of the MQTT server is that it can store messages for a predefined period of time.  


A person-to-person application.  Free for the first 1000 users. Just what every wordpress user needs.  Commercially supported,   

Topic chat

This page supports topic chat.   Every web page is on a different topic, and has its own MQTT chat room.  Use the breadcrumbs in the upper left hand corner of this page to visit the parents, and their topic chat rooms.  If a particular MQTT chat server is of interest to users, I will create a child web page and chat room for it.   MQTT is perfect for this.  One just needs a good database to support it.   I use the  simple topic logger docker container.  

So my question is whether anyone else is interested in topic chat?

Android Client

Here is an open source Android client.  Here is a blog posting part 1 and part 2. 

IoS Client

Here is an iOS client for MQTT Chat.  It is written in Japanese, but my girlfriend is Japanese, so we are happy to translate for you.  Here is the Google translate version of the page. 

I made a chat app for iOS with Swift, so I will introduce it.
The source code is also posted, so if you want to make a chat app,
I hope it will be helpful for those who are studying Swift.

What kind of app?
The chat app created this time is a very simple app.
When you enter the room by entering the room name and user name,
It's an app that allows you to chat with other people in the same room.
So I don't do user authentication at all.

Express Client, Mosca and Mongo DB Server. 

Here is an open source library for MQTT chat.  

Terminal Client

Here is an MQTT chat client for the terminal, currently running on Raspberry Pi. 

Android Chat with Auto Discovery. 

Here is a bit of a niche article about a single chat room shared by multiple android clients, where one acts as the server. 


Additional Articles. 

MQTT Chat for Millions of Users  In India they built an MQTT app for millions of users.  Perfect for supporting low end devices on low powered networks. 

Here is an article about how to make your MQTT web chat secure

Built using the  Forest Map Wiki  

GreenMaps is a volunteer effort, separate from The Green Party of United States.