Skip to content

a-manga-thing/cpp-instance

Repository files navigation

Mangaloid Instance

C++ Implementation of Mangaloid instances.

Requirements

To compile this instance, you will need the Drogon HTTP application framework. You will also need its dependency libraries.

Furthermore, you need the Meson build system, CMake, the MagickWand ImageMagick C API, Botan, and the fmt C++20 formatting library.

Setup

#generate the database (optional)
sqlite3 database.db < schema.sql

#build
meson build
ninja -C build

Usage

Read config.json for instructions on how to configure your instance.

build/instance

NOTE: schema.sql comes with debug data

Admin API

POST /mod/login takes a json object with the fields "name" and "pass" as argument, and returns a JSESSIONID cookie.

POST /mod/manga, DELETE /mod/manga, and PUT /mod/manga take a manga encoded as a json object.

POST /mod/chapter, DELETE /mod/chapter, and PUT /mod/chapter take a chapter encoded as a json object.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages