C++ wrapper for the Mastodon and Pleroma APIs.
Go to file
tastytea 270359f719
All checks were successful
continuous-integration/drone/push Build is passing
Add curl to dependency list.
2020-01-05 13:46:24 +01:00
cmake Add curl as dependency to CMake config and pkg-config recipe. 2020-01-04 11:46:10 +01:00
examples
include Updated example in documentation. 2020-01-05 13:40:21 +01:00
pkg-config Add curl as dependency to CMake config and pkg-config recipe. 2020-01-04 11:46:10 +01:00
src Include function name instead of file name in debuglog. 2020-01-05 12:41:25 +01:00
tests Renamed “Request” to “Connection”. 2020-01-05 09:38:13 +01:00
.drone.yml CI: Add libcurl4-openssl-dev to dependencies. 2020-01-04 11:52:03 +01:00
.editorconfig
.gitignore
build_doc.sh
CMakeLists.txt Explicitly set NDEBUG for non-debug builds. 2020-01-05 12:45:50 +01:00
CODE_OF_CONDUCT.adoc
CONTRIBUTING.adoc
Doxyfile
LICENSE
README.adoc Add curl to dependency list. 2020-01-05 13:46:24 +01:00

mastodonpp

mastodonpp is a C++ wrapper for the Mastodon API. It replaces mastodon-cpp.

Table of Contents

Usage

Have a look at the reference.

Install

From source

Dependencies

  • Tested OS: Linux

  • C++ compiler (tested: GCC 7/8/9)

  • CMake (at least: 3.9)

  • curl (tested: 7.66 / 7.58)

  • Optional

    • Documentation: Doxygen (tested: 1.8)

    • Tests: Catch (tested: 2.5 / 1.2)

Get sourcecode

Release

Download the current release at schlomp.space.

Development version
git clone https://schlomp.space/tastytea/mastodonpp.git

Compile

mkdir -p build && cd build
cmake ..
cmake --build . -- -j$(nproc --ignore=1)
CMake options:
  • -DCMAKE_BUILD_TYPE=Debug for a debug build.

  • -DWITH_TESTS=YES if you want to compile the tests.

  • -DWITH_EXAMPLES=YES if you want to compile the examples.