45 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Matrix Gateway
 | 
						|
[](https://drone.communiquons.org/pierre/MatrixGW)
 | 
						|
 | 
						|
Project that expose a simple API to make use of Matrix API. It acts as a Matrix client (like Element for example)
 | 
						|
 | 
						|
**Known limitations**:
 | 
						|
 | 
						|
- Supports only a limited subset of Matrix API
 | 
						|
- Does not support E2E encryption
 | 
						|
- Does not support spaces
 | 
						|
 | 
						|
Project written in Rust. Releases are published on Docker Hub.
 | 
						|
 | 
						|
## Docker image options
 | 
						|
```bash
 | 
						|
docker run --rm -it docker.io/pierre42100/matrix_gateway --help
 | 
						|
```
 | 
						|
 | 
						|
## Setup dev environment
 | 
						|
```
 | 
						|
mkdir -p storage/maspostgres storage/synapse storage/minio
 | 
						|
docker compose up
 | 
						|
```
 | 
						|
 | 
						|
To create default account, in another terminal, run the following command:
 | 
						|
 | 
						|
```bash
 | 
						|
docker compose --profile create-accounts up -d
 | 
						|
```
 | 
						|
 | 
						|
URLs:
 | 
						|
* Element: http://localhost:8080/
 | 
						|
* Synapse: http://localhost:8448/
 | 
						|
* Matrix Authentication Service: http://localhost:8778/
 | 
						|
* OpenID configuration: http://127.0.0.1:9001/dex/.well-known/openid-configuration
 | 
						|
* Minio console: http://localhost:9002/
 | 
						|
 | 
						|
Auto-created Matrix accounts:
 | 
						|
 | 
						|
* `admin1` : `admin1`
 | 
						|
* `user1` : `user1`
 | 
						|
 | 
						|
Minio administration credentials: `minioadmin` : `minioadmin`
 | 
						|
 |