Matrix Synapse Miscellaneous

Different things, sometimes advanced and some things that just did not fit in the regular guide.

Interesting projects

Name	Link	Description	Last Release	Last Commit	Rating	Active
ocrcc-chatbox	https://github.com/Safe-Support-Chat/ocrcc-chatbox	Embeddable Matrix Chatbox
Cactus Comments	https://cactus.chat/	Cactus Comments is a federated comment system for the web, based on the Matrix protocol.
Journal	https://github.com/lukebarnard1/journal	A web client for writing news stories, personal blogs and more, built on the Matrix protocol.
Matrix CRDT	https://github.com/YousefED/Matrix-CRDT	Matrix-CRDT enables you to use Matrix as a backend for distributed, real-time collaborative web applications that sync automatically.
mycete	https://github.com/qbit/mycete	A matrix.org micro-blogging (twitter,mastodon) connector.
mjolnir	https://github.com/matrix-org/mjolnir	A moderation tool for Matrix.
Matrix-Art	https://github.com/MTRNord/matrix-art	Matrix Art is an experimental Devianart Fediverse version which tries to be close to Devianart.
Circles	https://www.kombuchaprivacy.com/circles/	A secure social sharing app with a Matrix backend.
Gatho	https://gatho.party/	A event with integration to matrix.
Hummingbard	https://github.com/hummingbard/hummingbard	Hummingbard is an experimental client for building decentralized communities on top of Matrix.
TheBoard	https://github.com/toger5/TheBoard	A collaborative Whiteboard powered by the [Matrix] protocol and infrastructure.
Cerulean	https://github.com/matrix-org/cerulean	Cerulean is a highly experimental Matrix client intended to demonstrate the viability of freestyle public threaded conversations a la Twitter.
matrix-blog	https://evolved.systems/hosting-a-blog-on-matrix/ or https://github.com/evoL/matrix-blog	A library to interact with a Matrix server in a way that treats it as a backend for a blog.

Synpase maintenance tools

https://matrix-org.github.io/synapse/latest/usage/administration/database_maintenance_tools.html

Show the public rooms on the server

https://example.com/_matrix/client/r0/publicRooms

Coturn

Coturn is a turn server and it is used for 1:1 voip calls through the client (example: riot).

apt install coturn

Edit Config files

opening ports

Installing Bots

Matrix Synapse currently does not have a concept of bots, a bot is just a normal user. Usally there is a config and a .py file, download the files, unpack them and run the .py file. Running and downloading things via pip is not recommended.

Install python3

sudo apt install python3

then install pip

sudo apt install python3-pip

then matrix-bot-api from pyp

pip3 install matrix-bot-api

and finally fill out the config and start it

python3 pollbot.py

Exclude a server from a channel

Info von https://matrix.org/docs/guides/moderation#banning-servers-from-rooms-server-acls bzw. direkt https://spec.matrix.org/latest/client-server-api/#server-access-control-lists-acls-for-rooms

Chat /devtools

Send Custom Event

Rechts unten roten Button Event drücken

Event Type: m.room.server_acl

State Key: leer lassen

Event Content:

{
"allow": [
"*"
],
"allow_ip_literals": false,
"deny": [
"kiwifarms.net",
"*.kiwifarms.net",
"zygoat.club",
"*.zygoat.club"
]
}

Send

Bestätigung im Chat [CURRENT USER] set the server ACLs for this room.

Send custom reactions to messages

Chat /devtools

Send Custom Event

Rechts unten roten Button Event drücken

Event Type: m.reaction

State Key: leer lassen

Event Content:

{
"m.relates_to": {
"rel_type": "m.annotation",
"event_id": "$164569109460761pvPSY:matrix.org",
"key": "BOMP!"
}
}

Send

Tombstone Event

Chat /devtools

Send Custom Event

Rechts unten roten Button Event drücken

Event Type: m.room.tombstone

State Key: leer lassen

Event Content:

{
"body": "This room has been replaced",
"replacement_room": "!ERZvriGbDxJDxaCBxX:matrix.org"
}

Send

Inactive room blocking address

IIRC you can request release of alias at support@matrix.org