Note: The @golems/orchestrator package has been removed from the monorepo. Its render service functionality was absorbed into @golems/content. This page is preserved for reference.

n8n orchestration layer for content pipelines + Bun render microservice.

What It Does

The Orchestrator package provides two things:

  1. Bun Render Microservice (port 3001) — HTTP API wrapping ContentGolem's pipelines (ComfyUI, Remotion, DataViz, Pipeline Router)
  2. n8n Workflow Templates — Automation workflows that chain pipeline steps, triggered by Telegram messages or schedules

Render Microservice

Bun HTTP server that exposes ContentGolem capabilities as REST endpoints:

MethodPathDescription
POST/api/comfyui/generateGenerate image via Flux + quality scoring
GET/api/comfyui/statusCheck ComfyUI server status
POST/api/remotion/renderRender Remotion composition to video
POST/api/remotion/stillCapture single frame
POST/api/dataviz/renderGenerate branded data visualization
POST/api/pipeline/routeAI-route idea to best pipeline
POST/api/pipeline/executeRoute + execute in one call
GET/api/pipeline/statsPipeline performance statistics
GET/api/healthHealth check
# Start the render service
bun run dev    # http://localhost:3001

n8n Workflows

WorkflowTriggerPipeline
AI RouterTelegram messageClassifies intent > routes to pipeline
Image GenerationSub-workflowComfyUI Flux > quality gate > Telegram
Video RenderSub-workflowRemotion render > Telegram
Data Viz ScheduleEvery Monday 9amFetch data > render infographics > Telegram

Setup

n8n Cloud instance available at etanheyman.app.n8n.cloud. Self-hosted option via docker-compose.yml (n8n + PostgreSQL).

# Import workflow templates
bash scripts/restore-workflows.sh http://localhost:5678
 
# Backup current workflows
bash scripts/backup-workflows.sh http://localhost:5678

Current State

  • Render microservice: Code complete, wraps @golems/content APIs
  • n8n Cloud: Account exists, workflows not yet imported
  • Workflow templates: Created in valid n8n JSON format

Dependencies

  • @golems/content — ComfyUI client, Remotion renderer, quality scoring, data viz
  • @golems/shared — Supabase, notifications

Source

packages/orchestrator/