This repository contains the Homebrew formula for installing Tingly-Box.
# Tap the repository
brew tap tingly-dev/homebrew-tingly
# Install tingly-box
brew install tingly-box
# Use the full command or alias
tingly-box start
# or
tb startNote: Homebrew internally references this as
tingly-dev/tap(thehomebrew-prefix is automatically stripped). You may see this name in installation output.
brew upgrade tingly-boxbrew uninstall tingly-box
brew untap tingly-dev/homebrew-tinglyThis homebrew tap is manually controlled in this repository. When you need to update to a new release:
- Go to Actions → Update Formula
- Click "Run workflow"
- Enter the release tag (e.g.,
v0.260124.900) - Click "Run workflow"
The workflow will:
- Fetch the release from tingly-box
- Download all platform binaries
- Calculate SHA256 hashes
- Generate and commit the formula
For better control, create a PR first:
- Run the workflow with "Create PR" enabled
- Review the generated formula
- Merge when ready
# Trigger update via GitHub CLI
gh workflow run update-formula.yml \
--repo tingly-dev/homebrew-tingly \
-f tag="v0.260124.900"
# Or with PR
gh workflow run update-formula.yml \
--repo tingly-dev/homebrew-tingly \
-f tag="v0.260124.900" \
-f create_pr=true| Platform | Architecture | Binary Name |
|---|---|---|
| macOS | ARM64 (Apple Silicon) | tingly-box-macos-arm64 |
| macOS | AMD64 (Intel) | tingly-box-macos-amd64 |
| Linux | AMD64 (x86_64) | tingly-box-linux-amd64 |
| Linux | ARM64 (aarch64) | tingly-box-linux-arm64 |
To generate the formula locally for testing:
# Set the version
export VERSION="v0.260.124.900"
# Download and calculate hashes (optional - for testing)
curl -LO https://github.com/tingly-dev/tingly-box/releases/download/${VERSION}/tingly-box-macos-arm64.zip
SHA_DARWIN_ARM64=$(shasum -a 256 tingly-box-macos-arm64.zip | awk '{print $1}')
# Repeat for other platforms...
# Generate formula
ruby Formula/generate.rb \
VERSION=${VERSION} \
SHA256_DARWIN_ARM64=${SHA_DARWIN_ARM64} \
SHA256_DARWIN_AMD64=${SHA_DARWIN_AMD64} \
SHA256_LINUX_AMD64=${SHA_LINUX_AMD64} \
SHA256_LINUX_ARM64=${SHA_LINUX_ARM64}If you need to manually update the formula:
- Go to the Actions tab
- Select "Update Formula on Release" workflow
- Click "Run workflow"
- Enter the release tag (e.g.,
v0.260.124.900) - Click "Run workflow"
To test formula changes before committing:
# Install from local file
brew install --build-from-source Formula/tingly-box.rb
# Or install from a specific branch
brew install tingly-dev/homebrew-tingly/tingly-box.
├── .github/
│ └── workflows/
│ └── update-formula.yml # Automated update workflow
├── Formula/
│ ├── tingly-box.rb # Generated formula (DO NOT EDIT)
│ ├── generate.rb # Formula generation script
│ └── README.md # Formula documentation
├── README.md # This file
└── LICENSE
If the formula doesn't update after a release:
- Check the Actions tab for failed runs
- Verify the release exists in the tingly-box releases
- Ensure all required assets are present in the release
- Manually trigger the update workflow if needed
If you encounter issues during installation:
# Debug installation
brew install --verbose --debug tingly-dev/homebrew-tingly/tingly-box
# Check formula
brew info tingly-dev/homebrew-tingly/tingly-box
# View installed files
brew list tingly-boxThis repository is primarily automated. Changes to the formula should be made through the release process in the main tingly-box repository.
For issues or suggestions:
- Open an issue in this repository
- Open an issue in the tingly-box repository
This project follows the same license as Tingly-Box.