---
title: "Updating Illustrations at Scale"
description: "Shopify's Polaris team built @shopify/get-repo-images, an open-source crawler that finds image files and every line of code referencing them across GitHub repositories, then serves a browsable, sortable website so illustrators could update illustrations fragmented across thousands of repos during a design-language refresh."
url: "https://swe.quest/articles/updating-illustrations-at-scale-a7b35ba7b6163692"
canonical: "https://shopify.engineering/updating-illustrations-shopify-scale"
source: "Shopify Engineering"
published: "2021-06-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["design-systems","developer-tools","go","javascript","performance"]
---

# Updating Illustrations at Scale

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2021-06-03, 8 min read, Case study. Original: [https://shopify.engineering/updating-illustrations-shopify-scale](https://shopify.engineering/updating-illustrations-shopify-scale)

## Summary

Shopify's Polaris team built @shopify/get-repo-images, an open-source crawler that finds image files and every line of code referencing them across GitHub repositories, then serves a browsable, sortable website so illustrators could update illustrations fragmented across thousands of repos during a design-language refresh. GitHub code search was ruled out due to API limits, stripped wildcard characters and fragment caps. A first Node.js prototype (git clone, globby, json-server, Preact) took over 35 minutes for 24 repos. Rewriting the cloning and searching as a single parallel Go binary distributed via npx, with a Next.js frontend, cut that to 8 minutes, with cloning as the remaining bottleneck.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Design systems](https://swe.quest/tags/design-systems.md) (Web & mobile)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Go](https://swe.quest/tags/go.md) (Languages)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- Node.js basics ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Git cloning

## Keywords

Polaris, get-repo-images, Go, Node.js, Next.js, Preact, GitHub API, esbuild

## Related posts

- [Upgrading Checkout Blocks app to Polaris web components](https://swe.quest/articles/upgrading-checkout-blocks-app-to-polaris-web-components-6cf6ef4febe89e45.md): Shopify Engineering · 2026-07-16 · Medium · 10 min read · Frontend, Web performance, Refactoring & migrations, React, E-commerce
  Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.
- [Crafting a better, faster code view](https://swe.quest/articles/crafting-a-better-faster-code-view-4c1560c4b1796bf2.md): GitHub Engineering · 2023-06-21 · Medium · 13 min read · Web performance, React, Frontend, Accessibility, Browsers
  GitHub's new React-based code view renders an 18,000-line file in under a second instead of nearly 27 seconds.
- [Rendering huge pull requests in the GitHub Copilot app](https://swe.quest/articles/rendering-huge-pull-requests-in-the-github-copilot-app-dfdd1afcfdc347d9.md): GitHub Engineering · 2026-09-23 · Medium · 13 min read · Frontend, Web performance, Performance engineering, Testing, Observability
  The GitHub Copilot app's pull request view stays responsive on a 2,200-file, million-line diff with 400+ review comments by splitting document height into two geometries: exact, precomputed prefix-summed code rows and lazily measured dynamic blocks for comments, drafts and composers.
- [DevEx matters for coding agents, too](https://swe.quest/articles/devex-matters-for-coding-agents-too-3cf5bcfa910d65e5.md): incident.io · 2025-12-19 · Medium · 11 min read · Developer productivity, TypeScript, Build systems, AI for coding, Developer tools
  incident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it.
- [How GitHub Actions renders large-scale logs](https://swe.quest/articles/how-github-actions-renders-large-scale-logs-b2578d67d9b7f62e.md): GitHub Engineering · 2021-03-25 · Medium · 6 min read · Frontend, Web performance, JavaScript, Browsers
  GitHub Actions replaced a third-party virtualization library with a custom one to render job logs of up to 50k lines smoothly, including on mobile.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
