Just hours after Apple launched a revamped web interface for the App Store, a GitHub project was released with the site’s entire front-end source code. Here’s how that happened.
Apple forgot to disable sourcemaps in production on the new web interface for the App Store
Yesterday, Apple launched a new web interface for the App Store, complete with dedicated pages for each of its platforms, app categories, and search.
The problem is that, according to user rxliuli on GitHub, Apple accidentally shipped the new App Store with sourcemaps enabled. This allowed them to download Apple’s complete front-end codebase straight from the production site.
In the repository, rxliuli says that they used a Chrome extension to extract and save all the available resources from the web App Store, and that they decided to archive them on GitHub for educational purposes.
Here’s some of what’s included in the repository:
Complete Svelte/TypeScript source code
State management logic
UI components
API integration code
... continue reading