Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/git-bruh/libmatrix
C library for interacting with the federated Matrix communications protocol.
https://github.com/git-bruh/libmatrix
c libcurl matrix matrix-org matrix-sdk
Last synced: 4 months ago
JSON representation
C library for interacting with the federated Matrix communications protocol.
- Host: GitHub
- URL: https://github.com/git-bruh/libmatrix
- Owner: git-bruh
- License: mit
- Created: 2021-12-06T05:11:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T12:17:01.000Z (over 2 years ago)
- Last Synced: 2024-09-30T02:40:59.540Z (4 months ago)
- Topics: c, libcurl, matrix, matrix-org, matrix-sdk
- Language: C++
- Homepage:
- Size: 130 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# libmatrix
C library for interacting with the federated Matrix communications protocol.
# Pre-requisites
* C11 Compiler
* Meson
* [cJSON](https://github.com/DaveGamble/cJSON)
* [cURL](https://github.com/curl/curl)
# Building
Run `meson . build` and `ninja -C build`. The library will be located at `build/libmatrix.a`.
# Usage
...
# Contributing
Contributions are always welcome, the following points should be kept in mind:
* Pass `-Db_sanitize=address,undefined` to `meson` to enable sanitizers which help in finding memory leaks or undefined behaviour.
* Before submitting a PR, format the code with `ninja -C build clang-format` which runs `clang-format`.