GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - actionforge/actrun-cli: 🟢 The source code of the runner executable of Actionforge.

BranchesTags
Open more actions menu

Latest commit

 

History

230 Commits
230 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
.vscode
.vscode
 
 
agent
agent
 
 
api
api
 
 
assets
assets
 
 
build
build
 
 
cmd
cmd
 
 
core
core
 
 
examples
examples
 
 
extras
extras
 
 
github
github
 
 
mcp
mcp
 
 
node_interfaces
node_interfaces
 
 
nodes
nodes
 
 
p4api
p4api
 
 
sessions
sessions
 
 
tests_e2e
tests_e2e
 
 
tests_unit
tests_unit
 
 
utils
utils
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
actfile-schema.json
actfile-schema.json
 
 
actrun.ps1
actrun.ps1
 
 
actrun.sh
actrun.sh
 
 
distribution.xml
distribution.xml
 
 
entitlement.plist
entitlement.plist
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
setup-openssl.sh
setup-openssl.sh
 
 
setup.sh
setup.sh
 
 

Repository files navigation

⚡ Actionforge Graph Runner

Graph Runner Logo

view-action-graph made-with-go License

actrun is the CLI execution engine for Actionforge. It is a binary designed to execute .act graph files natively on your machine, CI runners, or render nodes.

It handles the traversal, concurrency, and data flow of visual graphs created in the Actionforge web app. It supports GitHub Actions, GitHub Actions workflows and custom 3D/CG/VFX pipelines.

🏁 Getting Started

📥 Installation

Requires Go 1.26+.

git clone [email protected]:actionforge/actrun-cli.git
cd actrun-cli
go mod tidy
go run . # to run without building
go build -o actrun . # to build the binary

✏️ Editor Setup

While actrun handles execution, visit app.actionforge.dev to build and edit .act files.

🚀 Usage

The basic syntax is actrun [filename|url] [flags].

▶️ 1. Execute a Graph

Run a graph file directly. The CLI will load the graph, resolve dependencies, and execute the node chain.

./actrun ./my_graph.act

🔌 2. Pass Arguments

You can pass arbitrary arguments to the graph. actrun interprets arguments following the graph filename as inputs to the execution context.

# Pass inputs to the graph logic
actrun ./my_graph.act --target="production" --verbose

If you need to strictly separate CLI flags from graph arguments, use the -- separator:

actrun --env-file=.env -- ./my_graph.act --target="production"

🌍 3. Load Environment Variables

Inject environment variables from a file before execution starts using --env-file.

actrun --env-file=.env.local ./my_graph.act

🛡️ 4. Validation

Before running a graph, you can check the graph for structural errors, disconnected pins, type mismatches, or missing required inputs without executing it.

actrun validate ./complex_workflow.act

🔮 Advanced Features

🕸️ Debug Sessions

actrun can bridge your local terminal to the Actionforge web app for visual debugging. You can either connect to your browser session via a debug session token that your browser provided, or you can let the CLI intiate a debug session by using --create-debug-session. The latter will print a link to stdout that you can open in your browser and the debug session will immediately begin.

actrun --create-debug-session ./my_graph.act

🚦 Concurrency Control

By default, concurrency is enabled but you can disable it using the --concurrency flag. It will force all "Concurrent" nodes to run in serial instead.

# Disable concurrency for strict serial execution
actrun --concurrency=false ./sequential_task.act

🔧 Perforce Support (Optional)

To build with Perforce (P4) support, you need the Perforce C/C++ API and OpenSSL installed.

  1. Download the Helix C/C++ API and place it in p4api/<os>/ (e.g. p4api/macos/).

  2. Set the required environment variables before building:

export CGO_CPPFLAGS="-I$(pwd)/p4api/macos/include -g"
export CGO_LDFLAGS="-Wl,-no_warn_duplicate_libraries -L$(pwd)/p4api/macos/lib -L/opt/homebrew/opt/[email protected]/lib -lp4api -lssl -lcrypto -framework ApplicationServices -framework Foundation -framework Security"
export CGO_ENABLED=1
  1. Build or run with the p4 tag:
go run -tags p4 . agent --token=<your-token> --server=<server-url>

🛠️ Development Commands

If you are contributing to the core nodes or the CLI itself, the dev subcommand provides utilities to maintain the internal registry.

  • Generate Stubs: Rebuilds the Go interfaces for nodes based on embedded YAML definitions.
go run -tags=dev,api,cpython . dev generate_stubs

⚖️ Full License Text

For the complete legal documentation and full terms of service, please refer to:

  • 📄 Source Code: actionforge/legal/LICENSE.md
  • 🌐 Official Website: actionforge.dev/eula

About

🟢 The source code of the runner executable of Actionforge.

actionforge.dev/download

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.