Skip to content

Instantly share code, notes, and snippets.

View okelet's full-sized avatar
🎯
Focusing

Juan A. S. okelet

🎯
Focusing
  • Madrid
  • 23:33 (UTC +01:00)
View GitHub Profile
@okelet
okelet / README.md
Last active December 22, 2025 09:19
Export drawio to multiple formats from command line

Draw.io Exporter

A command-line tool for automated batch export of draw.io diagrams to PNG and PDF formats.

Why This Tool Exists

Draw.io's built-in export functionality requires manual interaction to export each page individually, making it impractical for diagrams with multiple pages. This tool automates the process by:

  • Extracting page information from draw.io XML structure
  • Batch exporting all pages with proper naming conventions

Lambda Package Builder for AWS

A shell script that builds deployment packages for AWS Lambda functions using uv package manager. Supports both x86_64 and arm64 architectures.

Usage

From Terraform:

variable "lambda_architecture" {