@dagu-org/dagu
v1.30.2
Published
A powerful Workflow Orchestration Engine with simple declarative YAML API. Zero-dependency, single binary for Linux, macOS, and Windows.
Downloads
226
Maintainers
Readme
@dagu-org/dagu
A powerful Workflow Orchestration Engine with simple declarative YAML API
Installation
npm install -g @dagu-org/daguOr add to your project:
npm install @dagu-org/daguUsage
Command Line
After installation, the dagu command will be available:
# Start the web UI and scheduler
dagu start-all
# Run a workflow
dagu start my-workflow.yaml
# Check workflow status
dagu status my-workflow.yamlProgrammatic Usage
const { execute, getDaguPath } = require('@dagu-org/dagu');
// Get path to the binary
const daguPath = getDaguPath();
// Execute dagu commands
const child = execute(['start', 'workflow.yaml']);
// Or use async/await
const { executeAsync } = require('@dagu-org/dagu');
async function runWorkflow() {
const result = await executeAsync(['start', 'workflow.yaml']);
console.log('Exit code:', result.code);
console.log('Output:', result.stdout);
}Supported Platforms
This package provides pre-built binaries for:
- Linux: x64, arm64, arm (v6/v7), ia32, ppc64le, s390x
- macOS: x64 (Intel), arm64 (Apple Silicon)
- Windows: x64, ia32, arm64
- FreeBSD: x64, arm64, ia32, arm
- OpenBSD: x64, arm64
If your platform is not supported, please build from source: https://github.com/dagu-org/dagu#building-from-source
Features
- Zero Dependencies - Single binary, no runtime requirements
- Declarative YAML - Define workflows in simple YAML format
- Web UI - Beautiful dashboard for monitoring and management
- Powerful Scheduling - Cron expressions, dependencies, and complex workflows
- Language Agnostic - Run any command, script, or executable
Documentation
For detailed documentation, visit: https://github.com/dagu-org/dagu
License
GNU General Public License v3.0
