Developers Guide
AniBridge can load additional library (what you watch) and list (where your progress is tracked) providers as Python modules letting you extend the supported providers beyond those built-in.
This page covers how to install and configure third-party provider modules, as well as direct developers to resources for building their own.
Install a provider module
- Install the package into the same environment as AniBridge:
pip install <pypi-package-name> # git+https://github.com/<user>/anibridge-<provider>-provider.git # You can also install from Git
- Register the module in
config.yamlviaprovider_modules.
- Set
library_provider/list_providerto the provider namespace exposed by the module (e.g.,plex,anilist).
library_provider: xyz # Depends on what the implementation defines the namespace as
library_provider_config:
xyz:
config_key: config_value
Build your own provider
- Start from the template: anibridge-provider-template ships minimal library and list providers you can rename and extend.
- Use the SDKs: Base classes live in anibridge-library-base and anibridge-list-base.
- Pick a namespace: Register your provider with the decorator in the SDKs and set a (
@library_provideror@list_provider). The namespace is what users put in their config'sNAMESPACEconstant claass provider variablelibrary_provider/list_provider. It should be all lowercase and unique. - Expose configuration: Accept a
config: dict | Nonein your provider__init__and document the keys (host URL, tokens, library filters, etc.). - Ship to users: Publish to PyPI or provide a Git URL. Users load the module via
provider_modulesand set the namespace in their profiles.
Tip
For more details on implementing providers, see the API references: