Code Monkey home page Code Monkey logo

mangalinker's Introduction

mangalinker

Hard links manga files from one folder to another for better naming convention

I'm too lazy to make a proper README If you know Docker, this is easy to run.

AI Generated TL;DR: Mangalinker is a Python-based application designed to monitor a specified directory for new manga files, process them according to predefined patterns, and organize them into a target directory. It also maintains a database of file mappings for easy management.

The following ENV variables are available:

SOURCE_PATH - The path to the source directory where the manga files are located.

TARGET_PATH - The path to the target directory where processed files will be hardlinked to.

Important: Target and Source path need to be mounted by the same docker volume, in order to appear like being on the same disk inside the container. Otherwise, hardlinking won't work.

DEBUG - Set to True to enable debug logging. Defaults to False.

SCAN_INTERVAL_SECONDS - The interval in seconds for the maintenance and directory scan operations. Defaults to 3600 (1 hour).

DATABASE_FOLDER = The folder the database will be saved in. Defaults to /database.

UMASK = The umask to run with. Defaults to 0022.

UID = The user to run under. Defaults to 99.

GID = The group to run under. Defaults to 100.

Example:

docker run -d \
  -e SOURCE_PATH=/media/source \
  -e TARGET_PATH=/media/target \
  -v /path/to/media:/media \
  -v /path/to/data:/database
  neneya:mangalinker

mangalinker's People

Contributors

chloe-ko 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.