Giter Club home page Giter Club logo

autokcc's Introduction

autoKCC

Using kcc, i found it very limiting that the docker was basically just a container that needed to be run every time we needed to make a conversion. Also, the file had to be specifically provided every time. AutoKCC comes to respond to those limitations.

autoKCC is a Python program that is based on kcc and adds 2 main features :

  • Monitor a folder for new files and automatically convert them based on the user's preferences
  • Make the container a running container that doesn't stop after 1 conversion

Installation

For a simple docker run :

docker run --name autokcc --restart unless-stopped \
  -v ./FOLDER1:/input \
  -v ./FOLDER2:/output \
  -e OPTIONS='' \
  ghcr.io/hvmzx/autokcc:main

For docker-compose :

autokcc:
  image: ghcr.io/hvmzx/autokcc:main
  container_name: autokcc
  volumes:
    - /FOLDER1:/input
    - /FOLDER2:/output
  environment:
    - OPTIONS=

Requirements :

  • Ebook name must be following the following format to correctly set the metadata in the ebook : "AUTHOR NAME - SERIES - CHAPTER" (ex: Oda Eiichiro - One Piece - Chapter 1052 New Morning)
  • FOLDER1 and FOLDER2 need to be replaced with the folders to mount, respectively matching the folder to monitor and the folder where the processed files will be moved to (both folders can be identical if you do not want to use another folder).
  • OPTIONS='' needs to be filled with the kcc options, documentation here. DO NOT add the -o option, it is already included and handled with the volume mounting strategy.

Usage

The input folder will be monitored and for every new manga deposited, it will be processed by kcc and then moved to the output folder.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

autokcc's People

Contributors

hvmzx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.