Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typenx NxManga Addon

Public-source manga page resolver for Typenx. Given a (manga_title, chapter_number) request, the addon iterates a configurable list of public sources until one returns the chapter pages, then hands the image URLs (with required referer headers) back to Typenx Core.

Run

cargo run --release

The addon listens on 127.0.0.1:8793 by default; override with PORT. The Typenx Core dev stack runs it on 8795 to avoid colliding with the Plex addon. Routes:

  • GET /health
  • GET /manifest
  • POST /manga/pages

Register it in Typenx Core as http://127.0.0.1:8793, or http://127.0.0.1:8795 when using core/scripts/dev-backend.ps1.

Sources

Each source has an env flag (NXMANGA_<NAME>_SOURCE) defaulting to true, plus an optional base-URL override for sources whose domains move. Sources are tried in the order below and the first one that returns pages wins.

APIs

  • NXMANGA_MANGADEX_SOURCEapi.mangadex.org. Best multilingual catalog, accepts MangaDex UUIDs in manga_id for direct lookup.
  • NXMANGA_COMICK_SOURCE — defaults to api.comickz.co.uk JSON API. Override host via NXMANGA_COMICK_API.

Aggregators (HTML)

  • NXMANGA_BATOTO_SOURCE — defaults to xbato.co.uk. Override via NXMANGA_BATOTO_BASE.
  • NXMANGA_MANGAPARK_SOURCE — defaults to mangapark.io. Override via NXMANGA_MANGAPARK_BASE.
  • NXMANGA_WEEBCENTRAL_SOURCE — defaults to weebcentral.com. Override via NXMANGA_WEEBCENTRAL_BASE.
  • NXMANGA_MANGAPILL_SOURCE — defaults to mangapill.com. Override via NXMANGA_MANGAPILL_BASE.
  • NXMANGA_MANGAKAKALOT_SOURCE — defaults to mangakakalot.gg. Override via NXMANGA_MANGAKAKALOT_BASE.
  • NXMANGA_MANGAFIRE_SOURCE — defaults to mangafire.to (uses its AJAX endpoints). Override via NXMANGA_MANGAFIRE_BASE.

Scanlator-focused

  • NXMANGA_ASURASCANS_SOURCE — defaults to asuracomic.net. Korean webtoon focus. Override via NXMANGA_ASURASCANS_BASE.
  • NXMANGA_TOONILY_SOURCE — defaults to toonily.com. Manhwa. Override via NXMANGA_TOONILY_BASE.

Other configuration

  • NXMANGA_LANGUAGE — preferred chapter language for sources that support it (MangaDex, ComicK, MangaFire). Defaults to en.

Notes

The HTML scrapers are best-effort: their selectors can break when sites redesign. Disable any failing source via its NXMANGA_<NAME>_SOURCE=false flag while you wait for a fix. Image URLs from public sources may require the source domain as referer; the addon attaches the right header on each page automatically. NxManga doesn't bundle media or credentials — deploy it where you control egress and respect each source's terms.

About

Typenx manga addon for owner-controlled manga sources.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages