Lyndrix Core Documentation¶
Welcome to the technical documentation for Lyndrix Core.
Lyndrix Core is the runtime foundation for the Lyndrix platform. It combines a FastAPI backend, a NiceGUI frontend, an event-driven component model, Vault-based secret management, and a database-backed plugin lifecycle.
What this documentation covers¶
This documentation set is written for three main audiences:
- Platform operators who need to boot, configure, and run Lyndrix Core safely
- Plugin developers who want to extend the platform through the supported plugin API
- Core contributors who need an overview of the internal architecture and component responsibilities
Quick navigation¶
- Installation and deployment
- Plugin development guide
- Security and Vault
- System architecture
- Core components reference
Platform overview¶
Lyndrix Core brings together the following building blocks:
- FastAPI + NiceGUI for API endpoints, authentication flows, and the web UI
- A global event bus for low-coupling communication between core services and plugins
- Vault-first secret handling with bootstrap, unseal, and mount management
- SQLAlchemy + MariaDB for persistent platform state and plugin activation status
- A plugin runtime with lifecycle hooks, per-plugin dependency isolation, and update workflows
Current capabilities¶
At the current repository state, Lyndrix Core includes:
- Boot orchestration with the phases
waiting_core,loading_modules,ready, andfailed - Vault initialization and unseal support, including optional auto-flow via
LYNDRIX_MASTER_KEY - Persistent plugin state restoration from the database
- Plugin installation from GitHub repositories and version tags
- Per-plugin
requirements.txtinstallation into a privatevendor/directory - Desired-state plugin reconciliation through
LYNDRIX_PLUGINS_DESIRED - Configurable authentication providers such as
local,ldap, andoidc - A stable plugin-facing API surface exposed through
core.api
Recommended reading path¶
If you are new to the project, this order works well:
- Read Installation and deployment to understand the runtime setup
- Read Security and Vault to understand the secret-management model
- Read System architecture for the boot flow and subsystem overview
- Use Core components reference for component-level details
- Read Plugin development guide if you are building extensions
Key source locations¶
Helpful starting points in the repository:
app/main.py— application entry point, middleware, and route wiringapp/config.py— central environment-backed configurationapp/core/bus.py— the global event busapp/core/components/*— internal core componentsapp/core/api/__init__.py— stable imports intended for plugin authors
Documentation build¶
The documentation site is generated from mkdocs.yml and the Markdown files in docs/. The repository workflow builds it with zensical build and writes the generated site into .cache/site.