<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.aagrinder.xyz/index.php?action=history&amp;feed=atom&amp;title=Bridging_to_Matrix</id>
	<title>Bridging to Matrix - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.aagrinder.xyz/index.php?action=history&amp;feed=atom&amp;title=Bridging_to_Matrix"/>
	<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;action=history"/>
	<updated>2026-05-05T22:19:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44909&amp;oldid=prev</id>
		<title>Maze2: /* Prerequisites */ not necessarily Synapse</title>
		<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44909&amp;oldid=prev"/>
		<updated>2024-08-01T10:41:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Prerequisites: &lt;/span&gt; not necessarily Synapse&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:41, 1 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Prerequisites ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Prerequisites ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will need a Matrix Synapse &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;homeserver&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will need a Matrix &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;homeserver with support for appservices, for example &lt;/ins&gt;Synapse.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maze2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44908&amp;oldid=prev</id>
		<title>Maze2: /* AAGRINDER server configuration */ fix typo</title>
		<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44908&amp;oldid=prev"/>
		<updated>2024-08-01T10:40:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;AAGRINDER server configuration: &lt;/span&gt; fix typo&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:40, 1 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_id&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;aagrinder&amp;#039;&amp;#039;&amp;#039; (unless you already have an appservice with this ID)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_id&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;aagrinder&amp;#039;&amp;#039;&amp;#039; (unless you already have an appservice with this ID)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_url&amp;#039;&amp;#039;&amp;#039; to the URL where the AAGRINDER server will be accessible from Synapse, port included. This might be for example &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://172.17.0.1:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_url&amp;#039;&amp;#039;&amp;#039; to the URL where the AAGRINDER server will be accessible from Synapse, port included. This might be for example &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://172.17.0.1:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_domain&amp;#039;&amp;#039;&amp;#039; to the name of your Matrix homeserver &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;name&lt;/del&gt;, for example &amp;#039;&amp;#039;&amp;#039;myawesomedomain.net&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_domain&amp;#039;&amp;#039;&amp;#039; to the name of your Matrix homeserver, for example &amp;#039;&amp;#039;&amp;#039;myawesomedomain.net&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_bindadress&amp;#039;&amp;#039;&amp;#039; to the address where AAGRINDER will be listening for requests from Synapse. This might be &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;172.17.0.1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_bindadress&amp;#039;&amp;#039;&amp;#039; to the address where AAGRINDER will be listening for requests from Synapse. This might be &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;172.17.0.1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_port&amp;#039;&amp;#039;&amp;#039; to the port number on which AAGRINDER will be listening for requests from Synapse. The default is 8433.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_port&amp;#039;&amp;#039;&amp;#039; to the port number on which AAGRINDER will be listening for requests from Synapse. The default is 8433.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maze2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44856&amp;oldid=prev</id>
		<title>Maze: /* Appservice registration */ fix typo</title>
		<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44856&amp;oldid=prev"/>
		<updated>2024-05-15T15:27:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Appservice registration: &lt;/span&gt; fix typo&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:27, 15 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Appservice registration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Appservice registration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Generate your appservice registration file by running the following command in the AAGRINDER server &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;direcory&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Generate your appservice registration file by running the following command in the AAGRINDER server &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;directory&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;npm run registration&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;npm run registration&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maze</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44840&amp;oldid=prev</id>
		<title>Maze: These dependencies are now optional too</title>
		<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44840&amp;oldid=prev"/>
		<updated>2022-10-18T15:47:58Z</updated>

		<summary type="html">&lt;p&gt;These dependencies are now optional too&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:47, 18 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;npm install matrix-bot-sdk sharp&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;npm install matrix-bot-sdk sharp &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;uuid js-yaml&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== AAGRINDER server configuration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== AAGRINDER server configuration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maze</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44833&amp;oldid=prev</id>
		<title>Maze: Instructions to bridge to Matrix using appservice or bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.aagrinder.xyz/index.php?title=Bridging_to_Matrix&amp;diff=44833&amp;oldid=prev"/>
		<updated>2022-09-08T12:31:14Z</updated>

		<summary type="html">&lt;p&gt;Instructions to bridge to Matrix using appservice or bot&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;AAGRINDER in-game chat can be bridged to [[wikipedia:Matrix_(protocol)|Matrix]]. There are two ways to achieve this: setting up a Matrix appservice, or setting up a Matrix bot.&lt;br /&gt;
&lt;br /&gt;
== Setting up AAGRINDER Matrix Appservice ==&lt;br /&gt;
&lt;br /&gt;
AAGRINDER can be bridged to Matrix as an appservice. An appservice is a component (&amp;quot;plugin&amp;quot;) of your Matrix homeserver, able to create new accounts to represent in-game users. This is the recommended way to bridge AAGRINDER to Matrix.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
You will need a Matrix Synapse homeserver.&lt;br /&gt;
&lt;br /&gt;
In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;npm install matrix-bot-sdk sharp&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== AAGRINDER server configuration ===&lt;br /&gt;
&lt;br /&gt;
In your &amp;#039;&amp;#039;&amp;#039;config.json&amp;#039;&amp;#039;&amp;#039; in the AAGRINDER server directory, set the following configuration parameters:&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_room_id&amp;#039;&amp;#039;&amp;#039; to the ID of the room where you would like bridged messages to appear (begins with a &amp;quot;!&amp;quot;)&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_homeserver_url&amp;#039;&amp;#039;&amp;#039; to the full URL to your Synapse instance (eg. &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;https://matrix.myawesomedomain.net&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_enabled&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_id&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;aagrinder&amp;#039;&amp;#039;&amp;#039; (unless you already have an appservice with this ID)&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_url&amp;#039;&amp;#039;&amp;#039; to the URL where the AAGRINDER server will be accessible from Synapse, port included. This might be for example &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://172.17.0.1:8433&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_domain&amp;#039;&amp;#039;&amp;#039; to the name of your Matrix homeserver name, for example &amp;#039;&amp;#039;&amp;#039;myawesomedomain.net&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_bindadress&amp;#039;&amp;#039;&amp;#039; to the address where AAGRINDER will be listening for requests from Synapse. This might be &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039;, or, if Synapse will be running in Docker, something like &amp;#039;&amp;#039;&amp;#039;172.17.0.1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_appservice_port&amp;#039;&amp;#039;&amp;#039; to the port number on which AAGRINDER will be listening for requests from Synapse. The default is 8433.&lt;br /&gt;
&lt;br /&gt;
=== Appservice registration ===&lt;br /&gt;
&lt;br /&gt;
Generate your appservice registration file by running the following command in the AAGRINDER server direcory:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;npm run registration&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;mx-aagrinder-registration.yaml&amp;#039;&amp;#039;&amp;#039; will be created. Verify that the bind address is correct (see previous section).&lt;br /&gt;
&lt;br /&gt;
Copy the AAGRINDER registration file to an accessible directory for the Matrix server (for example next to &amp;#039;&amp;#039;&amp;#039;homeserver.yaml&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;&amp;#039;homeserver.yaml&amp;#039;&amp;#039;&amp;#039;. Add the path to the AAGRINDER registration file in the section &amp;#039;&amp;#039;&amp;#039;app_service_config_files&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Restart Synapse and AAGRINDER.&lt;br /&gt;
&lt;br /&gt;
== Setting up AAGRINDER Matrix bot ==&lt;br /&gt;
&lt;br /&gt;
AAGRINDER can be bridged to Matrix through a bot user. The bot is a regular Matrix account. The AAGRINDER server will have the access token of the account and will be able to control it.&lt;br /&gt;
&lt;br /&gt;
Please note that this method has not been tested in a long time because the appservice way is better. You really should run your own Matrix server, even if you have it only for the AAGRINDER bridge.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
You will need a new Matrix account that you are not using for anything else. Join the room where you would like the bridged messages to appear.&lt;br /&gt;
&lt;br /&gt;
In the AAGRINDER server directory, run the following command to install the optional dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;npm install matrix-bot-sdk sharp&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== AAGRINDER server configuration ===&lt;br /&gt;
&lt;br /&gt;
In your &amp;#039;&amp;#039;&amp;#039;config.json&amp;#039;&amp;#039;&amp;#039; in the AAGRINDER server directory, set the following configuration parameters:&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_room_id&amp;#039;&amp;#039;&amp;#039; to the ID of the room where you would like bridged messages to appear (begins with a &amp;quot;!&amp;quot;)&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_homeserver_url&amp;#039;&amp;#039;&amp;#039; to the full URL to your Synapse instance (eg. &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;https://matrix.example.com&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_bot_enabled&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* set &amp;#039;&amp;#039;&amp;#039;matrix_bot_access_token&amp;#039;&amp;#039;&amp;#039; to the Matrix account&amp;#039;s access token, which you can extract from any Matrix client where the account is currently logged in.&lt;br /&gt;
&lt;br /&gt;
Restart AAGRINDER for changes to take effect.&lt;/div&gt;</summary>
		<author><name>Maze</name></author>
		
	</entry>
</feed>