Skip to content
go-rivetPublic

About

A fast, minimal Go task runner with an embedded Lua scripting engine (Taskfile alternative)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

112 Commits

Folders and files

Repository files navigation

Rivet

CI Docker E2E GitHub release License: MIT

Rivet is a minimal, fast task runner written in Go with an embedded Lua scripting engine. Full documentation is available at docs.go-rivet.dev.

Quickstart

Create a Taskfile.yml and run rivet greet:

version: 42
vars:
  NAMES: [Ada, Linus, Grace]
tasks:
  greet:
    cmds:
      - lua: |
          for _, name in ipairs(ctx.vars.NAMES) do
            if name ~= "Linus" then
              rivet.task("hello", {NAME = name})
            end
          end
  hello:
    cmds:
      - echo "Hello, {{.NAME}}!"

Why Rivet?

  • Embedded Lua VM: Write loops and logic directly in Lua instead of complex YAML templates and shell scripts.
  • Single Static Binary: Standalone executable with zero runtime dependencies.
  • Minimal Overhead & Container Ready: Built for speed with official images available from GitHub Container Registry.

Installation

  • Go Install: go install github.com/go-rivet/rivet/cmd/rivet@latest
  • Automated Script (Linux): curl -sSL https://raw.githubusercontent.com/go-rivet/rivet/main/install.sh | sh
  • Prebuilt Binaries: Available for Linux and Windows on GitHub Releases.
  • Docker: Pull from ghcr.io/go-rivet/rivet:latest or ghcr.io/go-rivet/rivet:latest-alpine.

Development

Use make commands for building and testing:

# Setup a development environment.
make deps

# Build Rivet.
make build
make install

# Release build (Linux and Windows).
make release

# Development commands.
make test
make test-all
make lint

# Run a single script test.
make test TEST=TestScript/vars/vars.sh.cache

# Other make commands:
make help

License

This project is licensed under the MIT License.

  • Copyright (c) 2026 Timothy Rule (Modifications and current project)
  • Copyright (c) 2016 Andrey Nering (Original base project)

See the LICENSE file for the full license text.

About

A fast, minimal Go task runner with an embedded Lua scripting engine (Taskfile alternative)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages