Extensions

Tsumihon's extension system lets you expand the app's capabilities by adding new search providers and data sources. Extensions are modular, installable packages that plug into the existing search and import infrastructure.

Overview

Extensions are the mechanism through which Tsumihon connects to external sources for searching, browsing, and importing book metadata. Each extension implements a standard provider interface, making it straightforward to add support for new sites and services.

Built-in Providers vs. Extension Providers

Tsumihon ships with several built-in providers that are available out of the box:

From a user perspective, both types of providers work identically. They appear as search tabs, return the same result format, and integrate with the same import and merge pipelines.

Installing Extensions

To install an extension:

  1. Open Settings in Tsumihon.
  2. Navigate to the Extensions section.
  3. Browse available extensions or enter an extension URL.
  4. Tap Install to add the extension to your app.

Once installed, the extension's search provider will appear in the search screen alongside built-in providers. You can enable or disable individual extensions at any time from the settings screen.

Modular Architecture

The extension system is built on a modular architecture that makes it easy to create and maintain sources:

Managing Extensions

Installed extensions can be managed from the Settings screen:

Tip: Books imported from an extension retain their metadata and source IDs even after the extension is removed. You can always reinstall the extension later to re-enable search and updates from that source.