0.16.0 • Published 4 years ago

my-manga v0.16.0

Weekly downloads
26
License
MIT
Repository
github
Last release
4 years ago

My Manga

A Free Comics Management.

Install

npm install my-manga -g --production

Usage

  1. Init my-magna app
mmg init your-app
  1. Edit /your-app/settings.json
{
  "name": "Zoo",
  "repos": [
    "C:\\repo-a",
    "D:/repo-b"
    "/volume1/repo-c"
  ],
  "server": {
    "port": 3033,
    "ssl": true,
    "cert": "/your/path/cert.pem",
    "key": "/your/path/key.pem",
  }
}
  • name: string optional - as $APP_NAME
  • repos: strng[] - Multiple repos
  • server: Object optional
    • port: number - Server port
    • ssl: boolean - Enable https
    • cert: string - Path to ssl cert file
    • key: string - Path to ssl key file
  1. Start app
cd your-app
mmg start

#or
mmg start --app-data=/dir/you-app

Options

Usage: start [options]

start my manga server

Options:
  -o, --open .................. open browser after starting the server
  -p, --port .................. port to use (default: 3033)
  --app-data .................. specify app data dir
  -h, --help .................. output usage information

Comic Naming

Chapters

Chapters of a comic can be stored together and presented as a single title. Place each comic chapter in the same folder and give each chapter a name with the folder name as a prefix as seen below.

/Comics
  /Zoo
    /cover.{ext} <-- default cover
    /Zoo - Chapter-1
    /Zoo - Chapter-2
    /Zoo - Chapter-3
    /Zoo - Chapter-4
    /Zoo - Chapter-5
    /Zoo - Chapter-6

To distinguish between chapters, each filename needs to have a space, hyphen, space.

Version

Version of a comic can be placed between brackets added to the end of filenames.

/Comics
  /Foo [DL版]
  /Bar [English]
  /Baz [中国翻译]

Multi-version

You can also store multiple versions of a comic in a single folder as versions. Versions should be placed between brackets with the same result as seen below.

/Comics
  /Zoo
    /cover.{ext} <-- default cover
    /Zoo [720]
    /Zoo [Digital]
    /Zoo [Full Color]
    /Zoo [PDF].pdf
    /Zoo [Motion].mp4

Browsers support

  • Chrome (last 2 versions)
  • Safari (last 2 verions)

License

MIT

Copyright (c) 2019-present, takumiao13