{"repo":"Nheko-Reborn/mtxclient","free":true,"listed":false,"github":"https://github.com/Nheko-Reborn/mtxclient","clone":"git clone https://github.com/Nheko-Reborn/mtxclient.git","description":"Client API library for Matrix, built on top of libcurl","language":"C++","stars":44,"topics":["matrix","async","hacktoberfest"],"license":"MIT","category":"chat-messaging","readme_excerpt":"mtxclient --- Client API library for the Matrix protocol. Build instructions Dependencies - Coeurl (A C++ wrapper around curl.) - OpenSSL - C++ 20 compiler - CMake 3.15 or greater (lower versions can work, but not all build system options may work.) - Google Test (for testing) - spdlog (for logging) If you are missing some or all of those above dependencies, you can add -DHUNTER ENABLED=ON to the cmake configure command to use bundled dependencies. You can finetune them with the following variables. They default to ON, if Hunter is enabled and to OFF otherwise. cmake flag description --------------------- ------------- USE BUNDLED COEURL Use the bundled version of coeurl. USE BUNDLED LIBEVENT Use the bundled version of libevent (coeurl dependency). USE BUNDLED LIBCURL Use the bundled version of curl (coeurl dependency). USE BUNDLED COEURL Use the bundled version of coeurl. USE BUNDLED SPDLOG Use the bundled version of spdlog. USE BUNDLED OLM Use the bundled version of libolm. USE BUNDLED GTEST Use the bundled version of Google Test. USE BUNDLED JSON Use the bundled version of nlohmann json. USE BUNDLED OPENSSL Use the bundled version of OpenSSL. USE BUNDLED RE2 Use the bundled version of re2. Below is an example which will build the library along with the tests & examples. Linux macOS You will need to pass as argument ( -DOPENSSL ROOT DIR ) the installation root of openssl. You can toggle off the tests & examples by passing -DBUILD LIB TESTS=OFF & -DBUILD LIB EXAMPLES=OFF res","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nheko-Reborn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nheko-Reborn/mtxclient/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}