recent-messages Home

What is this?

Normally, on Twitch chat, you can't see any messages that were sent before you joined a certain channel's chat. This service fills that gap. It continuously listens to a large number of channels - and when somebody wants to open a channel's chat, their chat client can use this service to fetch a list of recent messages.

This service is already integrated into a number of Twitch chat clients, such as Chatterino (Windows, macOS, Linux) and DankChat (Android app).

How does it work?

Any chat client can integrate with this service using the provided API. Whenever somebody requests a channel's recent messages via the API, the service will open up that channel's chat and start listening and collecting messages. It will stay connected to that channel as long as somebody keeps requesting the history for that channel.

The service temporarily saves messages received from all connected channels, for a maximum time of 24 hours. Additionally, on channels with a lot of messages, the service will not store more than 800 messages at once (old messages will be deleted to make room in case the limit is reached).

If a channel's message history is not requested by anyone within a timespan of 24 hours, the service will automatically stop listening for messages in that channel. As the messages reach the expiry mark of 24 hours mentioned above, they will then also be removed.

What can I do here?

As a channel owner, you can use the Settings page to disable this service for your channel, or just purge the currently stored recent messages as a one-time thing.

If you are a developer looking to integrate a chat client with this service, see the API documentation.

Contact and Owner information

The recent-messages service is created and run by me, randers. You can contact me, if you need:

  • If it's about some general issue with the service, please use the GitHub issue tracker.
  • For everything else, send an email:

About the service

Everything about this service is free and open source. You can find the source code on GitHub.
This web service is written in Rust and licensed under the GNU Affero General Public License (GNU AGPL) version 3 or later.

This version of the recent-messages service is a rewrite of the "version 1" of the service.

I made and run this project in my free time, and I don't want to collect money for doing that. However running the service requires a server, which is not free. I currently pay about 10€ per month to run this service (that's just the server costs). If you are feeling generous, you can help pay for the server costs by becoming a monthly sponsor through GitHub Sponsors, or by giving a one-time donation:

Rent servers at netcup

You can also, at no additional cost, use my referral code when renting out servers from my hosting provider netcup, you save 5€ on your first order, and you are giving me a small comission: Visit netcup. Use promo code 36nc15963703760 on your first order to get 5€ off.