Tibi Architecture

Tibi is a WordPress site backed by shared monorepo packages, custom plugins, a custom theme, React form flows, and external search/API services.

Last modified: July 9, 2026

link Main Parts

sites/tibi/
packages/wordpress/plugins/tibi-core/
packages/wordpress/plugins/tibi-block-library/
packages/wordpress/themes/tibi/
packages/wordpress/external-plugins/
packages/wordpress/mu-plugins/

link Site Package

sites/tibi contains the site-specific WordPress installation and Composer configuration. It consumes local packages from packages/wordpress through Composer symlinks.

link Core Plugin

tibi-core owns core site behavior, including:

link Block Library

tibi-block-library contains Tibi-specific Gutenberg blocks. These blocks provide editor-facing configuration for frontend experiences such as signup, loan-right confirmation, brochures, and search/help features.

link Theme

packages/wordpress/themes/tibi owns presentation, templates, assets, and frontend React entrypoints. The theme loads form/search scripts conditionally based on the blocks present on the current page.

link External Services

Tibi integrates with:

link Data Flow

Common flows:

WordPress editor block settings
  -> rendered page markup
  -> conditional theme script loading
  -> React frontend app
  -> Tibi/NLB API or WordPress REST endpoint

For book metadata:

Tibi page/request
  -> Tibi REST/controller logic
  -> NLB API
  -> cached WordPress transient
  -> rendered response