Extensions
Tsumihon’s extension system lets you expand the app’s capabilities by adding new metadata 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. An extension adds no code of its own: it points one of the kinds of source the app already knows how to read at a site, or describes a JSON API for the app’s generic reader. A site that needs a kind of reader the app does not have cannot be added as an extension.
- Search sources — add new sources that appear as tabs in the search screen.
- Metadata enrichment — extensions can supply additional metadata fields, cover images, and tags.
- Download integration — sources that support it can also supply page data for the built-in reader and download system.
What is built in
Tsumihon starts with two built-in features that work without a repository. Neither one searches a website:
- Web import — add a book by pasting or sharing a link to its product page. Tsumihon reads the cover and details from that page. It is not a search tab.
- Offline reference catalog — a catalog of doujinshi titles, circles, artists, parodies and tags, with no covers. It stays empty until you download its database in Settings (about 370 MB).
Everything else you search comes from an extension. Tsumihon ships with no repository and no sources.
Extensions are unofficial
Extensions and repositories are unofficial. They are not part of Tsumihon. Tsumihon does not review, endorse, support or control them, and is not responsible for them. You choose what to add and you are responsible for it, including for having the right to access its content where you live.
Installing Extensions
Extensions are listed by repositories, and the app starts with none. Add a repository first, then pick the extensions to install from it:
- Open Settings → Search Providers → Source Management → Source Repositories.
- Tap Add Repository and paste the address of a repository you choose. The first time, the app shows a notice that you have to accept.
- Go back and open Manage Sources to see what that repository lists.
- Tap Install next to each extension you want to add.
Sources marked mature stay hidden until you turn on Show mature sources under Source Repositories.
Once installed, an extension appears in the search screen. You can switch it on or off under Source Repositories, and uninstall it from Manage Sources.
Adding a Repository
Tsumihon ships with no repository. Paste the address of one you choose: a full URL, or username/repo for a repository on GitHub. Repositories follow a documented JSON manifest format.
Configuring an Extension
Some extensions require credentials or other configuration (API keys, server URLs, authentication cookies). After installing, tap an extension to open its settings screen. Settings are stored on your device and, when cloud sync is on, also synced through your account; logins and cookies are encrypted on the device before they leave it (see Privacy & Security). Each extension provides its own setup instructions in the description.
Modular Architecture
Every extension runs through the same machinery in the app:
- Standard interface — every source offers the same interface for search, detail fetching, and (optionally) page retrieval. This ensures consistency across all sources.
- Isolated execution — each extension runs independently, so a failure in one source does not affect others.
- Shared infrastructure — extensions automatically benefit from Tsumihon’s caching and network layer without needing to implement their own.
- Hot reload — extensions can be added, removed, or updated without restarting the app.
Managing Extensions
Installed extensions can be managed from the Settings screen:
- Enable / Disable — toggle an extension on or off without uninstalling it.
- Update — check for and apply updates to installed extensions.
- Remove — uninstall an extension entirely. This removes the source from search but does not affect books already imported from it.
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.