Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voronchuk/ex_matrix_api
Elixir API to communicate with Matrix Synapse
https://github.com/voronchuk/ex_matrix_api
Last synced: 27 days ago
JSON representation
Elixir API to communicate with Matrix Synapse
- Host: GitHub
- URL: https://github.com/voronchuk/ex_matrix_api
- Owner: Voronchuk
- License: mit
- Created: 2020-06-24T17:15:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T14:06:50.000Z (over 4 years ago)
- Last Synced: 2024-10-29T08:42:15.286Z (about 2 months ago)
- Language: Elixir
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ExMatrixApi
Elixir API to communicate with Matrix SynapseCurrently it's work in progress for internal usage, missing tests, use at your own risk.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `ex_matrix_api` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:ex_matrix_api, "~> 0.1.2"}
]
end
```## Configuration example
```elixir
# Configure access to Matrix Synapse
config :ex_matrix_api, ExMatrixApi.Synapse,
host: "matrix.local",
registration_secret: "__some_secret_key__",
http_client: UtilsHttp.Client.HTTPoison, # configured by default
uuid_function: &Ecto.UUID.generate/0 # any uuid4 generator function
```