Skip to main content

H2HDB-Komga

Description

The H2HDB-Komga is a tool that adds tags to comics and renames series in a specified library within Komga. It uses tags from H2HDB to help you organise and tag your comics and series in the library in Komga.


Installation and Usage

  1. Install Python 3.14 or higher from python.org.

  2. Install the required packages.

    pip install h2hdb-komga
    
  3. Run the script.

    python -m h2hdb_komga --komgaconfig [komga-config.json] --h2hdbconfig [h2hdb-config.json]
    

Config

komga-config.json

{
    "base_url": "[str]", // The url of komga.
    "api_username": "[str]", // The administrator account of komga.
    "api_password": "[str]", // The password of the administrator account of komga.
    "library_id": "[str]", // The libary ID of komga.
    "trigger_scan": true // Optional. Whether to trigger a library scan/analyze before syncing metadata. Defaults to true; set to false to skip it and only patch metadata.
}

h2hdb-config.json

See Subsection Config in Kuan-Lun/h2hdb.


Q & A

  • How to use Komga? See Rainie's article.

  • Why aren't the tags for CBZ-files in Komga updated? When you first run H2HDB, it generates CBZ-files. These CBZ-files are not immediately visible in Komga's library. To update them, you have two options: you can either click the 'scan library files' button in Komga, or you can run H2HDB twice. The first run scans the library, and the second run updates the tags.


Credits

The project was created by Kuan-Lun Wang.


License

This project is distributed under the terms of the GNU General Public Licence (GPL). For detailed licence terms, see the LICENSE file included in this distribution.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

h2hdb_komga-0.2.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h2hdb_komga-0.2.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file h2hdb_komga-0.2.0.tar.gz.

File metadata

  • Download URL: h2hdb_komga-0.2.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for h2hdb_komga-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9c71c0a0ee8ca2ac84ec46b61c64d3de9f982b467189ecfc34b24d95915b5c3b
MD5 6a8ab7ae4cc554eb5330d40d464b4d5d
BLAKE2b-256 0c66391c89f31bba6da647afad728400791b33b77074daad87ab45d7fcd932db

See more details on using hashes here.

Provenance

The following attestation bundles were made for h2hdb_komga-0.2.0.tar.gz:

Publisher: publish.yml on Kuan-Lun/h2hdb-komga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file h2hdb_komga-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: h2hdb_komga-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for h2hdb_komga-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cadb6c3353817b17c60d618e27a2577fe84133fc4e96107aba5ddf661ee730f3
MD5 4ede372d37da4f75dd6d20b4be245c0e
BLAKE2b-256 b405eea9cc4abefea8fe09ed12d87c26a11efcd8f3d19109e133d6b360dabfad

See more details on using hashes here.

Provenance

The following attestation bundles were made for h2hdb_komga-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Kuan-Lun/h2hdb-komga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.10.0

2 files

0.9.0

2 files

0.8.1

2 files

0.6.0

2 files

0.5.6

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.0 This release

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page