Skip to content
losolPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Conductor

Messaging orchestration server with a multi-tenant plugin architecture. It routes notifications from Homey, Home Assistant or any HTTP client to Discord, with more channels planned.

The repository is a Turborepo monorepo managed with pnpm. The hub application lives in apps/, and the standalone adapter packages described in ADR 0001 live in packages/.

Layout

Path Package Contents
apps/conductor @eventuras/conductor The hub: HTTP API, tenant authentication, plugin registry. See its README.
packages/conductor-core @eventuras/conductor-core Shared contracts for adapters: sender and receiver interfaces, descriptors, logger shape, errors. See its README.
packages/ @eventuras/conductor-* Adapter packages to come: conductor-discord, conductor-mqtt (ADR 0001 phases 2 and 3).
docs/adr Architecture decision records.

Getting started

Requires Node 24 (see .nvmrc) and pnpm 11.

pnpm install
pnpm dev          # turbo run dev: starts apps/conductor with tsx watch
pnpm build        # turbo run build
pnpm typecheck    # turbo run typecheck

To run a script in a single package, filter on its name:

pnpm --filter @eventuras/conductor start

The hub reads its .env file and writes its runtime configuration to data/config/ relative to its own directory, so both live under apps/conductor/. Copy apps/conductor/.env.example to apps/conductor/.env to get started.

Docker

The image is built from the repository root. The Dockerfile uses turbo prune to reduce the workspace to the hub and the packages it depends on before installing and building.

docker build -f apps/conductor/Dockerfile -t conductor:latest .
# or
docker compose up --build

Inside the container the hub keeps its configuration in /app/data/config; mount a volume there to persist it.

Releases

Package versions and changelogs are managed with changesets:

pnpm changeset            # record a change
pnpm changeset:version    # apply pending changesets and bump versions

On every push to main, .github/workflows/release.yml opens or updates a "chore: version packages" pull request from the pending changesets. Merging it publishes the public packages in packages/ to npm with trusted publishing (OIDC) and provenance, and tags each published version.

The hub is private and is not published to npm. Pushing a v* tag promotes the canary image built from main to a versioned release image. See .github/workflows/docker.yml.

Dependency updates

Dependabot (.github/dependabot.yml) updates npm packages and the Docker base image weekly, and GitHub Actions monthly. It waits 10 days after a release before proposing it, the same window minimumReleaseAge in pnpm-workspace.yaml applies to local installs. First-party @eventuras/* packages are exempt. Dependabot PRs carry no changeset, so .github/workflows/dependabot-changeset.yml adds one when a published package's runtime or peer dependencies change.

License

MPL-2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages