Skip to content

Architecture

Kotori use workspace developing (monorepo) by pnpm and submodules management by git, and linter and formatter by Biome (fucks eslint and prettier).

Packages

fluoro (submodule)

fluoro

Fluoro is universal meta-framework,provides Context Modules and Events. it is the base of whole Kotori,more details view Fluoro.

@kotori-bot/core

@kotori-bot/core

It is the core of Kotori and provides many important features of kotori (encapsulates fluoro).It has fully the support for browser and other not node.js (such as quick.js or service-worker),more details view Use in browser.

@kotori-bot/loader

@kotori-bot/loader

It encapsulates @kotori-bot/loader and provides some interface and features need server environments (Node.js).

@kotori-bot/logger

@kotori-bot/logger

It is fully functional logger base on adapters thinking and supports browser.

@kotori-bot/i18n

@kotori-bot/i18n

It is a i18n module,provides i18n for @kotori-bot/core.

@kotori-bot/tools

@kotori-bot/tools

It is a tools module,provides some useful tools for @kotori-bot/core and @kotori-bot/loader.

tsukiko

tsukiko

It used to parse and check data type at running time.

Process image

architecture