Weibo Docs

Installation

Requirements and how to install the library, the CLI, and the runner image.

Weibo ships as three pieces. Most users only need the first.

PieceWhat it isNeeded for
Go librarygithub.com/ASHUTOSH-SWAIN-GIT/weiboEvery pipeline
weibo CLIControl plane server + job managementDashboard, weibo deploy
weibo-runner imageGeneric container that runs YAML workflowsDeploying workflows as jobs

Requirements

  • Go 1.26+
  • Docker only for the control plane and container jobs
  • Kafka / Postgres only for pipelines that use those connectors

Library

go get github.com/ASHUTOSH-SWAIN-GIT/weibo
import (
    "github.com/ASHUTOSH-SWAIN-GIT/weibo"
    "github.com/ASHUTOSH-SWAIN-GIT/weibo/sink"
    "github.com/ASHUTOSH-SWAIN-GIT/weibo/source"
    "github.com/ASHUTOSH-SWAIN-GIT/weibo/types"
)

Pure Go, no CGO. Cross-compiles like any other Go module.

CLI

The control plane lives in its own module:

go install github.com/ASHUTOSH-SWAIN-GIT/weibo/control/cmd/weibo@latest
weibo help

Or run it from a checkout without installing:

git clone https://github.com/ASHUTOSH-SWAIN-GIT/weibo.git
cd weibo/control && go run ./cmd/weibo dashboard

Workflow runner (local)

Run a YAML workflow directly, no container needed:

go run ./cmd/weibo-workflow --file examples/workflows/wordcount.yaml

Runner image

docker build -f Dockerfile.runner -t weibo-runner:dev .

Distroless, non-root, static binary. Push it to a registry when the controller runs on another host. See Deployment.

Verify

go run ./examples/wordcount     # library works, no external services
weibo help                      # CLI is on PATH

Next: Getting Started.

On this page