Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
/ EnHancer Public archive

EnHancer for LANraragi.

License

Notifications You must be signed in to change notification settings

xiazeyu/EnHancer

Repository files navigation

EnHancer

LANraragi is a nice app for managing comics and manga. Now it has the ability to download comic. That can make it an entry for comic world, both download and read can be in it.

However, this solution has several problems, including:

  • Backup JSON is not quite readable for EH related plugins, so other operations like check-update and cross-application can be limited.

  • Metadata may lost if operated improperly, even if the comic zip file exists, it is hard to recover its original URL and meta info.

Using downloader like E-Hentai-Downloader can have problem like:

  • Change the hash of original zip file.

To solve it. I decided to write this project to solve these problems:

  • Generate per-file eze style JSON from LANraragi Backup JSON or existing zip file.

  • Check if gallery is updated from LANraragi Backup JSON.

TODO:

  • get external eze style JSON (by matching title or by matching source URL)
    • from URL
    • from LANraragi Backup JSON
    • [ ] from existing zip file
      • [ ] by title
      • [ ] by the source URL in zip file's info.json
  • let LANraragi plugin to support external eze style JSON
    • LANraragi #498
    • LANraragi #584
    • eze plugin enhancement (make it more like EH plugin)
  • gallery update checker visible == true
    • [ ] from URL
    • from LANraragi Backup JSON

Usage

Put backup.json in the folder, use node parseBackup.js. The output eze-style json file will be in output/ folder, named by filename in backup.json.

References:

https://github.com/dnsev-h/ehentai-archive-info

https://github.com/xiazeyu/hentaiTagger4calibre

Difegue/LANraragi#498

Difegue/LANraragi#584