// CLI Framework for GitHub Badge Automation

πŸ›‘οΈ Badge Gen

A CLI and Bash orchestration framework for automating dynamic and static GitHub badges with CI/CD native integration, Snyk security, and multi-platform metrics.

$ Injecting badge assets from local repository cache...

Python Bash CI License
⭐ Star on GitHub 🎯 Try the Builder πŸ’» CLI Demo
⭐ … stars 🍴 … forks πŸ› … issues

// core_capabilities

Features

⚑

CLI + Bash Wrapper

Core Python engine with an adaptive Bash orchestrator interface for flexible invocation.

πŸ€–

CI/CD Native

Auto-detects GitHub Actions environment, suppresses local alerts, integrates into pipelines.

🎨

Multiple Styles

Supports for-the-badge, flat, plastic, and more.

πŸ“¦

Batch Processing

Build entire badge sections from a structured JSON blueprint with multi-tier grouping.

πŸ”’

Snyk Security

Dynamic vulnerability tracking and security posture badges via Snyk integration.

πŸ“Š

Live Metrics

UptimeRobot latency tracking, build stability, and storage metrics rendered in real time.

// badge_gallery

Badge Gallery

Every badge below is generated dynamically β€” this page is a live demo.

β–Έ Static Technology Stack

β–Έ Dynamic Metrics

β–Έ Style Variations

// interactive_builder

🎯 Interactive Badge Builder

Configure your badge in real time and copy the generated URL.

Live Preview

Badge preview

Generated URL

Markdown

// cli_simulator

πŸ’» Interactive CLI Simulator

Try running commands directly in your browser β€” simulates the Badge Gen CLI experience.

badge_gen β€” bash β€” 80Γ—24
$ Welcome to Badge Gen CLI v1.0.0
$ Type 'help' to see available commands.
$ Try: generate badge Python 3.12 flat 3776AB
$
Quick Commands:

// quick_start

Quick Start

Setup
# Clone the repository
git clone https://github.com/gapolli/bagde-gen.git
cd bagde-gen

# Run automated setup
make setup
# or: python badge_gen.py setup
Static Badge β€” Shorthand
# Shorthand Orchestrator Syntax
./badge_gen.sh "Python" "3.12" "flat" "3776AB"

# Advanced Core Engine Syntax
python badge_gen.py --label "Python" --message "3.12" \
  --logo "python" --style "flat" --color "3776AB"
Batch Processing from JSON Blueprint
[
  {
    "section": "Production Status",
    "badges": [
      { "label": "build", "message": "passing", "color": "brightgreen" },
      { "label": "uptime", "message": "99.9%", "color": "green" }
    ]
  }
]

// pipeline_flow

CI/CD Pipeline Flow

πŸ“

Push to main

β†’
βš™οΈ

Actions trigger

β†’
πŸ§ͺ

Lint & Test

β†’
🏷️

Tag & Sync

β†’
πŸ”„

Badges refresh

Uses git-auto-commit-action with [skip ci] to prevent loops.

// contributors

πŸ‘₯ Contributors

Powered by the GitHub API β€” always up to date.

Loading contributors…

// changelog

πŸ“œ Changelog

Release timeline fetched live from GitHub Releases.

Loading releases…