{
  "$type": "site.standard.document",
  "canonicalUrl": "https://devlog.croft.click/2025/02/23/apple-shortcut-reverse-engineering",
  "description": "Deconstructed dame.is's dynamic avatar Apple Shortcut and rebuilt it as a Python automation — hourly profile image updates via AT Protocol.",
  "path": "/2025/02/23/apple-shortcut-reverse-engineering",
  "publishedAt": "2025-02-23T12:00:00.000Z",
  "site": "at://did:plc:ofrbh253gwicbkc5nktqepol/site.standard.publication/3mlen2qhzrt2s",
  "tags": [
    "atproto",
    "tooling",
    "python"
  ],
  "textContent": "avatar automation\n\nInspired by dame.is's hourly dynamic avatar, reverse-engineered the Apple Shortcut logic and rebuilt it in Python. The original Shortcut changed profile pictures based on time of day relative to timezone. Rebuilt as two Python projects working in tandem (or independently) — one generates the avatar, one publishes it to AT Protocol via com.atproto.repo.uploadBlob and com.atproto.identity.updateHandle. Runs hourly, keeping the Bluesky profile fresh. This later evolved into the dedicated avatar-updater bot.",
  "title": "Reverse Engineering an Apple Shortcut"
}