tofUI ๐ŸŽจ

July 16, 2026 ยท View on GitHub

Install Release License: MIT

Beautiful, interactive HTML reports from OpenTofu & Terraform plans.

๐Ÿ‘‰ Live example report ยท more in examples.md

Install

brew tap 65156/tofui
brew install tofui

Homebrew 6.0+ requires trusting third-party taps. If you see Refusing to load formula โ€ฆ from untrusted tap, run brew trust 65156/tofui and re-run the install.

Other install methods
# Homebrew, without tapping first
brew install 65156/tofui/tofui

# pip (from PyPI)
pip install tofui

# pip (latest from GitHub)
pip install git+https://github.com/65156/tofUI.git

Usage

1. Produce a plan JSON with OpenTofu or Terraform:

# OpenTofu
tofu plan -out=plan.tfplan
tofu show -json plan.tfplan > plan.json

# Terraform
terraform plan -out=plan.tfplan
terraform show -json plan.tfplan > plan.json

2. Generate the report (--build-name sets the output filename):

tofui plan.json --build-name my-plan

3. Open it:

open my-plan.html

That's the whole workflow. For S3/GitHub Pages uploads, dashboard publishing, CI/CD, and configuration, see examples.md.

Contributing

git clone https://github.com/65156/tofUI.git
cd tofUI
python -m venv venv && source venv/bin/activate
pip install -e '.[dev]'
python test_tofui.py

Then fork, branch, and open a pull request.

License

MIT