BlogsShopifyIllustration Management and Discovery Tooling

Illustration Management and Discovery Tooling

Illustration Management and Discovery Tooling

1
posts
2021

This feature thread tracks the development and enhancement of tools and strategies for managing and discovering visual assets, specifically illustrations, across Shopify's large and distributed codebase. Initial efforts focused on the challenges of updating illustration styles and the fragmentation of assets across thousands of repositories. This post details the creation of `@shopify/get-repo-images`, an open-source tool built in Go, which enables illustrators and developers to efficiently find illustrations, their references in code, and their usage across multiple repositories. The tool provides capabilities for sorting, filtering, and browsing assets, significantly improving the efficiency and accuracy of managing visual assets at scale.

2021

Updating Illustrations at Scale - Shopify

6/3/2021

Introduced `@shopify/get-repo-images`, an open-source tool built in Go, to address the challenge of managing and discovering illustrations across a large number of repositories. The tool clones repositories, finds image files (PNG, SVG, WebP), identifies their references in code, and exposes this information via an API and a web interface. This significantly improved performance and accuracy compared to previous Node.js-based solutions, reducing build times from over 35 minutes to 8 minutes for a comparable dataset.