A simple script that moves single files to a folder with their name so Kavita will work when scanning the library.
Go to file
2023-05-30 01:26:55 -05:00
src Initial implementation. 2023-05-30 01:26:39 -05:00
.dockerignore Added Dockerfile. 2023-05-30 01:26:55 -05:00
.gitignore Initial implementation. 2023-05-30 01:26:39 -05:00
Dockerfile Added Dockerfile. 2023-05-30 01:26:55 -05:00
package-lock.json Initial implementation. 2023-05-30 01:26:39 -05:00
package.json Initial implementation. 2023-05-30 01:26:39 -05:00
README.md Updated README. 2023-05-30 01:26:46 -05:00

kavita-books-organizer

A simple script that moves single files to a folder with their name so Kavita will work when scanning the library.

Installation

Clone this repository, then install dependencies:

npm install

Usage

Set the FILES_DIR environment variable to the parent directory for all the files that need to be organized.

Then simply use:

npm start

With Docker

You may use the docker image as such:

docker run \
  -it \
  --rm \
  --name=kavita-books-organizer \
  -e FILES_DIR=/data \
  -v $PWD/books:/data \
  code.moonstar-x.dev/public/kavita-books-organizer:latest