Skip to the content.

Build Tales Automation Tools

This directory contains the automation tools for publishing Build Tales content to multiple platforms using GitHub’s free image hosting.

Tools Overview

Core Tools

Publishing Tools

How It Works

  1. Render Diagrams → SVG files saved to assets/diagrams/
  2. Generate URLs → GitHub raw URLs in assets/diagrams-manifest.json
  3. Compile Content → Markdown with GitHub image links
  4. Publish → Medium API + Substack preparation + Zapier triggers

Why GitHub Images?

Usage

# Complete pipeline
npm run ci:all

# Individual steps
npm run ci:render        # Render diagrams
npm run ci:github-urls   # Generate GitHub URLs
npm run ci:build         # Compile markdown
npm run ci:snippets      # Generate social snippets
npm run ci:medium        # Publish to Medium
npm run ci:substack      # Prepare Substack content

Output

Dependencies

Environment Variables

GitHub Actions

The workflow automatically:

  1. Renders diagrams on push
  2. Commits images to repository
  3. Generates GitHub image URLs
  4. Builds content with image fallbacks
  5. Publishes to platforms
  6. Triggers Zapier workflows

Benefits Over S3

Feature GitHub Images S3 + CloudFront
Cost Free $5-50+/month
Setup None Complex IAM setup
Integration Native External service
Maintenance Zero Ongoing monitoring
Reliability GitHub SLA AWS SLA

GitHub Images save you $60-600+ annually!