Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 34 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,24 @@ Unlike fully automated tagging tools, Perdoo takes a manual approach when metada
</details>

<details>
<summary><code>perdoo convert</code></summary>
<summary><code>perdoo convert</code> commands</summary>

![perdoo convert help](docs/img/perdoo_convert.svg)

<details>
<summary><code>perdoo convert archive</code></summary>

![perdoo convert archive help](docs/img/perdoo_convert_archive.svg)

</details>

<details>
<summary><code>perdoo convert images</code></summary>

![perdoo convert images help](docs/img/perdoo_convert_images.svg)

</details>

</details>

<details>
Expand Down Expand Up @@ -216,10 +230,12 @@ The file is created automatically on first run.
### Example

```toml
removals = ["*.db", "*.ini", "*.nfo", "*.sfv", ".DS_Store"]

[output]
archive-format = "cbz"
folder = "~/.local/share/perdoo"
format = "cbz"
image-extensions = [".png", ".jpg", ".jpeg", ".webp", ".jxl"]
image-format = ""

[output.comic-info]
create = true
Expand All @@ -246,6 +262,16 @@ days = 28
cover-hash-distance = 10
```

### `removals`

A list of gitignore-style file regexes to remove, during the clean stage.

Defaults to:

```toml
["*.db", "*.ini", "*.nfo", "*.sfv", ".DS_Store"]
```

### Output

#### `output.folder`
Expand All @@ -258,23 +284,21 @@ Defaults to:
~/.local/share/perdoo/comics
```

#### `output.format`
#### `output.archive-format`

The output format used for comic archives.

Defaults to `cbz`.

See [Supported Formats](#supported-formats) for available formats.

#### `output.image-extensions`
#### `output.image-format`

The file extensions Perdoo considers to be images during the clean-up step.
The target format to convert the images inside an archive to.

Defaults to:
Defaults to `""`

```toml
[".png", ".jpg", ".jpeg", ".webp", ".jxl"]
```
Supported values are: `""`, `jpg`, `png`, `webp`, `jxl`

### ComicInfo

Expand Down
2 changes: 2 additions & 0 deletions docs/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ COLUMNS=120 pdm run perdoo archive remove --generate-help-preview
COLUMNS=120 pdm run perdoo archive tree --generate-help-preview
COLUMNS=120 pdm run perdoo clean --generate-help-preview
COLUMNS=120 pdm run perdoo convert --generate-help-preview
COLUMNS=120 pdm run perdoo convert archive --generate-help-preview
COLUMNS=120 pdm run perdoo convert images --generate-help-preview
COLUMNS=120 pdm run perdoo pipeline --generate-help-preview
COLUMNS=120 pdm run perdoo rename --generate-help-preview
COLUMNS=120 pdm run perdoo settings --generate-help-preview
Expand Down
88 changes: 44 additions & 44 deletions docs/img/perdoo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 43 additions & 35 deletions docs/img/perdoo_clean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading