A Python-based tool to generate event banners for Kubernetes Community meetups and other events.
- 📝 Define event content in YAML files
- 🎨 Customizable colors, fonts, and layouts
- 👥 Support for multiple speakers/presenters
- 🖼️ Multiple output formats (JPG, WEBP)
- 🎯 Flexible positioning and styling
- Install Python 3.8 or higher
- Install dependencies:
pip install -r requirements.txt- Create or edit a YAML file in the
eventsdirectory (see examples) - Run the generator:
python generate_banner.py events/your-event.yamlOr generate all events:
python generate_banner.py --allThe generated banners will be saved in the output directory.
See the example files in the events directory for configuration options:
- Event title and details
- Date, time, and location
- Speakers with photos and descriptions
- Colors and branding
- Logo images
event-banner-generator/
├── generate_banner.py # Main generator script
├── banner_generator.py # Banner generation logic
├── requirements.txt # Python dependencies
├── events/ # YAML event configurations
│ ├── example-march-2024.yaml
│ └── example-june-2024.yaml
├── assets/ # Logos and default images
│ └── logos/
└── output/ # Generated banners
You can customize:
- Background colors and gradients
- Font sizes and colors
- Logo placement
- Speaker photo sizes and positions
- Layout spacing
See the YAML examples for all available options.