Contrib packages for the bub ecosystem.
packages/bub-codex- Bub plugin entry point:
codex - Provides a
run_modelhook that delegates model execution to the Codex CLI.
- Bub plugin entry point:
packages/bub-tg-feed- Bub plugin entry point:
tg-feed - Provides an AMQP-based channel adapter for Telegram feed messages.
- Bub plugin entry point:
packages/bub-schedule- Bub plugin entry point:
schedule - Provides scheduling channel/tools backed by APScheduler with a JSON job store.
- Bub plugin entry point:
packages/bub-discord- Provides a Discord channel adapter (
DiscordChannel) for Bub message IO. - Note: this package currently does not expose a Bub plugin entry point.
- Provides a Discord channel adapter (
packages/
bub-codex/
bub-tg-feed/
bub-schedule/
bub-discord/
- Python 3.12+ (workspace root)
uv(recommended)
Install all workspace dependencies:
uv syncInstall contrib packages in editable mode:
uv pip install -e packages/bub-tg-feed -e packages/bub-schedule -e packages/bub-discord
uv pip install -e packages/bub-codexAMQP_URL: RabbitMQ/AMQP connection URLBUB_TELEGRAM_TOKEN: Telegram bot token used for chat actions and bot metadata
BUB_CODEX_MODEL: Optional model name passed to Codex CLI (--model)BUB_CODEX_YOLO_MODE: Optional boolean, enables--dangerously-bypass-approvals-and-sandbox
- Scheduled jobs are persisted to
jobs.jsonunder Bub runtime home.
BUB_DISCORD_TOKEN: Discord bot token (required)BUB_DISCORD_ALLOW_USERS: Optional comma-separated sender allowlist (user id/username/global name)BUB_DISCORD_ALLOW_CHANNELS: Optional comma-separated channel id allowlistBUB_DISCORD_COMMAND_PREFIX: Optional command prefix, default!BUB_DISCORD_PROXY: Optional proxy URL for Discord API
This repository is licensed under LICENSE.