buninator is a CLI tool for promoting configuration files (such as .json) to Google Cloud Storage buckets, with built-in preview, deployment, and GitHub Actions integration.
- Preview configuration changes before deployment
- Deploy files to a GCP bucket with hash verification
- Generate PR summaries and post comments via GitHub Actions
- Artifact-based workflow for safe, auditable deployments
bun installbun run index.tsOr, after linking:
buninator preview main.json
buninator deploy main.jsonbuninator preview <file>buninator deploy <file>buninator summary --pr <path-to-pr.json> --files "file1.json file2.json" --run-id <github-run-id>- See
.github/workflows/artifact.ymlfor artifact generation on PR merge. - See
.github/workflows/promote.ymlfor deployment using artifacts from previous workflows.
Set your bucket and GitHub token in .env:
BUCKET_NAME="your-bucket-name"
GH_TOKEN="your-github-token"
src/cli/preview.ts– Preview config changessrc/cli/find.ts- Find Workflowsrc/cli/deploy.ts– Deploy config to GCP bucketsrc/cli/summary.ts– Generate and post PR summarysrc/index.ts– CLI entrypoint
- Bun runtime
- Google Cloud SDK (for deployment)
- GitHub token for PR comments
This project was created using bun init in bun v1.2.21.