How to bridge the disagreement in Matrix
Disagreement: The clear winner in light text and voice chat in the game area.Support Open Source projects, it is not open source in itself.It works well and you can have your own (virtual) served for only your friends, sowhat's the problem?
If you are like me,You may be worriedWith who has access to your data and messages, and are dependent on a third party not to close your server, you do not sell and do not support the product., It is another reason to explore other options.
Perhaps the best and most used protocol isMatrix open standard(usually withConclusion, the reference server), combined with a popular client whoElement(earlierUprising).
EnterMatrixbroer: A (not difficult) way to bring other platforms to matrix.In this case you can show your disagreement on your favorite matrix client and chat on Discord where your friends are not wiser.Bring them to your Matrix server, as when I changed my Discord server name to "Why not Matrix?".
That hereMatrix-Discord BridgeWith this you can basically do everything you could do in the disagreement of Matrix.Do you want to see what is immediately reflected on the matrix side.Depending on how you set it (see below) people on Discord will not see any change, otherwise you will get a BOT label (to fool your friends).
Unfortunately you cannot jump on a speech canal or make video chat with discord (element pair beautiful with built -in -open sourceTo winSupport) or (still) import old messages, but otherwise everything works quite a lot -the big barrier is to have a matrix server with which you can make the bridge work (the bridge can be on a separate machine) but is easy to makeAdd if you already have a Raspberry Pi -Home server.Or your options are your options to ask someone who runs a matrix server to allow or set the bridge or to use an external hosting option (or perhaps the bridge will be performed completely separatelyMatterBridge) Of course you still use Discord, but at least more on your own conditions and consolidated on open source infrastructure.
So how do we do this? (This guide does not coverInstallation of Synaps, which is perhaps more complicated, but well online is documented and available at many hosting services and Distros or byDocker.)
Installation and configuration
The following is a basic guide for rolling with the Broda formation of disagreement and matrix that I did on my Raspberry Pi 4, which also has and has my synapse server switched onBuearmI will refer to the bowGOLDPackages, the majority of this is generally true.
to installMX-Puppet-discord(You should use the AUR -PACK for bowMX-Puppet-Discord-Git;There is also a Docker -image available)
The AUR -Pack places configuration files
/etc/mx-puppet-discord/
and have a useful message after installation (where assignments must be carried out asfishing
):# After editing /etc/mx-puppet-discord/config.yaml, generate a registration file with: node /usr/lib/node_modules/mx-puppet-discord/build/index.js -c/etc/mx-puppet-Discord/config.yaml -r -f /wort/registration.yamlchmod 640 /wortel/registration.yamlchown Rod: MX-Puppet-discord /wortel/registration.yamlmv /root/registration.yaml/etc/mx-ppet-discord/Registration.yaml# The instruction has changed somewhat upstream to prevent shared secrets from being made worldly readable on making Puppet-Discord Group: Usermod -AG MX-Puppet-Discord Synaps
Edit configuration: I updated
Domain
InHouse server aurl
added to my server and my userDetermination: white color
(to use) andRelay: White List
Section (for forwarding, see below)Perform the above assignments to generate the registration file used by synapse and to make it legible for that user
Add this registration file (full path) to the list of
app_service_config_files
of the Synapse configuration fileHomeServer.yaml
(located in/etc/synapse/
))Restart the synapse and start the bridge:
sudo SystemCtl GenStart Synapsesesudo SystemCtl Aktiver MX-Puppet-Discordsudo SystemCtl Start MX-Puppet-Discord
To check whether everything is in order, you can check the logs
Journalctl -u synaps
(ofMX-Puppet-discord
) of metSystemCTL -statussynaps
Bridging Worlds
Once the bridge is set, we can break Bridge!
First start a chat in matrix with bone (eg.@_discordpuppet_bot: yet yeterver.com
). You can sendStaff
To get a list of assignments andStaff
For a brief description of the assignments.
There are two options to bridge with disagreement, both with advantages and disadvantages:
- With a doll fine on Discord
This requires that the server manager invites your bone and your messages have a "bone" marking, even if it still looks like you and has your name.Configuration and short tests in this status, because I think it should work both sides.) Although this requires a little more setting to make a bone on your Discord account, there is no violation of the service conditions of theDiscord in contrast to: - Connect directly with your account with Discord
This is technically against the service conditions and can lead to prohibited or other consequences.configure.
For the first option this is what to do:
to followDirections on Readme, to go to Discord (site) who registers with your account, to make an application and then on the sidebar of "Bot"
Go to the Oauth2 tab, check "bone" in scopes (seeCreate a BOT account), add permissions to chat as desired and absorb webhooks for the correct forwarding (to make messages look like they came from the user who sent it)
Copy and open the link to invite a server (which you are authorized to manage) and authorize it
At the end of the matrix you use
Link Bot
With token from bot (see readme)You must see the server that is stated when you chat with bone on matrix
Listgilden
(ID is the doll number oflist
,,1
in all probability);Bruggift
met
shown from the listAnd then it should work!Once you have connected of course it is set to continue (as a userDecord) by sending bone
Settype
.relay
Just do it: To configure bridge formation with your account directly with your account:
- To followinstructionsTo get your user stuff;For the web app on Firefox filtered on "applications" there was only one mention, click on it and look at request heads
- Link it to sending Matrixbot
Link User Link
(token that you have just found);See step 5 above to bridge between disagreement and rooms
If you want it to look like the Matrix page of yourself, it comes out that you send "Double -Duck" from a Discord client .se Bro -configuration file for details: Add oneSynapse -server -modulAnd generating a shared secret..Kneed
Make your synapse server.There must be everything that is needed, if not I used the assignmentsetmatrixtoken
metMy access to item.
There you have it, disagreement and matrix, a bridge between the countries with open and closed source.I used it for a few weeks and worked well.And solves any problems.A Discord client for servers that I just look at messages and to chat once a week.)
I took the Discord Bridge and ran with it and addedSignalInWhatsappBridges for my matrix server using their aur packages.The setups are not too different and when I got bridges, it was even lighter.
If I can slowly get friends to move to Matrix with other chats that are bent until they all come to open source and open standards, the transition would be complete.