You've probably noticed the coloured badges at the top of project READMEs on Github and Gitlab.
These badges indicate various metrics about the project's current state and its supporting infrastructure.
For example, the README page for Converse contains the following badge:
It indicates how many open bounties there are for Converse on Bountysource.
There are dozens such badges available nowadays, just take a look at shields.io.
Some projects have badges that link to a chatroom, hosted by Gitter, Slack etc.
Converse, being an XMPP-based project, has its own XMPP chatroom at email@example.com.
So I created a badge for its README, which points to that chatroom and also indicates how many users are currently in it.
It looks like this:
The Markdown syntax for showing the badge looks like this:
[![Link to XMPP chat](https://firstname.lastname@example.org)](https://email@example.com)
The target URL for this badge is https://firstname.lastname@example.org, which means that it takes the user to https://inverse.chat and then once the user has logged in, the room email@example.com will be opened.
To go to a different room, just specify a different JID (Jabber ID) in the URL parameters.
Here you specify the room JID with the room URL parameter.
The code is open source, and hosted on Github at jcbrand/xmpp-chat-badge.
If you're using this badge for your project, I'd be happy to hear about it.