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.js contains the following badge:
It indicates how many open bounties there are for converse.js 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.js, being an XMPP-based project, has its own XMPP chatroom at firstname.lastname@example.org.
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://email@example.com)](https://firstname.lastname@example.org)
The target URL for this badge is https://email@example.com, which means that it takes the user to https://inverse.chat and then once the user has logged in, the room firstname.lastname@example.org 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.