An alleged daily mirror of Neko's mastodont-c library for Treebird https://code.nekobit.net/fossil/mastodont-c/home
Go to file
nekobit 536226e3ab Error reports
FossilOrigin-Name: 3894e3250544d5d0ec16f31e9d84cfd18df0b06373d4f2ac1c909a2718a2451a
2023-06-01 03:20:06 +00:00
.fossil-settings Switch to premake4 for compat 2023-03-23 11:49:29 +00:00
include More bugs and debugging process 2023-03-07 03:17:30 +00:00
libs/cjson use local cJSON dep 2022-06-05 19:23:52 +00:00
src Error reports 2023-06-01 03:20:06 +00:00
tests Play around with Premake build system 2023-03-17 03:13:03 +00:00
Doxyfile Docs 2022-06-26 06:04:41 +00:00
LICENSE Bump 2023-03-23 11:49:52 +00:00
mastodont.pc pkg-config Requires 2023-03-23 14:23:54 +00:00
premake4.lua Compat 2023-05-27 01:06:08 +00:00
README.md Play around with Premake build system 2023-03-17 03:13:03 +00:00

Mastodont-c

  • NOTE: API is not stable yet. Please be patient.

Mastodont-c is a C library to access the Mastodon API and it's variants (Pleroma, Akkoma, Soapbox).

It was written in C due to it's portability. It's designed to be used in Treebird, but it can be used in other programs as well. In fact, there are tests specifically designed to showcase it's power

Build system

Mastodont-c uses a pretty quirky build system called Premake5 mainly just to make me happy and for portability. I plan on writing some neat little Java bindings for this library someday to see if I can expand it onto other platforms :-)

On UNIX-like systems...

$ premake5 gmake

(Silly systems can use --os bsd to force it)

Documentation

Documentation is essentially non-existant, but this will improve over time.