You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-11Lines changed: 37 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,12 @@ Not living in Japan has me not really having any readable access of weekly chapt
11
11
12
12
M2em let's you automatically download Mangas via RSS Feed that updates at a configurable interval (and comics in the future?), convert them into eMangas and send them off via Email (Target being the Email to Kindle function of Amazon)!
13
13
14
+
## Supported Websites
15
+
16
+
* Mangastream
17
+
* MangaFox
18
+
* Cdmnet
19
+
14
20
# Setup
15
21
16
22
M2em requires Python3 and I highly recommend working in a virtualenv. Some OS require the python-dev package!
@@ -39,6 +45,24 @@ deactivate
39
45
40
46
Get Kindlegen here: https://www.amazon.com/gp/feature.html?docId=1000765211
41
47
48
+
## Docker Setup
49
+
You can use the Dockerfile or the image schemen/m2em. All options in the config.ini are available as environment variable. Make sure you write the exactly the same!
50
+
51
+
Example Compose file:
52
+
```
53
+
version: '2'
54
+
services:
55
+
m2em:
56
+
image: schemen/m2em:latest
57
+
environment:
58
+
- SMTPServer=mail.example.com
59
+
- EmailAddress=comic@example.com
60
+
- EmailAddressPw=verysecurepassword
61
+
volumes:
62
+
- <DATA_DIRECTORY>:/usr/src/app/data
63
+
64
+
```
65
+
42
66
## Concept
43
67
As a concept, M2em has different workers that run in a loop. All Chapter/user data is saved in a SQLite3 Database.
44
68
* RssParser - Parsing the RSS feed and saving the information of each chapter
@@ -64,15 +88,16 @@ Example: if you wish to download all chapters you have saved in your database, y
64
88
You can directly apply an action to one chapter with the options --download, --convert or --send. You need to pass
65
89
the ID of said chapter, you can find that out with "-Lc" or "-lc".
66
90
You can pass multiple IDs.
67
-
Example:
91
+
92
+
Also, you can process N chapters with the "--process/-p" option:
68
93
```
69
-
./m2em.py --download 100 #Downloads chapter with ID 100
94
+
./m2em.py -p 100 #Downloads, Converts and Sends chapter with ID 100
70
95
```
71
96
72
97
73
-
## Supported Websites
74
-
* Mangastream
75
-
* MangaFox
98
+
```
99
+
./m2em.py --download 100 #Downloads chapter with ID 100
0 commit comments