Skip to content

pierld/EMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMS

[!] installation

install : Hakuneko

install : Kindle Comic Converter

Python installation, in a new terminal:

cd ; conda deactivate
conda create -n ems python=3.10
conda activate ems
cd <main-folder-path-frm-root>
pip install -r requirements.txt
cd main
python3 ems_run.py

Edit .zshrc file to add the following command:

alias ems@r="conda activate ems  && cd <main-folder-path-frm-root> && python3 ems_run.py ; conda deactivate && cd"

[!] ems_folder_pth.py : edit paths used

global today, base_path, clean_path, output_dir, cover_dir, git_pth, hk_chapt_name, converted

#==== BASE_PATH used ====
cover_dir = '/Volumes/222EXT/222Covers/'
base_path = "/Volumes/222EXT/222Mangas_input/"
clean_path = "/Volumes/222EXT/222Mangas_clean/"
output_dir = '/Volumes/222EXT/222Mangas_output/'
converted = '/Volumes/222EXT/Converted/'
#git_pth = "https://github.com/PierreRlld/EMS"

# Chapitres avec noms différents de "Ch.X" ou "Chapter X"
# Compléter la liste si nécessaire
hk_chapt_name = ['Page',
                 'Days',
                 'Kapitel',
                 'Lesson',
                 'Level',
                 'Episode',
                 'No.',
                 'Quarter',
                 "#",
                 "Prologue",
                 "Class",
                 "Z="]

Architecture

# Base storage
├── /Volumes/222EXT/
│
│   # Variable: cover_dir
│   # Cover storage folder
│   ├── 222Covers
│   │   ├── (xxx)
│   │   │    ├── 1.jpeg
│   │   │    └── [...].jpeg 
│   │   └── [...]
│   │
│   # Variable: base_path 
│   # Hakuneko download output folder
│   # Folders'name (xxx) = 'Manga_path' in origin.xlsx
│   # 'Chapt xxx' is an empty folder once 'ems_chapt_central.py' ran
│   ├── 222Mangas_input 
│   │   ├── (xxx)
│   │   │    ├── 'Chapt xxx'
│   │   │    │    └── *empty* 
│   │   │    ├── 'Chapt xxx'
│   │   │    │    └── *empty*
│   │   │    └── [...]
│   │   └── [...]
│   │
│   # Variable: clean_path
│   # Cleaned version of previous folder
│   # Updated with 'ems_chapt_central.py'
│   ├── 222Mangas_clean
│   │   ├── (xxx)
│   │   │    ├── 'Vol.X Chapter X'
│   │   │    ├── 'Vol.X Chapter X'
│   │   │    └── [...]
│   │   └── [...]
│   │
│   # Variable: output_dir
│   # Code output folder for 'ems_run.py'
│   └── 222Mangas_output
│   │   ├── (xxx)
│   │   │    ├── 'XXX Vol.X.zip'
│   │   └── [...]
│   │
│   # Variable: converted
│   # Stores hand-converted files
│   # 'TBD update' option tries to replace 'XXX TBD.cbz'
│   └── Converted
│   │   ├── (xxx)
│   │   │    ├── 'XXX Vol.X.cbz'
│   │   └── [...]

Available

Manga Chapt Vol Source Statut /!\ N.B /!\
20th Century Boys F 22 MS Ch223img2 / Ch225img1
21st Century Boys F 2 MS
Akame ga Kill F 15 MS
Akame ga Kill - Zero F 10 MS
Akira F 6 MS
Assassination Classroom F 21 MS
Bakemonogatari 157 18 MS  + manga-scan.co
Baki1 - Grappler 371 42 MS
Baki2 - New Grappler 31 31 MS
Baki3 - Hanma: son of ogre 312 37 MS
Baki4: Baki-dou1 198 22 MS
Baki5: Baki-dou2 151 17 MS
Black Clover 368 35 MS
Berserk 374 41 MS
Berserk prologue F 4 MS /!\ Créer dossier Berserk_prologue & déplacer Prologue du dossier Berserk
Bleach F 74 MS
Blue Lock 233 25 MS
Chainsaw Man 143 15 MS
Choujin X 41 6 MS
Detective Conan 1118 103 MN Vol.3 End Of Volume Bonus Page
Dragon Ball F 42 MC
Dragon Ball Super 89 19 MC Ch34img07,27,39
Death Note F 12 MS
Demon Slayer F 23 MS
Dr Stone F 26 MS
Dr Stone - Byakuya F 1 MS
Fire Force 304 34 MS
Full Metal Alchemist F 27 MN
Gamaran F 22 MS
Gantz F 37 MS
Gintama F 77 MS
GTO F 25 MF
Hell's Paradise F 13 MS
Hunter X Hunter 400 37 MS
Ikigami 60 10 MS
Blade of the Immortal F 30 MS
Hajime no Ippo 1433 138 MS
Issak 41 9 MN
Jagaaan 161 14 MS
Jujutsu Kaisen 236 23 MS DL jusqu'au 594 !
Jojo1 F 5 MC
Jojo2 F 12 MC
Jojo3 F 28 MC
Jojo4 F 46 MC
Jojo5 F 63 MC
Jojo6 F 17 MS
Jojo7 F 24 MS
Jojo8 F 27 MS
Jojo9 7 1 MS
Kaiju No. 8 93 10 MS
Kingdom 768 70 MS
Kuroko no Basket F 30 MS
Mariko F 1 MS
Mashle 162 16 MF
My Hero Academia 400 38 MS
Mob Psycho 100 F 16 MS
Monster F 18 MS
Montage F 19 MS
Moriarty 76 19 MS
Naruto F 72 MS
Nanatsu no Taizai F 41 MF
Noragami 107 26 MS
One Piece 1092 106 MS
Onepunch Man 189 27 MN
Prison School F 28 MS
Sakamoto Days 135 13 MS
Sidooh F 25 MS
Sun-ken Rock F 0 MS
Slamdunk F 31 MF
Shingeki no Kyojin F 34 MS
Soul Eater F 25 MS
Spy X Family 85 11 MF
Saint Seiya - The Lost Canva F 0 MJ
The Way of the House Husband 104 11 MF
Tokyo Ghoul F 14 MS
Tokyo Ghoulre F 16 MS
Tokyo Revengers F 31 MS
Vagabond F 37 MN
Vinland Saga 203 27 MS
Yu-Gi-Oh F 19 SS

Notes

  • Si pb Kindle converter conversion zip avec erreur " '._(...).jpeg' corrompu " deziper et convertir le dossier