We are happy to launch The Matrix Conference on Oct 15-18 in Strasbourg, France. Learn more about it, buy a ticket!

This Week in Matrix 2021-01-29

2021-01-29 โ€” This Week in Matrix โ€” Ben Parsons

๐Ÿ”—Matrix Live ๐ŸŽ™

๐Ÿ”—Dept of Status of Matrix ๐ŸŒก๏ธ

Christian Bruchatz created this map of currently live Matrix instances at German-ish universities!

The map is growing... after being published, more and more universities signal they also use Matrix... https://doc.matrix.tu-dresden.de/images/federation_map.svg within https://doc.matrix.tu-dresden.de/en/why/

2021-01-29-YevH--image.png

๐Ÿ”—Dept of Spec ๐Ÿ“œ

๐Ÿ”—Spec

anoa reported:

Here's your weekly spec update! The heart of Matrix is the specification - and this is modified by Matrix Spec Change (MSC) proposals. Learn more about how the process works at https://matrix.org/docs/spec/proposals.

๐Ÿ”—MSC Status

Merged MSCs:

  • No MSCs were merged this week.

MSCs in Final Comment Period:

New MSCs:

  • There were no new MSCs this week.

๐Ÿ”—Spec Core Team

As announced last week, we're now using the Spec Core Team Backlog board to communicate progress. Check it out if you haven't seen it yet, and ask questions in #matrix-spec:matrix.org if you have any ๐Ÿ™‚

2021-01-29-QpAp6-stacked_area_chart.png

๐Ÿ”—Dept of Servers ๐Ÿข

๐Ÿ”—Synapse

Synapse is a popular homeserver written in Python.

callahad announced:

One week 'til FOSDEM!

In addition to several talks specifically about Matrix, Synapse's own Brendan Abolivier will be speaking in the Community devroom on Mental health and free software: What I wish Iโ€™d been told before I got into free software, and more. Check it out!

We're also excited to announce Synapse 1.26.0's release! As mentioned last week, the two biggest new features are a faster algorithm for state resolution and initial support for enabling multiple OpenID Connect providers. Additionally, we've sped up redaction in large rooms and made it possible to run more APIs on workers. See the full changelog for details.

We expect to publish a release candidate for 1.27.0 early next week, but we're trying to be conservative about large changes ahead of FOSDEM, so knocking โ€” which is coming! โ€” will have to wait until 1.28.0... ๐Ÿšช

๐Ÿ”—Dendrite 0.3.8

Dendrite 0.3.8 was released this week! Simple changelog this time:

A well-known lookup regression in version 0.3.7 has been fixed

๐Ÿ”—Homeserver Deployment ๐Ÿ“ฅ๏ธ

๐Ÿ”—Kubernetes

Ananace announced:

Just released the 1.26.0 version of the K8s-optimized image and chart.

(Not sure how this message will do though, been down the last few days for a database upgrade)

Success: the message did great!

๐Ÿ”—Dept of Bridges ๐ŸŒ‰

๐Ÿ”—matrix-appservice-bridge arrives at 2.5.0-rc1

Half-Shot announced:

Hey folks! It's been a while since we've had an update but things are always manic at bridge HQ. This release is a bit of a whopper containing quite a few bugfixes (including improvements to the experimental encrypted bridge support). We've also updated to Typescript 4.1 which is a bit stricter on those promise return types. Finally, you can now create intents on the bridge and use it's components without starting the HTTP listener which has been a longstanding issue for as long as I've been maintaining.

So go out there and test this release, all going well we should ๐Ÿšข early next week!

If only you knew what else this guy was working on. More to be shared soon-ish. I hope!

๐Ÿ”—Dept of Clients ๐Ÿ“ฑ

๐Ÿ”—FluffyChat

FluffyChat is a cute cross-platform matrix client. It is available for Android, iOS, Web and Desktop.

krille said:

FluffyChat 0.26.1 has been released today with updated translations, support for Unified Push (https://github.com/UnifiedPush/) and some bug fixes. The Linux Desktop version is fully functional again and the app is much more stable than ever now. We are working hard to bring FluffyChat to the official iOS AppStore next week! :-)

I reinstalled Fluffychat this week as I attempted to support some less-technically-minded friends, and was VERY impressed. If you've tried FluffyChat in the past but missed recent versions I suggest you have another go.

๐Ÿ”—Nheko

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE (with the notable exception being device verification for now) and intends to be full featured and nice to look at

Nico (@deepbluev7:neko.dev) said:

On Wednesday we released version 0.8.1 of Nheko! It's mostly a bugfix release of 0.8.0, but it does bring some new features here and there:

๐Ÿ”—[0.8.1] -- 2021-01-27

๐Ÿ”—Features

  • /plain and /md commands to override the current markdown setting. (contributed by lorendb)

  • Allow persistent hiding of rooms with a specific tag (or from a community) via a context menu.

  • Allow open media messages in an external program immediately. (contributed by rnhmjoj)

๐Ÿ”—Improvements

  • Use async dbus connection for notifications. (contributed by lorendb)

  • Update Hungarian translations. (contributed by maxigaz)

  • Update Finnish translations. (contributed by Priit)

  • Update Malayalam translations. (contributed by vachan-maker)

  • Update Dutch translations. (contributed by Glael)

  • Store splitter size across restarts.

  • Add a border around the completer. (contributed by lorendb)

  • Request keys for messages with unknown message indices (once per restart, when they are shown).

  • Move the database location to XDG_DATA_DIR. (contributed by rnhmjoj)

  • Reload the timeline after key backup import.

  • Autoclose completer on space, when there are no matches.

  • Make completer only react, when the mouse cursor is moved.

๐Ÿ”—Bugfixes

  • Fix unhandled exception, when a device has no keys.

  • Fix some cmake warnings regarding GNUInstallDirs.

  • Fix tags being broken. If you have no tags showing up, you may want to logout and login again.

  • Fix versionOk being called on the wrong thread. (contributed by Jedi18)

  • Fix font tags showing up in media message filenames.

  • Fix user profile in dark themes showing the wrong colors. (contributed by lorendb)

  • Fix emoji category switching on old Qt versions. (contributed by lorendb)

  • Fix old messages being replayed after a limited timeline.

  • Fix empty secrets being returned from the wallet breaking verification.

  • Make matrix link chat invites create a direct chat.

  • Fix focus handling on room change or reply button clicks.

  • Fix username completion deleting the character before it.

Flathub and other repo updates may take a bit, but in the mean time you can try building it yourself or one of our provided stable downloads. Thank you for all the feedback so far and I'm glad a lot of people seem to be enjoying it so far! All the feedback, bugfixes and issues you provided certainly will help improving Nheko for everyone!

Then, later...

Apart from the current releases, we have a few things cooking right now:

๐Ÿ”—Edits

Yes, I have tried to avoid them for long, but I am finally working on it. It's a bit different to how Element and others do it, but it also generates a fallback to be compatible with the current MSCs where possible. I've grown a bit tired of having to explain myself everytime, why I did not want to support edits (yet), so I'm experimenting with a few solutions now. Expect a blog post summarizing those experiments in the future and maybe an MSC.

๐Ÿ”—Polish

Jedi18 and LorenDB are both busy polishing up the rough corners in Nheko, like finally being able to set your username and avatar in the UI as well as being able to copy text via right click, jdenticons and other fancy stuff. We also had a few contributions in the last release, which should improve the UX a lot.

๐Ÿ”—GSoC

Furthermore we will be participating in GSoC (if matrix.org gets accepted) and will probably mentor a student, that implements a few of the smaller features, which users may be missing after using Element for long.

I think that is all I wanted to share. I hope you enjoy the release and if you have any issues or feature requests, tell us in #nheko:nheko.im or open an issue on Github!

๐Ÿ”—Quaternion

kitsune announced:

Since the project is already fairly rich in features, I decided that it's timely (some would say - way overdue) to bump up the version a bit. In that light, the next Quaternion beta is numbered 0.0.95 beta 3 (no four-number version any more) and it's out now! Release notes list notable changes since (0.0.9.5) beta 2, with two most significant being ability to enter messages in Markdown and the overhauled timeline that allows you to easily discern between already read and yet unread messages and also quickly scroll to the read marker.

2021-01-29-KtwNn-Screenshotfrom2021-01-2621-15-53.png

๐Ÿ”—Element

Neil reported on behalf of the teams:

Delight

  • Social Login

    • Final polishing and bug hunting across all platforms. We are targeting 5 options to begin with (Gitlab, Github, Facebook, Google and Apple) and will hopefully be ready to start setting these up on homeservers next week.
  • Spaces

    • Lots of polishing on Element web, you can get all the latest in the matrix live demo session next week!

VoIP

  • Added some debugging to web to help debug call connectivity failures

  • Fixed a compatibility regression in web with voip v0 clients (ie. element android / ios) - dโ€™oh!

  • Android: work on getting call audio routing correct on various different devices

  • Design coming up to speed to support on implementation and ongoing UI improvements

  • iOS on holiday

Web

  • Off cycle 1.7.18 release for VoIP compat bug

  • Various tweaks to prepare for FOSDEM

  • Element Web 1.7.19-rc.1 is now available at https://staging.element.io, including:

    • Allowed guest users to see widgets

    • Standardised security terminology to reduce confusion

    • Added ability to pin widgets for everyone in the room

iOS

  • We made several iterations since the last App Store release (1.1.3) but Element-iOS 1.1.6 is now in the store.

  • We made some improvements to use less RAM in the background sync module that manages push notifications.

  • We continued to improve performance in E2EE to speed up message sending using pre-sharing keys and re-sharing keys methods. Element-iOS now automatically rejects share requests from not verified devices. It does not send anymore such requests if it is not verified.

Android

  • We are working on improving the initial /sync management. The first objective is to reduce RAM usage. Then, we will improve the time to display the room list.

๐Ÿ”—Dept of SDKs and Frameworks ๐Ÿงฐ

๐Ÿ”—Ruma

Ruma is a set of Rust library crates around Matrix

jplatte told us:

In the last two weeks,

Also, @jamtwister imported a bunch of endpoints from @florianjacob's synadminctl into synapse-admin-api.

๐Ÿ”—State Resolution

It's been a really long time since an update on ruma/state-res but work has continued!

  • Thanks to a push from @gnieto the state-res crate no longer has its own PDU type, we are now using a trait.

Conduit continues its use of state-res, which has helped workout the kinks and buggy bits.

๐Ÿ”—Dept of Interesting Projects ๐Ÿ›ฐ๏ธ

๐Ÿ”—Keymaker

MTRNord told us:

Just a small dev update on things that currently happen over at the Serverlist project "Keymaker" and its companion bot.

Follow it in detail at #serverlist:nordgedanken.dev or https://github.com/keymaker-mx/

  • The registration bot finally is starting to get its admin backend -> The registration probably happens in a few weeks from now

  • Keymaker has now a admin login page (using matrix as auth provider) to allow a web UI for admins to manage servers (WIP)

  • The bot successfully writes servers upon registration to the database. This is the main task of the bot besides the capability to administrate the page using the page

  • The bot now is able to be used by admins in an admin room which also gets notifications if a user registered a new server.

๐Ÿ”—Matrix in the News ๐Ÿ“ฐ

Beeper has continued to make headlines, and is now being reported around the world:

Andy announced:

Beeper was mentioned in one of the two biggest argentinian newspapers! ๐Ÿ˜ฎ๐Ÿ™Œ https://www.lanacion.com.ar/tecnologia/todo-en-uno-este-es-beeper-el-chat-universal-que-promete-usar-whatsapp-signal-y-telegram-en-un-solo-nid22012021/

There was a pause, as we wondered how the other biggest Argentinian newspaper would react, and it was worth the wait! Andy soon announced:

And now the other biggest newspaper of Argentina wrote an article about Beeper (Matrix is mentioned about half-through the article)!

https://www.clarin.com/tecnologia/beeper-app-mensajeria-unifica-chats-whatsapp-telegram-signal-instagram_0_1bX5iXnxw.html

Anything that goes in Argentina is sure to make waves in Poland, and so it was that Polish media picked up on the story.

TR_SLimey reported:

Beeper has made it to Polish media too, guys :P

https://spidersweb.pl/2021/01/beeper-imessage-na-androidzie.html

The title: "A new multi-messaging platform has arrived. It's creators will send you an old iPhone so you can even use iMessage"

๐Ÿ”—Final Thoughts ๐Ÿ’ญ

Discussing the sharing of code and ideas with Tobias from NeoChat, Nico (@deepbluev7:neko.dev) said:

There really is no stealing, it's more helping each other out and improving things for everyone, users and developers alike. We are not corporations competing, we are one free software community :3

Which I thought was very astute, and decided to include here.

๐Ÿ”—Dept of Ping ๐Ÿ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server. Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1imninja.net428
2envs.net437
3helderferreira.io557
4casavant.org605
5aria-net.org635.5
6chat.bobrtc.tel723.5
7feneas.org724
8nuclearlemons.uk805
9t2l.io855
10matrix.sp-codes.de885

๐Ÿ”—That's all I know ๐Ÿ

It's FOSDEM next weekend, and we are manically preparing for it. Should be a good one!

See you next week, and be sure to stop by #twim:matrix.org with your updates!

Synapse 1.26.0 released

2021-01-28 โ€” Releases โ€” Dan Callahan

Synapse 1.26.0 is now available!

Note: This release includes a new database schema version. If you need to roll back to Synapse 1.25.0, you will also need to follow the associated database downgrade instructions.

In addition to a truckload of refactoring and general improvements, Synapse 1.26.0 includes three major new features:

  1. A brand new algorithm for calculating the auth chain difference, which should dramatically improve worst case performance during state resolution (#8622).
  2. Initial support for enabling multiple OpenID Connect providers, paving the way for proper multi-provider social login workflows.
  3. A significant speed-up to redaction performance in large rooms.

It also brings several improvements to Admin APIs:

We've also made it possible to offload several additional APIs to worker processes, including read receipts and account data persistence, further improving Synapse's scalability.

See the full changelog for more.

Lastly, a reminder: we have deprecated Python 3.5 and PostgreSQL 9.5 and will cease support at the end of March. Due to deprecations in our Python tooling, we were unable to produce a binary package for Ubuntu 16.04 LTS (Xenial) in time for this release. We have resolved this for 1.27.

Synapse is a Free and Open Source Software project, and we'd like to extend our thanks to everyone who contributed to this release, including 0xflotus, chris-ruecker, dklimpel, emelie-qis, jerinjtitus, and tzyl.

This Week in Matrix 2021-01-22

2021-01-22 โ€” This Week in Matrix โ€” Ben Parsons

๐Ÿ”—Matrix Live ๐ŸŽ™

๐Ÿ”—Dept of Status of Matrix ๐ŸŒก๏ธ

๐Ÿ”—Beeper launched

Eric Migicovsky announced:

NovaChat is now

๐Ÿ”—Beeper

  • New website! beeperhq.com. Beeper is a Matrix server+client combo preconfigured with 12+ bridges. Our mission is to bring a lot of new users into the Matrix ecosystem and give them a fast and powerful client to message people on all networks. Beeper is a paid subscription service, but since all the bridges are open source, you can set the whole system up yourself for free if you choose

  • We're doing a lot of work to boost bridge reliability. Beeper now comes with bridges to Signal, Whatsapp, FB, Slack, Skype, Telegram, Instagram, Hangouts, Twitter, Discord. iMessage coming within a week or two.

  • Sneak peek below of our upcoming desktop UI

๐Ÿ”—Looking for contract work?

  • We are offering bounties of $500-2,000 USD to build new open source bridges based on tulir's mautrix-python or mautrix-go libraries. In particular, we would love to commission Linkedin, MS Teams, Google Chat, GroupMe, WeChat, Snapchat (maybe run it in Anbox?), Line and Email (gmail specifically) bridges.

  • We are also looking for contract iOS and Android developers familiar with the Element codebase to reskin the app with our new UI. Part-time roles with potential for full time.

  • If you're interested, please send me a DM @eric:beeperhq.com

2021-01-22-KJ5nT-room.png

๐Ÿ”—GSOC 2021

Google Summer of Code has come around again! Last year was really successful for Matrix: six projects, with members of the community coming forward to mentor students for their project. This year there is a slight tweak to the formula: the projects will now be 175 hours, rather than the traditional 350, over the summer.

Since we need to submit an application to Google within the next few weeks, I have a request: if you admin a Matrix-related Open Source project and would like to have a student work with you over the summer, get involved!

How to do this:

  • Read Google's own documentation on the setup. This is fairly thorough, and should get you most of the way there.

  • Think about a task, that you consider a student should be able to contribute to your project over a 10-week/175-hour period. Try to come up with 2-3 of these.

    • It should be a well-defined feature that genuinely contributes to the progress of your project, but maybe doesn't block other work on the critical path.
    • This is a very important step, and one that may need some time and discussion.
  • DM me (@benpa:bpulse.org) and we'll talk about next steps.

๐Ÿ”—Dept of Spec ๐Ÿ“œ

kitsune (aka "fox-avatar guy") reported:

Matrix URI scheme proposal has FCP proposed now - if any of you, the readers of this, have anything to say about it that wasn't said in the past 2 years, speak soon or forever hold your peace. (Ok, you're allowed to write a separate MSC if you come late with revelations.)

This has been an labour of love for kitsune, kudos on his perseverance!

๐Ÿ”—Spec

anoa said:

Here's your weekly spec update! The heart of Matrix is the specification - and this is modified by Matrix Spec Change (MSC) proposals. Learn more about how the process works at https://matrix.org/docs/spec/proposals.

๐Ÿ”—MSC Status

Merged MSCs:

MSCs in Final Comment Period:

  • No MSCs are in FCP.

New MSCs:

๐Ÿ”—Spec Core Team

We've decided to ditch the focus as it was clear that it wasn't a great indicator of progress. Once one team member has reviewed all of the focus items, they will move on to other MSCs. None of that work is reflected in the focus, and items in there often stick around while waiting on a small number of people to complete work on.

As such, we'd instead like to direct people to the Spec Core Team Backlog board, which is a better representation of the current state of things. And of course the weekly list of MSCs state changes above.

2021-01-22-VYFRA-stacked_area_chart.png

๐Ÿ”—Dept of Servers ๐Ÿข

๐Ÿ”—Dendrite / gomatrixserverlib

Dendrite is a next-generation homeserver written in Go

Neil Alexander told us:

At the beginning of this week we released Dendrite 0.3.6, which included a number of refactors in the sync API and a selection of fixes. It is also the first version to be released with multi-arch Docker images with ARMv7/ARM64 targets.

Since then, the following changes have been merged:

  • Sync filtering support for event types, senders as well as better-supported limits

  • Federation support for MSC2946 (Spaces Summary)

  • Fixed a bug where large well-known files could consume a lot of memory

  • Support for in-process DNS caching for federation traffic (although it is disabled by default)

  • Some preparatory work for tracking the most recent membership states in the sync API for future history visibility work

If you are running a Dendrite server, it is highly recommended that you upgrade to the latest version!

Spec compliance is at:

  • Client-server APIs: 60%, up from 58% last week

  • Server-server APIs: 83%, same as last week

As always, feel free to join us in #dendrite:matrix.org for general Dendrite chat or #dendrite-dev:matrix.org for development discussion.

๐Ÿ”—Synapse

Synapse is a popular homeserver written in Python.

callahad reported:

twim:

๐Ÿ”—Synapse

๐ŸŽ‰ Synapse 1.26.0rc1 is here!

โ˜ ๏ธ But don't install it yet; wait for rc2.

A few issues were reported with rc1 (#9187, #9193, #9208), and we'll issue an rc2 early next week once we're confident they've been resolved.

Otherwise, once 1.26.0 is released you can look forward to a new algorithm for calculating auth chain difference in v2 State Resolution which should significantly speed up some of the most expensive state resolution calculations (#8622).

We've also dramatically improved the performance of redactions in large rooms, helping Synapse's moderation tools scale to communities of any size (#9022). And speaking of scaling, Synapse 1.26 makes it possible to offload many different APIs to worker processes, including read receipts and account data persistence.

Lastly, Synapse 1.26 will include support for multiple Single Sign-On Identity providers, though we expect further fit-and-finish for that feature to land in 1.27.

You can preview the changelog and upgrade notes now, but remember: wait for rc2! ๐Ÿ˜‰

๐Ÿ”—Dept of Bridges ๐ŸŒ‰

๐Ÿ”—mautrix-facebook

Tulir said:

The switch to acting as a mobile app I mentioned last week has been merged and it's starting to be clear that it works better. So far logging in has worked fine for everyone at least after enabling 2FA.

Changes this week mostly included tons of bugfixes (thanks to everyone who already updated and found the bugs) and re-adding some old features like read receipt bridging. The SQLite migration script now exists too. Upgrade instructions can be found at https://github.com/tulir/mautrix-facebook/wiki/Upgrading-to-v0.2.0

๐Ÿ”—Dept of Clients ๐Ÿ“ฑ

๐Ÿ”—Nheko

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE and intends to be full featured and nice to look at

Nico (@deepbluev7:neko.dev) told us:

Cheers everyone! On Wednesday we released version 0.8.0 of Nheko! The changelog is far too long, because so many people contributed (and it has been a while since the last release), so I'll just put some highlights here!

๐Ÿ”—Highlights

  • Voice and Video Calls (contributed by trilene)

    • Call your friends right from within Nheko.

    • Use your camera if you want them to see your face!

    • This requires a somewhat new gstreamer, so our builds don't support it on all platforms yet.

  • Cross-Signing and Device/User Verification (contributed by Chethan)

    • Verify who you are talking to!

    • Ensure no malicious people eavesdrop on you!

    • Enable your connected devices to access key backup and your friends to see, which of your devices you trust!

    • Show devices in a users profile.

  • Separate profiles (contributed by lorendb)

    • Run multiple Nheko instances with separate profiles side by side.
    • Use multiple accounts at the same time in separate windows.

๐Ÿ”—Features

  • Before a call select which audio device to use. (contributed by trilene)

  • Auto request unknown keys from your own devices.

  • Add a command to clear the timeline and reload it. (/clear-timeline).

  • Add a command to rotate the outbound megolm session. (/rotate-megolm-session).

  • React to messages instead of replying with arbitrary strings using /react.

  • Inline emoji and user completers. (contributed by Lurkki)

  • Show filename on hover over an image. (contributed by kamathmanu)

  • Mobile mode, that disables text selection and changes some dialogs.

  • Allow sending text after a /shrug command. (contributed by MayeulC)

  • Allow selecting a ringtone. (contributed by trilene)

  • View avatars fullscreen. (contributed by kamathmanu)

  • Request or download cross signing secrets in the settings.

  • Support 'matrix:' URIs. This works in app on all platforms and on Linux Nheko may be opened by clicking a 'matrix:' link.

  • Support inline replies on notifications on Linux.

Packaging is currently in progress, but it will probably take a bit. In the mean time you can download the release from here: https://github.com/Nheko-Reborn/nheko/releases/tag/v0.8.0

Please tell us, what you think and report bugs as you find them! And thanks again to all the contributors! It was a great pleasure to work with you and you really made an impact!

Over and out, the Nheko team!

Adrien added:

https://tracker.debian.org/news/1222370/accepted-nheko-080-1-source-into-unstable/
Nheko 0.8.0 was in Debian before TWIM.

โค๏ธ for the packagers!

๐Ÿ”—fluffychat 0.25.0

FluffyChat is a cute cross-platform matrix client. It is available for Android, iOS, Web and Desktop.

krille said:

fluffychat 0.25.0 is out with a lot of bug fixes, improvements, minor design tweaks and a new 3 column layout. iOS will skip this release until we can bring it to the AppStore next week or so

2021-01-22-Ctpne-bildschirmfotovon2021-01-1620-52-22.png

๐Ÿ”—Element for Nextcloud

Gary Kim said:

Element for Nextcloud v0.6.19 has now been released. The new update contains fixes for Single sign-on users, the ability for admins to easily show or hide the labs settings, and an update to Element Web v1.7.17.

P.S. This will be the last version to support Nextcloud 17 and 18 if you're still on those versions.

๐Ÿ”—Element Web instance on IPFS

TR_SLimey announced:

I've set up an Element Web instance on IPFS, which means that now, not even Matrix client downloads can be blocked - censorship resistance at its finest :P

It can be found at:

or

๐Ÿ”—Element Clients

Updates supplied by the Teams

๐Ÿ”—Web

  • Various widget related improvements
  • Changed guest access to uniformly only allow read access for now
  • Improved CI runtime when testing PRs

๐Ÿ”—iOS

The release we built last week has been blocked due to push notifications issues. We are still on the case On the e2ee side, we have been working on an optimisation for the key re-share mechanism

๐Ÿ”—Dept of SDKs and Frameworks ๐Ÿงฐ

๐Ÿ”—caridina, Crystal library

erdnaxeli reported:

Today a present you a Matrix client library I've been working for the last few months: caridina.

It is a Crystal library. Currently for reading it implements the sync API and supports the events to do text messaging (all state events + m.room.message). For writing it provides methods to send messages, edit them, and send receipts and typing notifications.

While I would not recommend this library to write a full featured client, it is enough to write a simple text bot. I currently use it for some of my own projects. The README provides some examples of how to use the library.

Feel free to try it, report bugs, ask for missing features if you need them or even contribute!

๐Ÿ”—libkazv (and the Kazv Project)

tusooa reported:

libkazv is a sans-io C++ (gnu++17) client library

built upon lager. Along with it there is kazv, a kirigami/qml client, and a

forward bot between matrix and tencent qq. Talk to us on #kazv:tusooa.xyz.

๐Ÿ”—Features

(Copying from readme:)

  • Logging in

  • Receiving room states

  • Receiving room messages

  • Receiving account data

  • Receiving presence

  • Sending messages

  • Send room state events

  • Create rooms

  • Room invites

  • Join rooms

  • Typing notifications

  • Receipts and fully-read markers

  • Leaving and forgetting rooms

  • Content repository

  • Send-to-device messages

  • E2EE (send and receive events only)

๐Ÿ”—What goes here?

This week we ("tusooa and her longcat," we hope someday we can remove this annotation :P)

implemented sending and receiving encrypted events in rooms. Check a demo video below:

๐Ÿ”—Opsdroid

Cadair said:

TWIM:

๐Ÿ”—opsdroid

opsdroid is an easy to use chat-ops framework with excellent Matrix support.

๐Ÿ”—0.20 Release

This week opsdroid released version 0.20. This is a massive release that's been a long time coming because of a complete rewrite of the internals of the matrix connector to use matrix-nio---thanks to @awesome-michael for the initial work on this.

Having ported the connector to nio, our GSOC student @Tyagdit got to work polishing the nio port and reimplementing the matrix database module in the core opsdroid library. Opsdroid has a concept of memory which is a key-value store which can be backed my many different kinds of databases. The matrix database stores the opsdroid memory in room state, meaning your bot's database and messages are all stored in the same place.

Finally, the other big feature added to the matrix support in this release is End to End Encryption support. Thanks to using matrix-nio as our matrix library it was possible to implement support for encrypted matrix rooms. This also includes support in the matrix database for encrypted memory which works by referencing event ids in room state (see here for more info). As this is the first release to support E2EE I would still consider it "beta"; please open issues if you have any trouble using it.

๐Ÿ”—Highlights

  • End to End Encryption support in the Matrix connector.

  • Matrix database now included in core, with e2ee support.

  • Use of Python's install "extras" to allow for installations with fewer packages.

  • Improved documentation of the matrix connector and database (at least a little).

  • Support for Python 3.9 (and dropped support for 3.6).

Checkout the full release notes for all the gory details.

If you have any questions or want to get involved come say hi in #opsdroid:matrix.org, raise an issue on GitHub and checkout the docs.

๐Ÿ”—trixnity (kotlin) progress

Benedict said:

A little sneak peek from trixnity, a crossplatform Matrix SDK. Currently I have some issues with ktor, which breaks my serialization.

trixnity

๐Ÿ”—quotient

kitsune reported:

libQuotient has initiated transition from LGPL 2.1 to LGPL 3 as its distribution license. This is partially driven by the fact that newer Qt is (mostly) distributed under LGPL 3 so the "combined work" (legalese for libQuotient including and linked with specific Qt pieces) would be covered by LGPL 3 anyway. Boring, right?

kitsune added:

Those looking at my contributions to Quotient might have noticed the change of the primary committer's name. Don't fret, this is still me, I just shed the pseudonym (and those who've seen the interview knew my real name already).

Watch "the interview" here, where we discuss (then) progress on MSC2312 (mentioned earlier), and plenty more.

๐Ÿ”—Dept of Ops ๐Ÿ› 

๐Ÿ”—Matrix Corporal

matrix-corporal manages your Matrix server according to a configuration policy

Slavi reported:

Version 2.0 of matrix-corporal has been released.

It's a huge release bringing many improvements (read all of it in the release notes).

Here's a short summary:

  • an Event Hooks system has been introduced, so matrix-corporal can now also act like a "generic firewall" (similar to what mxgwd was doing)

  • device-free login is now used when impersonating users (thanks to a new API introduced by Synapse v1.24.0) - this is both faster and more resilient.

  • support for Interactive Authentication (and thus, End-to-End-Encryption) has been added. Users can now set up E2EE keys, manage devices, etc. (actions that require Interactive Authentication and were previously broken). Requires cooperation between matrix-corporal and the REST auth password provider module.

  • End-to-End-Encryption control. matrix-corporal can enforce whether rooms that users create are encrypted or unencrypted. You can force-disable or force-enable encryption for locally-created rooms.

  • fixes user-creation regression that happened with Synapse v1.24.0. matrix-corporal v1.12.0 is also out, with a backport of this fix (for users who don't want to jump to 2.0 yet).

๐Ÿ”—Dept of Interesting Projects ๐Ÿ›ฐ๏ธ

๐Ÿ”—Matrix Notepad

KB1RD reported:

  • It's not dead! yet

  • There's been some code refactoring on the algorithm. Mainly, the search tree used has been split into a different package

  • I'm working on porting the Notepad to the new widget API. Ongoing work is on the nextgen branch and is tracked by this project. The widget is currently blocked on some stuff in the widget API, so I probably won't be releasing soon. The code in there needs a ton refactoring, too.

  • This means that the old notepad client will disappear on the next release and you'll need to add a widget for the Notepad for any documents that you want to edit. Currently, this means you would have to use Element, but I heard Ditto just might be doing some widget work

  • The widget API is planned to do everything and more that my "mxapps" project was supposed to do, so that project will be deprecated in favor of using the widget API

  • There's also a little demo/teaser video showing the old notepad talking to the new one. You can see the rate limiting issues that the Notepad hits there, which is on my todo list.

๐Ÿ”—Dept of Guides ๐Ÿงญ

๐Ÿ”—Superb documentation from TU Dresden, as they roll out their deployment

Marvin Dropp said:

๐Ÿ”—doc.matrix.tu-dresden.de

We set up a bilingual (de, en) documentation for all of our university members, to help them get in touch with our matrix instance easily. This documentation is rich on screenshots, simple explanations and will be improved continuously.

Also we mirroring the documentation to GitHub to provide access of our sources to everyone.

(https://github.com/matrix-tu-dresden-de/Dokumentation)

We would appreciate to add further institutions of higher education with own matrix instances to our list.

Viva la federation!

Christian Bruchatz shared some additional context about their deployment growth:

2021-01-22-wC6rz-image.png

Watch Matrix Live (at the top) this week for a chat with Marvin and Christian.

๐Ÿ”—Deploying a Matrix server on Fedora CoreOS, from fedoramagazine.org

Andy announced:

I couldn't find if someone else shared this, but Fedora just published an article about deploying a Matrix server on Fedora CoreOS.

https://fedoramagazine.org/deploy-your-own-matrix-server-on-fedora-coreos/

๐Ÿ”—Matrix in the News ๐Ÿ“ฐ

๐Ÿ”—EMS-Slack Bridge coverage

kim ([email protected]) told us:

EMS-Slack Bridge (matrix-appservice-slack) in German IT news

https://www.heise.de/news/Dezentraler-Firmenchat-mit-Slack-und-Matrix-5030856.html

The launch was also mentioned in The Register, in the UK. I used to read the Register every day...

๐Ÿ”—Beeper news coverage

Beeper has had substantial coverage on their launch, much of it focused especially on the iMessage bridging feature. Some articles are linked below:

  • https://www.golem.de/news/beeper-universelle-chat-app-startet-betaversion-2101-153605.html
  • https://www.heise.de/news/Beeper-Chat-App-will-15-Messenger-in-einem-Interface-vereinen-5032049.html
  • https://hothardware.com/news/beeper-app-imessage-android-routing-trickery
  • https://www.macrumors.com/2021/01/21/beeper-brings-imessage-to-android-and-windows/
  • https://9to5google.com/2021/01/21/beeper-app-pebble-founder-imessage-android/
  • https://www.theverge.com/2021/1/21/22242143/beeper-universal-chat-app-imessage-whatsapp-signal-telegram-pebble-founder
  • https://www.protocol.com/beeper-messaging-app

Lots of people helped collect these links in #TWIM:matrix.org, thanks all!

๐Ÿ”—Final Thoughts ๐Ÿ’ญ

sorunome offered:

today is the four year m.anniversary of the @sorunome:sorunome.de account! ๐ŸŽ‰

Some interesting reads of the last few days:

Cos announced:

btw i forgot to TWIM that there was once again long Matrix article in Finnish computer culture paper magazine Skrolli. December issue.

๐Ÿ”—Dept of Ping ๐Ÿ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server. Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1envs.net429.5
2maescool.be433
3midov.pl473
4juniorjpdj.pl545.5
5kawaiilo.li650.5
6fab.network768
7matrix.thedisco.zone810
8matrix.sp-codes.de843
9dendrite.neilalexander.dev976.5
10aria-net.org1111

๐Ÿ”—That's all I know ๐Ÿ

See you next week, and be sure to stop by #twim:matrix.org with your updates!

This Week in Matrix 2021-01-15

2021-01-15 โ€” This Week in Matrix โ€” Ben Parsons

๐Ÿ”—Matrix Live ๐ŸŽ™

๐Ÿ”—Dept of Servers ๐Ÿข

๐Ÿ”—Dendrite / gomatrixserverlib

Neil Alexander announced:

Earlier this week we released Dendrite 0.3.5, our first release of 2021, which includes a fairly significant refactor of parts of the sync API, along with other fixes. More work has since been merged into master too.

Changes in the last two weeks include:

  • Sync streams are now logically separate, with a lot of behaviour fixed

  • Forward extremities are now deep-checked properly, which should significantly reduce the peaks of CPU and RAM when handling the current room state

  • Pagination tokens in /messages have been fixed, which should improve the reliability of scrolling back in the timeline

  • A number of fixes have been made to the /sync response, largely avoiding nulls, which should make some clients happier

  • Send-to-device messaging has been refactored, which should improve E2EE stability

  • Well-known/DNS records for federated servers are now cached rather than performing lots of lookups, speeding up outbound federation

  • Device list requests to remote servers now time out quicker, so as to not block /send transactions

  • Experimental support for MSC2946 has been merged (gated behind the mscs configuration)

  • Request context is no longer reused for /send, which should help in cases where the remote sending server gives up waiting or the connection breaks

If you are running a Dendrite server, it is highly recommended that you upgrade to the latest version!

Spec compliance is at:

  • Client-server APIs: 58%

  • Server-server APIs: 83%

As always, feel free to join us in #dendrite:matrix.org for general Dendrite chat or #dendrite-dev:matrix.org for development discussion.

I asked:

Can you explain something: Dendrite federation is basically working fine, AIUI, what does it mean that Server-server APIs is <100%?

Neil helpfully replied:

There are still some edge-case tests that we haven't got passing yet, but I think that's only ~20 tests or so.
There are also a few tests which are quite sensitive to exactly what Synapse does/returns, even though Dendrite is probably doing the right thing but maybe taking a different amount of time to do it or returning something slightly different, so there'll be some tests we need to fix too

๐Ÿ”—Synapse

Synapse is a popular homeserver written in Python.

callahad announced:

Happy Friday!

  • ๐ŸŽ‰ Synapse 1.25.0 is out! It includes a pretty significant speedup for state resolution in bridged IRC rooms, as well as the usual assortment of bug fixes and improvements.

  • ๐Ÿ•ต๏ธ For a limited time, and thanks to funding from the European Commission, paid bug bounties are now available for Synapse and other Matrix.org projects via the Intigriti bug bounty platform.

  • ๐Ÿ‘‹ If you're wondering about the face behind these updates, scroll up and check out Matrix Live!

We're on track for 1.26.0rc1 next week, which includes a massive speedup for message redaction in large rooms, as well as finally landing fundamental algorithmic improvements to state resolution.

Otherwise, we remain hard at work preparing for FOSDEM-on-Matrix, with special emphasis on improving our stability and moderation capabilities at scale. See y'all next week!

๐Ÿ”—Homeserver Deployment ๐Ÿ“ฅ๏ธ

๐Ÿ”—Kubernetes

Ananace offered:

Just pushed version 1.25.0 of Synapse for my Kubernetes image and chart. Haven't quite had the time to finish up the redo of the scripts, but expect that 1.25.0 will be the last version with a specific image, I'm hoping to have generalized the chart enough that it should work with any reasonable image at that point.

๐Ÿ”—Dept of Bridges ๐ŸŒ‰

๐Ÿ”—Gitter

Eric Eastwood offered:

A few improvements to the Gitter bridge this week so that when a room updates and the avatar or topic changes, it now propagates across to Matrix automatically. We also handle updating the name whenever we have to rename a room or a group.

We're also thinking about how best to tackle self-service plumbing so you can pipe a Gitter room into your existing Matrix room. And the bigger idea of connecting various bridged portal rooms together. So you can connect your community on Gitter <-> Matrix <-> IRC seamlessly for example. The current thinking is introducing this as a native Matrix concept so you can easily connect any Matrix room to another Matrix room. We'd love to hear your thoughts in MSC2923.

๐Ÿ”—mx-puppet-groupme

Robin said:

Version 2 of mx-puppet-groupme is here! This week I did some reverse engineering of the GroupMe Android app with mitmproxy so that I could work out the remaining undocumented features of GroupMe's API. As a result, typing notifications, read receipts, and videos are now working! Though note that due to limitations of the platform, read receipts are a DMs-only feature.

We also now have a Dockerfile (thanks, Trey B.!), double puppeting support was added, the code was ported to Typescript, and it should now work with older versions of Node. So at this point the bridge is basically feature-complete! As usual, send any questions, bugs, or feature requests to GitLab or Matrix. ๐Ÿ’œ

๐Ÿ”—mautrix-facebook

Tulir told us:

I've been working on moving mautrix-facebook to act as a Messenger mobile app instead of the web app in order to hopefully make it more reliable. The initial version is starting to work now.

It's currently in the mobile branch. I'm not actually sure if it helps with facebook forcing password resets (for some reason they've never done that to my account), but if it does, I'll merge it into master in the near future.

The new version only supports Postgres like my newer bridges, but I'll invent a SQLite migration tool before merging to master.

๐Ÿ”—Dept of Clients ๐Ÿ“ฑ

๐Ÿ”—NeoChat 1.0.1 released

Carl Schwan told us:

NeoChat 1.0.1 was released with a few important bugfixes. https://carlschwan.eu/2021/01/13/neochat-1.0.1-first-bugfix-release/. On the unstable branch, we continued to improve the integration with Plasma. We now display the unread count in the taskbar and we are getting inline replies too thanks to the work of Kai Uwe Broulik in Knotifications. Another important change is that rooms can now be opened in a new separate window.

2021-01-15-1m-hE-image.png

2021-01-15-N_xQv-image.png

๐Ÿ”—Nheko

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE (with the notable exception being device verification for now) and intends to be full featured and nice to look at

Nico (@deepbluev7:neko.dev) offered:

Bugfixing for the next release is in progress, fixing various issues and instabilities introduced with the new features, but some smaller features also still made it in:

  • There is now a call invite screen more fitting for mobile devices, when you enable the "Touchscreen mode" in the settings.

  • Various clickable elements now have a ripple effect again to give feedback, when a click was registered.

  • Nheko now handles the Matrix URI scheme. This means opening a link starting with matrix: should open Nheko (at least on Linux) and redirect to the appropriate room and matrix URIs inside of Nheko are also handled. This currently does not support navigating to a specific event, but opening user profiles, starting chats with specific users and opening or joining rooms should work. Nheko also does not automatically linkify links starting with matrix:, so you need to do that manually.

  • Verification dialogs were cleaned up a bit and hopefully are easier to understand now.

  • The flatpak nightlies now support VOIP calls, but as a result are now a few MB more to download.

Since we are nearing the next release, it would be appreciated, if you could check the translations for your platform are up to date and try the current nightlies and check them for bugs your experience and want to have fixed before release. If you find anything, please report it on GitHub or discuss it in #nheko:ocean.joedonofry.com. Thank you!

๐Ÿ”—Quaternion

kitsune told us:

I'd like to have announced the next beta release for Quaternion 0.0.9.5 - unfortunately, migrating from Travis CI took more than I wanted; but adventurous souls are welcome to test the master branch that's basically ready for beta 3.

Meanwhile, it surfaced that Quaternion 0.0.9.4e Windows binaries have been expecting (very old and no more supported) OpenSSL 1.0. This is now fixed in Quaternion 0.0.9.4f (hopefully this will be the last 0.0.9.4 rebuild and I won't chase the above-mentioned OpenSSL project in trying to expire Latin letters).

๐Ÿ”—Element Clients

Various updates from the teams:

๐Ÿ”—Spaces

On Web, weโ€™re progressing on Spaces on our big checklist of doom, most recently on implementing invites to Spaces. On Android, weโ€™re also progressing, iterating on the UX. Meanwhile, weโ€™re also experimenting with different ways to explore, manage and navigate nested spaces.

๐Ÿ”—Social Login

Weโ€™ve now merged support for multiple identity providers on Synapse, and are getting dangerously close to finishing the rest of the implementation. Watch this space for more news soon!

๐Ÿ”—Web

Element Web 1.7.17-rc.1 is now available at https://staging.element.io, including:

  • Fixed avatar upload prompt layering issues
  • Added VoIP call transfer

๐Ÿ”—iOS

Element iOS 1.1.4 has been submitted to the AppStore. A TestFlight build will be available during the week-end. Main things the release offers are:

  • Social login
  • New SSO login management
  • Several bug fixes

๐Ÿ”—Dept of SDKs and Frameworks ๐Ÿงฐ

๐Ÿ”—libQuotient

kitsune announced:

Version 0.6.4 is out, with a few fixes around homeserver resolution (particularly when a .well-known record is not there). These has been made in tight collaboration with the folks behind Neochat - thanks a lot! 0.6.4 is also the best version to build the just-released Neochat 1.0.1 with.

Meanwhile, work on the next version (0.7) is proceeding in the unstable branch (not in the least pushed by Neochat activity) - expect more news in the next weeks.

๐Ÿ”—Ruma

Ruma is a set of Rust library crates around Matrix

jplatte announced:

Since our last update on 2020-11-20,

๐Ÿ”—Dept of Ops ๐Ÿ› 

๐Ÿ”—PingPong: End-to-end latency monitoring for Matrix

p-e-w announced:

PingPong measures transport latencies on Matrix networks. It connects to two Matrix accounts simultaneously, and bounces messages back and forth between them. It aggregates all information in an intuitive terminal user interface, and automatically computes statistics. Source code and more information are available at https://github.com/p-e-w/pingpong.

I have been working on this for a while now and I believe it is ready for others to use at this point. No binary releases yet, the program must be built from source. I only have a Linux development system currently, so feedback on whether it works on macOS and especially Windows is very welcome.

2021-01-15-mZQHt-screenshot.png

Very interesting new project! I'm thinking of setting this up as I'd planned to write something similar to track perf on bpulse.org.

๐Ÿ”—Dept of Interesting Projects ๐Ÿ›ฐ๏ธ

๐Ÿ”—Keymaker Serverlist Project

MTRNord said:

A small update on what is happening after a long time of nothing:

  • Bot has first part of the registration process (essentially the required automated tests) implemented. Next is the manual verification half.

  • Domains are bought and the web page is deployed (No servers listed yet)

  • Code of Conduct writing will start soonish.

As you will see there are only empty categories. This is due to the registration bot still being in work as well as missing documentation for it.

For the progress you can also take a look at https://github.com/keymaker-mx/keymaker/projects/1

Check the current page out at: https://homeservers.mx https://joinmatrix.rocks/

Join development and discussions at #serverlist:nordgedanken.dev Check out the Code at: https://github.com/keymaker-mx

2021-01-15-HNiKj-Screenshot_20210113_225623.png

This is really awesome progress! Not quite there but we'll keep a close watch. ๐Ÿ‘€

๐Ÿ”—Dept of Guides ๐Ÿงญ

๐Ÿ”—e2ee implementation guide

sorunome told us:

Soru worked on updating her e2ee implementation guide, so far it contains a new section on bootstrapping and hopefully soon on online key backup! You can find the WIP MR here.

๐Ÿ”—Dept of Ping ๐Ÿ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server. Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1maclemon.at318
2nicoll.xyz366
3imninja.net457
4aragon.sh637
5kif.rocks665
6matrix.sp-codes.de727.5
7matrix.vgorcum.com766
8envs.net775
9fairydust.space820
10mtx.liftm.de833

๐Ÿ”—That's all I know ๐Ÿ

See you next week, and be sure to stop by #twim:matrix.org with your updates!

Synapse 1.25.0 released

2021-01-13 โ€” Releases โ€” Dan Callahan

Synapse 1.25.0 is now available! With this release, we are deprecating Python 3.5 and PostgreSQL 9.5 and will cease producing binary packages for Debian 9 (Stretch) and Ubuntu 16.04 (Xenial) after a transition period which lasts through March 2021. See the changelog for further details.

We are also deprecating the Purge Room and Shutdown Room Admin APIs and will remove them in a future release. Please update your code to use the Delete Room Admin API instead.

Synapse 1.25.0 brings over a month's worth of improvements, including:

  • The ability for users to pick their own username when using Single Sign-On, right from within Synapse.
  • Support for async Python methods in custom spam checker modules.
  • New ways to restrict allowed IP address ranges for outgoing requests from Synapse.
  • Significantly faster v2 state resolution on rooms with large numbers of power level events, which are common in some types of bridged IRC rooms.

See the full changelog and upgrade notes for more.

Synapse is a Free and Open Source Software project, and we'd like to extend our thanks to everyone who contributed to this release, including @aaronraimist, @Bubu, @dklimpel, @edwargix, @fossterer, @jdreichmann, @jerinjtitus, and @MadLittleMods.

This Week in Matrix 2021-01-08

2021-01-08 โ€” This Week in Matrix โ€” Ben Parsons

๐Ÿ”—Matrix Live ๐ŸŽ™

๐Ÿ”—Dept of Status of Matrix ๐ŸŒก๏ธ

๐Ÿ”—FOSDEM 2021

Matthew reported:

FOSDEM 2021 is going to happen via Matrix: https://matrix.org/blog/2021/01/04/taking-fosdem-online-via-matrix

๐Ÿ”—Dept of Spec ๐Ÿ“œ

๐Ÿ”—New spec platform

wbamberg announced:

The spec core team has continued trying out the new spec (preview at: https://adoring-einstein-5ea514.netlify.app/). We've also finished applying design updates and implemented a fancy scrolling table of contents.

We have an outline for how to switch over to the new platform: https://github.com/matrix-org/matrix-doc/issues/2906 and have started work on that this week.

๐Ÿ”—Dept of Servers ๐Ÿข

๐Ÿ”—Synapse

Synapse is a popular homeserver written in Python.

callahad said:

Welcome back, TWiM readers! It's a new year, and the Synapse team is excited to get back to our regularly scheduled releases! Three main things this week:

  1. We published 1.25.0rc1! We'll have full release notes next week, but highlights include:
  • Deprecated Python 3.5 and Postgres 9.5 per #8782; more details to come with the formal release announcement.

  • People can pick their own username when using Single Sign-On, right from within Synapse itself.

  • Spam-checker modules can now use async Python methods.

  • New ways to restrict allowed IP address ranges for outgoing requests from Synapse.

  1. Matrix is hosting FOSDEM! Which means that most of the Synapse team is going to be focused on security, stability, and performance until February to ensure that our virtual Universitรฉ Libre de Bruxelles is as reliable and welcoming the real thing.

  2. Speaking of security, we have some big (but good!) news to announce next week. Watch this space... ๐Ÿ•ต๏ธ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ’ถ

Lastly, one of our goals for this year is to maintain a biweekly cadence of release candidates, so we should have a more consistent pace. At the same time, we realize that keeping up with biweekly releases of server-side software can be a bit of a chore, so we're also discussing ways that we could provide longer support for some of our releases. That's a project for much later this year, but consider it a preview of things to come.

If you have any feedback, please feel free to join us in #synapse:matrix.org!

๐Ÿ”—Dept of Bridges ๐ŸŒ‰

๐Ÿ”—mx-puppet-steam

Icewind told us:

mx-puppet-steam has been receiving a bit of love over the past few weeks, including:

  • improved reliability of image uploads

  • syncing of read and typing status from matrix to steam

  • bridging of emotes and stickers from steam to matrix

๐Ÿ”—Dept of Clients ๐Ÿ“ฑ

๐Ÿ”—New NeoChat features

Carl Schwan announced:

NeoChat gained a few new features this week. The timeline displays stickers now, and edited messages don't get duplicated anymore. NeoChat also now lets you edit your messages. Additionally, Noah improved the support for attachments in the UI, more image formats are detected (and can then be edited in the built-in image editor), and mime type icons get added to non-image attachments. Tobias continues to work on the registration flow and SSO support.

You can meet Carl and Tobias from the NeoChat project by watching Matrix Live. \o/

2021-01-08-mp8Ia-image.png

๐Ÿ”—Nheko

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE (with the notable exception being device verification for now) and intends to be full featured and nice to look at.

Nico (@deepbluev7:neko.dev) reported:

  • d42 fixed SSO login with some more exotic SSO configurations.

  • Reenable showing a users status_msg, which got lost in a refactoring.

  • trilene cleaned up the design of our call dialogs and Nheko now picks up changes in your devices without a restart.

  • Typing notifications should now not flicker anymore.

  • The build is now more explicit, if call support is enabled.

  • You can now reply directly inline to a notification on Linux, if your notification manager supports it.

2021-01-08-0x46S-Screenshot_20210107_183454.png

This reply-in-notification feature is really cool!

๐Ÿ”—SchildiChat for Android

SpiritCroc offered:

SchildiChat is a fork of Element, which focuses on UI changes such as message bubbles and a unified chat list for both direct messages and groups, which is a more familiar approach to users of other popular instant messengers.

During the last couple of weeks, SchildiChat-Android development focused mainly on staying up-to-date with the upstream Element codebase (URL previews took some time to make them fit nicely into the bubble layouts), and doing some smaller design improvements (like wider message bubbles for some scenarios, and an intelligent message timestamp placement at the bottom of the bubble, depending on the available space).

Furthermore, we now also have experimental support for MSC2867, which allows you to mark rooms as unread. Note that for now, this feature needs to be enabled in the labs settings, since the MSC is still unstable and not supported by many clients, which means other clients might ignore whether the user has manually marked a chat as unread and thus display it as read anyway.

Code on GitHub: https://github.com/SchildiChat/SchildiChat-android

Matrix room: #schildichat-android:matrix.org

๐Ÿ”—Element Clients

Some updates below from the team. Not all teams are back from their Christmas breaks yet, and those who are may be a little busy with FOSDEM-specific projects, but we have some updates:

๐Ÿ”—Spaces

Weโ€™re making more progress on the client implementations for Spaces on the web on Android. On Web, recent progress includes implementing notification badges, and on Android weโ€™re progressing from SDK work to initial UI implementations.

๐Ÿ”—Social Login

Support for Social Login on iOS is in review after resolving some issues around VoiceOver, which is the last Element client to implement support ahead of Synapse landing support for social login in the near future.

๐Ÿ”—VoIP

Lots of things merged to web: dial pad, call forward, dtmf pad, although most wonโ€™t show up in normal use (yet). Other progress on web on hold for fosdem work. Dial pad & phone number lookup support incoming on iOS, and phone number lookup on its way on Android.

๐Ÿ”—iOS

We progressed on several things this week. They are not yet merged but almost. They will be part of the next release we will ship next week: social login, app deadlock fix, encrypted message sending speed improvement, xcodegen usage, sending bug reports in background.

๐Ÿ”—Dept of SDKs and Frameworks ๐Ÿงฐ

๐Ÿ”—MRSBFH - Matrix-Rust-SDK-Bot-Framework-Helper

MTRNord reported:

https://github.com/MTRNord/mrsbfh

I took the time and started a small (command)bot framework/utility crate which operates on top of the matrix rust sdk.

It currently is just some of the command logic and utilities extracted from the famedly timetrackingbot and offers a basic bot template.

๐Ÿ”—Features

  • Proc macro based command definition

  • Auto generating of helptext

  • Full compatibility with the regular matrix rust sdk

  • Modularity

  • Helpers for session recovery and Configs

  • Helpers to minify boilerplate of the EventEmitter

๐Ÿ”—Planned features

  • More utilities for bots that are not in scope of the main sdk.

๐Ÿ”—Non-Goals

  • State management

  • Hiding the sdk behind another API (No automatic hooks into the event emitter)

  • usage as AS framework. (This however is possible as you can use the hook where ever needed.)

๐Ÿ”—Possible goals

  • Early adoption of MSCs that are meant for bots (for example MSC2929)

Note this is very young and many is possible to change.

That is quite a project name!

๐Ÿ”—mtxclient - the Matrix library Nheko uses

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE (with the notable exception being device verification for now) and intends to be full featured and nice to look at.

Nico (@deepbluev7:neko.dev) announced:

I found some time to actually host the docs our library currently has. It is still severely lacking, but it may be interesting to some people like people contributing to Nheko. I'm going to write some higher level docs over the next few weeks, so that people can actually see how to use the library and have some inline examples and more extensive explanations. But for now you can find the barebones descriptions we always had in the source code here: http://nheko-reborn.pages.nheko.im/mtxclient/index.html

Providing docs always gets a big thumbs-up from me!

๐Ÿ”—matrix-bot-sdk

TravisR said:

[email protected] has been released! This version contains early support for Identity Servers and Spaces (MSC1772), as well as easier functions for sending HTML messages and a bunch of other quality of life improvements. Feedback and bugs in #matrix-bot-sdk:t2bot.io.

๐Ÿ”—Trixnity, Kotlin SDK announced

Benedict reported:

I'm currently working on a Kotlin cross-platform (JVM, JS, Native) Matrix SDK named trixnity

It's a very early version, but I can migrate many code and tests from matrix-spring-boot-sdk so that it's growing fast (for a one man project ๐Ÿ˜€).

Benedict explained:

matrix-spring-boot-sdk is my first attempt to write bots and appservices really fast, then matrix-sms-bridge using this sdk and now migrating the low-level stuff from matrix-spring-boot-sdk to trixnity, so it can be used independently from spring boot ๐Ÿ™‚ My plan is to use trixnity for a an open source web client, that can do "Videosprechstunde" in Germany (I don't know the english word for it, maybe video doctor's consultation?).

More about Videosprechstunde later...

๐Ÿ”—Dept of Ops ๐Ÿ› 

๐Ÿ”—GitHub action for Matrix!

select said:

I recently started a new freelance project and got them to use Matrix as our main communication channel. Since they chose GitHub as our source code platform I got into writing continuous integrations and delivery scripts. But one thing was missing: notifications in our Matrix room. I looked into the GitHub Action Marketplace and found 2 actions that could do that, so that was nice ... but they could not send e2e encrypted messages. Therefore I took up my old issue on how to make e2e encryption work with the js-sdk (https://github.com/matrix-org/matrix-js-sdk/issues/731) with some new found energy and finally solved it. The result is this GitHub action:

https://github.com/select/matrix-message-e2e

While it's almost a full success story there is still one issue to solve: While the action successfully sends e2e encrypted messages the job is marked as failed. My guess it that while sending the messages the matrix client outputs on stderr due to some encryption errors (unknown device keys, ...)

๐Ÿ”—Dept of Interesting Projects ๐Ÿ›ฐ๏ธ

๐Ÿ”—Battleship via Matrix

Christian announced:

Want to play the guessing game Battleship via Matrix? I'm building one to be ready for FOSDEM. Follow my progress, bring in ideas and play development versions:

https://matrix.to/#/#battleship:vector.modular.im?via=vector.modular.im&via=t2l.io&via=federator.dev

๐Ÿ”—matrix-archive

I asked: "what's the best tool for dumping history from rooms (including e2e rooms)?", and Florian shared this great tool I don't think I'd seen before:

matrix-archive is the best currently-maintained tool I know of

A really useful project that generates "a YAML log of all room messages, including media".

๐Ÿ”—Dept of Guides ๐Ÿงญ

๐Ÿ”—easy-to-share comparison chart

joepie91 said:

Based on the original chart by hrjet, here's an easy-to-share comparison chart in image form, that compares a number of alternatives (Element/Matrix, Signal, Telegram) for people looking for an alternative to WhatsApp

2021-01-08-ayRQd-whatsapp-alternatives.png

Should be very useful for incoming "What do I use instead of WhatsApp?"-type conversations!

(Also you could share this tweet for even more visibility!)

๐Ÿ”—Final Thoughts ๐Ÿ’ญ

๐Ÿ”—Videosprechstunde is quite hot right now

As promised, some more thoughts on the Videosprechstunde craze apparently sweeping Germany.

Niklas Zender announced:

Videosprechstunde is quite hot right now, and the technical requirements in terms of security are already handled with matrix.
It is regulated by the german government and is only working for centralised services right now. So there is no way to get it certified with matrix. It might be possible in future (fingers crossed) and then we (Famedly) are also ready to provide it :)
(Government is slightly wrong, it is more the KBV, but the Government also plans to regulate it starting in two years)

Videosprechstunde refers to having a video conference with your doctor, rather than going in-person.

๐Ÿ”—Speed installations?

compu offered:

so one time I installed Matrix Synapse on a fresh debian install in 24 minutes do i get bragging rights?

If you have video of you installing Synapse or another matrix server at an alarming rate, we'll link to it from here!

๐Ÿ”—Dept of Ping ๐Ÿ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server. Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1matrix.org347
2the-apothecary.club351
3almum.de399
4envs.net485
5maescool.be634.5
6aria-net.org712
7casavant.org891
8mtx.liftm.de904
9cof100.dk1067
10tchncs.de1109

๐Ÿ”—That's all I know ๐Ÿ

See you next week, and be sure to stop by #twim:matrix.org with your updates!

Taking FOSDEM online via Matrix

2021-01-04 โ€” Events, FOSDEM โ€” Matthew Hodgson
FOSDEM

Imagine you could physically step into your favourite FOSS projectsโ€™ chatrooms, mailing lists or forums and talk in person to other community members, contributors or committers? Imagine you could see project leads show off their latest work in front of a packed audience, and then chat and brainstorm with them afterwards (and maybe grab a beer)? Imagine, as a developer, you could suddenly meet a random subset of your users, to hear and understand their joys and woes in person?

This is FOSDEM, Europeโ€™s largest Free and Open Source conference, where every year thousands of people (last year, ~8,500) take over the Solbosch campus of the Universitรฉ Libre de Bruxelles in Belgium for a weekend and turn it into both a cathedral and bazaar for FOSS, with over 800+ talks organised over 50+ tracks, hundreds of exhibitor stands, and the whole campus generally exploding into a physical manifestation of the Internet. The event is completely non-commercial and volunteer run, and is a truly unique and powerful (if slightly overwhelming!) experience to attend. Ever since we began Matrix in 2014, FOSDEM has been the focal point of our year as weโ€™ve rushed to demonstrate our latest work and catch up with the wider community and sync with other projects.

This year, things are of course different. Thankfully FOSDEM 2020 snuck in a few weeks before the COVID-19 pandemic went viral, but for FOSDEM 2021 on Feb 6/7th the conference will inevitably happen online. When this was announced a few months back, we reached out to FOSDEM to see if we could help: weโ€™d just had a lot of fun helping HOPE go online, and meanwhile a lot of the work thatโ€™s gone into Matrix and Element in 2020 has been around large-scale community collaboration due to COVID - particularly thanks to all the development driven by Elementโ€™s German Education work. Meanwhile, we obviously love FOSDEM and want it to succeed as much as possible online - and we want to attempt to solve the impossible paradox of faithfully capturing the atmosphere and community of an event which is โ€œonline communities, but in person!โ€... but online.

And so, over the last few weeks weโ€™ve been hard at work with the FOSDEM team to figure out how to make this happen, and we wanted to give an update on how things are shaping up (and to hopefully reassure folks that things are on track, and that devrooms donโ€™t need to make their own plans!).

Firstly, FOSDEM will have its own dedicated Matrix server at fosdem.org (hosted by EMS along with a tonne of Jitsiโ€™s) acting as the social backbone for the event. Matrix is particularly well suited for this, because:

  • Weโ€™re an open standard comms protocol with an open network run under a non-profit foundation with loads of open source implementations (including the reference ones): folks can jump on board and participate via their own servers, clients, bridges, bots etc.
  • We provide official bridges through to IRC and XMPP (and most other chat systems), giving as much openness and choice as possible - if folks want to participate via Freenode and XMPP they can!
  • Weโ€™re built with large virtual communities in mind (e.g. Mozilla, KDE, Matrix itself) - for instance, weโ€™ve worked a lot on moderation recently.
  • Weโ€™ve spent a lot of time improving widgets recently: these give the ability to embed arbitrary webapps into chatrooms - letting you add livestreams, video conferences, schedules, Q&A dashboards etc, augmenting a plain old chatroom into a much richer virtual experience that can hopefully capture the semantics and requirements of an event like FOSDEM.

Weโ€™re currently in the middle of setting up the server with a dedicated Element as the default client, but what weโ€™re aiming for is:

  • Attendees can lurk as read-only guests in devrooms without needing to set up accounts (or they can of course use their existing Matrix/IRC/XMPP accounts)
  • Every devroom and track will have its own chatroom, where the audience can hang out and view the livestream of that particular devroom (using the normal FOSDEM video livestream system). Thereโ€™ll also be a โ€˜backstageโ€™ room per track for coordination between the devroom organisers and the speakers.
  • The talks themselves will be prerecorded to minimise risk of disaster, but each talk will have a question & answer session at the end which will be a live Jitsi broadcast from the speaker and a host who will relay questions from the devroom.
  • Each talk will have a dedicated room too, where after the official talk slot the audience can pop in and chat to the speaker more informally if theyโ€™re available (by text and/or by moderated jitsi). During the talk, this room will act as the โ€˜stageโ€™ for the speaker & host to watch the livestream and conduct the question & answer session.
  • Every stand will also have its own chatroom and optional jitsi+livestream, as will BOFs or other adhoc events, so folks can get involved both by chat and video, to get as close to the real event as possible (although itโ€™s unlikely weโ€™ll capture the unique atmospheric conditions of K building, which may or may not be a bug ;)
  • Thereโ€™ll also be a set of official support, social etc rooms - and of course folks can always create their own! Unfortunately folks will have to bring their own beer though :(
  • All of this will be orchestrated by a Matrix bot (which is rapidly taking shape over at https://github.com/matrix-org/conference-bot), responsible for orchestrating the hundreds of required rooms, setting up the right widgets and permissions, setting up bridges to IRC & XMPP, and keeping everything in sync with the official live FOSDEM schedule.

N.B. This is aspirational, and is all still subject to change, but that said - so far itโ€™s all coming together pretty well, and hopefully our next update will be opening up the rooms and the server so that folks can get comfortable in advance of the event.

Huge thanks go to the FOSDEM team for trusting us to sort out the social/chat layer of FOSDEM 2021 - we will do everything we can to make it as successful and as inclusive as we possibly can! :)

๐Ÿ”—P.S. We need help!

FOSDEM is only a handful of weeks away, and we have our work cut out to bring this all together in time. There are a few areas where we could really do with some help:

  • Folks on XMPP often complain that the Bifrรถst Matrix<->XMPP bridge doesnโ€™t support MAMs - meaning that if XMPP users lose connection, they lose scrollback. Weโ€™re not going to have time to fix this ourselves in time, so this would be a great time for XMPP folks who grok xmpp.js to come get involved and help to ensure the best possible XMPP experience! (Similarly on other bifrost shortcomings).
  • Itโ€™d be really nice to be able to render nice schedule widgets for each devroom, and embed the overall schedule in the support rooms etc. The current HTML schedules at https://fosdem.org/2021/schedule/day/saturday/ and (say) https://fosdem.org/2021/schedule/room/vcollab/ donโ€™t exactly fit - if someone could write a thing which renders them at (say) 2:5 aspect ratio so they can fit nicely down the side of a chatroom then that could be awesome!
  • While weโ€™ll bridge all the official rooms over to Freenode, itโ€™d be even nicer if people could just hop straight into any room on the FOSDEM server (or beyond) via IRC - effectively exposing the whole thing as an IRC network for those who prefer IRC. We have a project to do this: matrix-ircd, but it almost certainly needs more love and polish before it could be used for something as big as this. If you like Rust and know Matrix, please jump in and get involved!
  • If you just want to follow along or help out, then weโ€™ve created a general room for discussion over at #fosdem-matrix:fosdem.org. Itโ€™d be awesome to have as many useful bots & widgets as possible to help things along.

This Week in Matrix 2020-12-30

2020-12-30 โ€” This Week in Matrix โ€” Ben Parsons

๐Ÿ”—Dept of Status of Matrix ๐ŸŒก๏ธ

๐Ÿ”—The Matrix Holiday Special 2020

If you didn't read it already, I encourage you to read Matthew's Matrix Holiday Special 2020 post. So much has happened this year!

Oleg responded:

Great summary! Very inspiring!

I have a feeling experiencing a revolution in how people perceive messaging. Now, public sector and multiple communities adopting Matrix, one cannot think of a world without Matrix any more.

Kudos to the Element team and to the wonderful Matrix community! โ™ฅ๏ธ

I'm very excited for the FOSDEM on Matrix!

Andy added:

What a wonderful year has been for matrix, and it looks like next year will be equally as exciting. I'm HYPED.

Honestly, I'm hyped too. Simple statements like "loads of different universities have rolled out Matrix for collaboration" don't quite capture how much work is going on, and how much excitement there is to get the growth in the network we're soon to see.

๐Ÿ”—Homeserver versions graphs

Chris offered:

For the first time (since recording the homeserver stats from Feb 2019) a non-synapse homeserver is now in the top 15 deployed homeserver versions: Welcome Dendrite 0.3.4: https://graph.settgast.org/d/z1nplqXik/matrix?orgId=1

How exciting is that! If you haven't already, do check out some of the history on these charts - big thanks to Chris for making this available.

๐Ÿ”—Homeserver Deployment ๐Ÿ“ฅ๏ธ

๐Ÿ”—Ansible-Dendrite

jaywink announced:

Created a new Ansible role to easily install a Dendrite server. Currently only tested on Ubuntu 20.04 with Ansible 2.9. Uses Docker to maintain a monolithic Dendrite. Requires but does not include PostgreSQL. Designed to easily be used with Traefik as reverse proxy.

https://git.feneas.org/jaywink/ansible-dendrite

๐Ÿ”—Dept of Bridges ๐ŸŒ‰

๐Ÿ”—mx-puppet-groupme

Robin told us:

Not to be confused with matrix-puppet-groupme, mx-puppet-groupme is a fancy new GroupMe bridge with support for as many features as the web client would let me get my hands on. Please try it out, and let me know on GitLab or Matrix if you have any issues or suggestions! ๐Ÿ’œ

Thanks for sharing Robin!

๐Ÿ”—Dept of Clients ๐Ÿ“ฑ

๐Ÿ”—NeoChat 1.0

Tobias Fella said:

The KDE Community is excited to announce the first release of NeoChat, a Matrix Client based on Spectral and libQuotient. With the power of Qt and KDE Frameworks, NeoChat currently runs on mobile and desktop Linux devices, Android and Windows. You can read more about NeoChat and how to get it at https://carlschwan.eu/2020/12/23/announcing-neochat-1.0-the-kde-matrix-client/

Congrats on the 1.0! I think we'll hear much more from the team next year. ๐ŸŽ‰

๐Ÿ”—Nheko

Nheko is a desktop client using Qt, Boost.Asio and C++17. It supports E2EE (with the notable exception being device verification for now) and intends to be full featured and nice to look at

Nico (@deepbluev7:neko.dev) reported:

We finally fixed the Windows build, so there are nightlies on Windows again! Also lorendb finished his profile work, which means that if you were using custom profiles before on one of the nightlies, you may need to login again, but the whole code is a lot cleaner now.

๐Ÿ”—Dept of SDKs and Frameworks ๐Ÿงฐ

๐Ÿ”—libQuotient

kitsune reported:

Version 0.6.3 is out, another bugfix release on the stable branch. Nothing too significant, but .well-known-unaware homeservers should be treated better, and Matrix identifiers with special characters (ahem, slashes) can now be turned to valid URIs (matrix.to or proper Matrix URIs). Also, room tags starting with a . are no more considered valid, you'll get u. prepended to them.

๐Ÿ”—Dept of Ops ๐Ÿ› 

๐Ÿ”—matrix-docker-ansible-deploy

This Ansible playbook is meant to easily let you run your own Matrix homeserver.

Slavi offered:

matrix-docker-ansible-deploy now defaults to using the Postgres database engine for all bridges, bots and related services (ma1sd, Dimension, etc).

Previously we were only using Postgres for Synapse and couldn't reuse the same database server for other services.

With this huge pull request, we've added Postgres support to 17 other services.

Thanks to Johanna Dorothea Reichmann for starting the work on it and for providing great input!

Existing installations will get automatically migrated from SQLite/nedb to Postgres the next time you run the playbook.

Not only does this bring better performance and compatibility, but also, being able to reuse the same Postgres database for services other than Synapse paves the way for us to introduce other Postgres-only services such as Dendrite, the mautrix-signal bridge (existing pull request), etc.

For more information, refer to our changelog entry.

๐Ÿ”—Dept of Bots ๐Ÿค–

๐Ÿ”—Timetracking Bot

MTRNord said:

We released v0.3.0 ๐ŸŽ‰ Feel free to follow development at #timetracking-bot:famedly.de or https://gitlab.com/famedly/bots/timetracking .

Also checkout the ansible role for the timetrackingbot: https://gitlab.com/famedly/ansible/collections/matrix/-/tree/main/roles/timetracking-bot

๐Ÿ”—Changelog

๐Ÿ”—Fixes

  • Print !in and !out responses in correct timezone

  • Make sure that we use the stores correctly

  • Make sure that "in" in the times table is not a primary key to allow multiple people at the same time to log in

  • Overall stability improvements

๐Ÿ”—Features

  • Allow units in !record. For extended syntax see https://docs.rs/parse_duration/2.1.0/parse_duration/index.html

  • Better !stats command output (hours and minutes instead of pure minutes)

๐Ÿ”—Chore

  • Dependency Updates

  • Add DB indices

๐Ÿ”—Breaking changes

See https://gitlab.com/famedly/bots/timetracking/-/blob/v0.3.0/UPGRADING.md

๐Ÿ”—Middleman

kapina-jaywink told us:

Common accounts for support are tricky to handle due to needing the people using those accounts to keep separate clients open to use the common account. For this at Elokapina we created Middleman, which acts as a proxy between an account and a room.

It's a bit basic but works pretty well for pure text messages. Any messages in rooms where the bot is are relayed to the management room and any replies to those messages (prefixed with !reply) in the management room are relayed back. Optionally senders can be anonymised to enable a feedback bot.

Coming up is more configuration on for example ignoring non-mentions in rooms with lots of members and hopefully support for images and reactions in the not too long future.

Find it here: https://github.com/elokapina/middleman (built with nio-template).

2020-12-30-MVAuG-demo.gif

๐Ÿ”—GDQBot

daenney said:

With Awesome Games Done Quick 2021 Online starting on the 3rd of January the bot will now announce when an event is about to start in channels it's in.

If you don't want to run your own, you can invite @gdqbot:ecef.xyz or come hang out in #gdq:ecef.xyz.

Hopefully we'll also have donation tracking squared away before the start of the event.

๐Ÿ”—Final Thoughts ๐Ÿ’ญ

Nico (@deepbluev7:neko.dev) reported something interesting:

Threema published the source code for their apps this week: https://threema.ch/en/open-source

While that is not strictly Matrix related, it is great to see other E2EE enabled chat systems publishing the source code for their clients. It's the only way to verify their encryption actually works and is secure.

This move was announced a while ago, but I think that it actually happened now deserves a small shoutout! ๐ŸŽ‰

Quite right! Though Matthew, thought the news needed to be put into proper context:

itโ€™s almost like theyโ€™re scrabbling to keep up with matrix ;)

:D

๐Ÿ”—Dept of Ping ๐Ÿ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server. Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1tchncs.de259
2envs.net432
3maescool.be501
4matrix.sp-codes.de832
5flobob.ovh833
6aria-net.org1130
7libre.bzh1159.5
8uraziel.de1706
9matrix.weebl.me1728
10mailstation.de2017

๐Ÿ”—That's all I know ๐Ÿ

Good grief, what a year. Exciting but I'm not sure I can fit it all in my head!

See you next week (2021-01-08: Friday!), and be sure to stop by #twim:matrix.org with your updates!

The Matrix Holiday Special 2020

2020-12-25 โ€” General, Holiday Special โ€” Matthew Hodgson

Hi all,

Over the years itโ€™s become a tradition to write an end-of-year wrap-up on Christmas Eve, reviewing all the things the core Matrix team has been up over the year, and looking forwards to the next (e.g. hereโ€™s last yearโ€™s edition). These days thereโ€™s so much going on in Matrix itโ€™s impossible to cover it all (and besides, we now have This Week In Matrix and better blogging in general to cover events as they happen). So hereโ€™s a quick overview of the highlights:

Continue readingโ€ฆ

Introducing Cerulean

2020-12-18 โ€” General โ€” Matthew Hodgson

Hi all,

We have a bit of an unexpected early Christmas present for you todayโ€ฆ

Alongside all the normal business-as-usual Matrix stuff, weโ€™ve found some time to do a mad science experiment over the last few weeks - to test the question: โ€œIs it possible to build a serious Twitter-style decentralised microblogging app using Matrix?โ€

It turns out the answer is a firm โ€œyesโ€ - and as a result weโ€™d like to present a very early sneak preview of Cerulean: a highly experimental new microblogging app for Matrix, complete with first-class support for arbitrarily nested threading, with both Twitter-style (โ€œverticalโ€) and HN/Reddit-style (โ€œhorizontalโ€) layoutโ€ฆ and mobile web support!

Cerulean screenie

Cerulean is unusual in many ways:

  • Itโ€™s (currently) a very minimal javascript app - only 2,500 lines of code.
  • It has zero dependencies (other than React).
    • This is to show just how simple a fairly sophisticated Matrix client can be...
    • ...and so the code can be easily understood by folks unfamiliar with Matrix...
    • ...and so we can iterate fast while figuring out threading...
    • ...and because none of the SDKs support threading yet :D
  • It relies on MSC2836: Threading - our highly experimental Matrix Spec Change to extend relationships (as used by reaction & edit aggregations) to support free-form arbitrary depth threading.
  • As such, it only works on Dendrite, as thatโ€™s where weโ€™ve been experimenting with implementing MSC2836. (Weโ€™re now running an official public Dendrite server instance at dendrite.matrix.org though, which makes it easy to test - and our test Cerulean instance https://cerulean.matrix.org points at it by default).

This is **very much a proof of concept. **Weโ€™re releasing it today as a sneak preview so that intrepid Matrix experimenters can play with it, and to open up the project for contributions! (PRs welcome - it should be dead easy to hack on!). Also, we give no guarantees about data durability: both Cerulean and dendrite.matrix.org are highly experimental; do not trust them yet with important data; we reserve the right to delete it all while we iterate on the design.

๐Ÿ”—What can it do?

So for the first cut, weโ€™ve implemented the minimal features to make this something you can just about use and play with for real :)

  • Home view (showing recent posts from folks you follow)
  • Timeline view (showing the recent posts or replies from a given user)
  • Thread view (showing a post and its replies as a thread)
  • Live updating (Itโ€™s Matrix, after all! Weโ€™ve disabled it for guests though.)
  • Posting plain text and images
  • Fully decentralised thanks to Matrix (assuming youโ€™re on Dendrite)
  • Twitter-style โ€œVerticalโ€ threading (replies form a column; you indent when someone forks the conversation)
  • HN/Reddit/Email-style โ€œHorizontalโ€ threading (each reply is indented; forks have the same indentation)
  • Basic Registration & Login
  • Guest support (slightly faked with non-guest users, as Dendriteโ€™s guest support isnโ€™t finished yet)
  • Super-experimental proof-of-concept support for decentralised reputation filtering(!)

Obviously, thereโ€™s a huge amount of stuff needed for parity with a proper Twitter-style system:

  • Configurable follows. Currently the act of viewing someoneโ€™s timeline automatically follows them. This is because Dendrite doesnโ€™t peek over federation yet (but itโ€™s close), so you have to join a room to view its contents - and the act of viewing someoneโ€™s timeline room is how you follow them in Cerulean.
  • Likes (i.e. plain old Matrix reactions, although we might need to finally sort out federating them as aggregations rather than individually, if people use them like they use them on Twitter!)
  • Retweets (dead easy)
  • Pagination / infinite scrolling (just need to hook it up)
  • Protect your posts (dead easy; you just switch your timeline room to invite-only!)
  • Show (some) replies to messages in the Home view
  • Show parent and sibling context as well as child context in the Thread view
  • Mentions (we need to decide how to notify folks when theyโ€™re mentioned - perhaps Matrixโ€™s push notifications should be extended to let you subscribe to keywords for public rooms youโ€™re not actually in?)
  • Notifications (although this is just because Dendrite doesnโ€™t do notifs yet)
  • Search (again, just needs to be implemented in Dendrite - although how do you search beyond the data in your current homeserver? Folks are used to global search)
  • Hashtags (itโ€™s just search, basically)
  • Symlinks (see below)
  • Figure out how to handle lost unthreaded messages (see below)
  • Offline support? (if we were using a proper Matrix SDK, weโ€™d hopefully get this for free, but currently Cerulean doesnโ€™t store any state locally at all).

๐Ÿ”—How does it work?

Every message you send using Cerulean goes into two Matrix rooms, dubbed the "timeline" room and the "thread" room. The "timeline" room (with an alias of #@matthew:dendrite.matrix.org or whatever your matrix id is) is a room with all of your posts and no one else's. The "thread" room is a normal Matrix room which represents the message thread itself. Creating a new "Post" will create a new "thread" room. Replying to a post will join the existing "thread" room and send a message into that room. MSC2836 is used to handle threading of messages in the "threadโ€ room - the replies refer to their parent via an m.relationship field in the event.

These semantics play nicely with existing Matrix clients, who will see one room per thread and a flattened chronological view of the thread itself (unless the client natively supports MSC2836, but none do yet apart from Cerulean). However, as Cerulean only navigates threaded messages with an m.reference relationship (eg it only ever uses the new /event_relationships API rather than /messages to pull in history), normal messages sent by Matrix into a thread or timeline room will not yet show up in Cerulean.

In this initial version, Cerulean literally posts the message twice into both rooms - but weโ€™re also experimenting with the idea of adding โ€œsymlinksโ€ to Matrix, letting the canonical version of the event be in the timeline room, and then the instance of the event in the thread room be a โ€˜symlinkโ€™ to the one in the timeline. This means that the threading metadata could be structured in the thread room, and let the user do things like turn their timeline private (or vice versa) without impacting the threading metadata. We could also add an API to both post to timeline and symlink into a thread in one fell swoop, rather than manually sending two events. Itโ€™d look something like this:

Cerulean diagram

We also experimented with cross-room threading (letting Bobโ€™s timeline messages directly respond to Aliceโ€™s timeline messages and vice versa), but it posed some nasty problems - for instance, to find out what cross-room replies a message has, youโ€™d need to store forward references somehow which the replier would need permission to create. Also, if you didnโ€™t have access to view the remote room, the thread would break. So weโ€™ve punted cross-room threading to a later MSC for now.

Needless to say, once weโ€™re happy with how threading works at the protocol level, weโ€™ll be looking at getting it into the UX of Element and mainstream Matrix chat clients too!

๐Ÿ”—Whatโ€™s with the decentralised reputation button?

Cerulean is very much a test jig for new ideas (e.g. threading, timeline rooms, peeking), and weโ€™re taking the opportunity to also use it as an experiment for our first forays into publishing and subscribing to reputation greylists; giving users the option to filter out content by default they might not want to seeโ€ฆ but doing so on their own terms by subscribing to whatever reputation feed they prefer, while clearly visualising the filtering being applied. In other words, this is the first concrete experimental implementation of the work proposed in the second half of Combating Abuse in Matrix without Backdoors. This is super early days, and we havenโ€™t even published a proto-MSC for the event format being used, but if youโ€™re particularly interested in this domain itโ€™s easy enough to figure out - just head over to #nsfw:dendrite.matrix.org (warning: not actually NSFW, yet) and look in /devtools to see whatโ€™s going on.

So, there you have it - further evidence that Matrix is not just for Chat, and a hopefully intriguing taste of the shape of things to come! Please check out the demo at https://cerulean.matrix.org or try playing with your own from https://github.com/matrix-org/cerulean, and then head over to #cerulean:matrix.org and let us know what you think! :)