#chapter #manga #download #manga-dex #offline #manage #settings

bin+lib mangadex-desktop-api2

A Actix server for downloading manga, chapters, covers from Mangadex

31 releases

new 0.6.0-alpha.6 Apr 25, 2024
0.6.0-alpha.5 Mar 11, 2024
0.6.0-alpha.4 Feb 5, 2024
0.6.0-alpha.2 Dec 29, 2023
0.1.6 Mar 28, 2023

#230 in Configuration

Download history 182/week @ 2024-01-01 42/week @ 2024-01-15 93/week @ 2024-01-22 64/week @ 2024-02-12 70/week @ 2024-02-19 582/week @ 2024-02-26 272/week @ 2024-03-04 1520/week @ 2024-03-11 210/week @ 2024-03-18 12/week @ 2024-03-25 94/week @ 2024-04-01 250/week @ 2024-04-08 212/week @ 2024-04-15

569 downloads per month

MIT/Apache

250KB
7K SLoC

special eureka (mangadex-desktop-api2)

Rust

What is this??

It's a ... um ... i don't know what to describe this but it's just a system to download and manage the offline data of the special-eureka app.
It's built in Rust and use actix for the service

How it work??

It's basically a Actix server deployed locally in your device.

Setting dir

When you launch the app, it will verify if a "settings" dir is set, if not, it will generate the settings dir. Inside this directory, you will find normally those files:

  1. files-dirs.json: The app use this file for "managing your data". There are the keys inside:

    • "data" : is the path where the app store the ressources, by default, it's "data"
    • "chapters" : is the path where the app store the downloaded chapters (it's relative to data directory by the way), by default, it's "chapters"
    • "covers" : is the path where the app store the downloaded covers (relative to data directory by the way), by default, it's "covers"
    • "mangas" : is the path where the app store the downloaded mangas (relative to data directory too), by default, it's "mangas"
    • "history" : is a special directory where the app store the download history
  2. server-options.json: used to launch the actix server:

    • "hostname" : the hostname (it's naturally the IP address), by default, it's "127.0.0.1" (localhost)
    • "port" : the port where the app will be deployed, by default, it's "8145"

How to use it??

  1. Install Rust
  2. Clone this repository
  3. Run the app by typing in your terminal :

cargo run

Normally, the app should run on localhost:8145

API Endpoints

Actually, there are 32 endpoints in this app.
I will detail them in a near future but there is a Postman collection where you can download and use

Dependencies

~12–28MB
~440K SLoC