苹果应用商店前端源代码档案
Apple App Store frontend source code archive

原始链接: https://github.com/rxliuli/apps.apple.com

一个 GitHub 仓库出现了苹果 App Store 网站的完整源代码。这是由于苹果在生产代码中意外地启用了 sourcemaps,这是一个常见的安全疏忽。 该代码使用 Svelte/TypeScript 构建,包括从 UI 组件和状态管理到 API 集成和路由的所有内容。它被组织成 `api`、`src` 和 `us`(针对美国特定内容)等目录,提供了对 App Store 如何运作的详细了解。 该仓库仅用于教育和研究目的。对于有兴趣学习苹果实现方式的开发者来说,这是一个宝贵的资源,但至关重要的是要记住所有代码仍然受苹果公司版权保护,应负责任地使用。创建者强调了在生产环境中禁用 sourcemaps 以防止此类暴露的重要性。

相关文章

原文

Extracted from https://apps.apple.com/. Saved using the Chrome extension Save All Resources.

Because Apple forgot to disable sourcemaps in production on the App Store website 🙃

image

As an interesting discovery, I've archived them here on GitHub for educational purposes.

.
├── api/          # API related code
├── assets/       # Static assets
├── node_modules/ # Dependencies
├── shared/       # Shared modules
├── src/          # Source code
│   ├── components/
│   ├── config/
│   ├── constants/
│   ├── context/
│   ├── stores/
│   └── utils/
└── us/           # US region specific
  • Complete Svelte/TypeScript source code
  • State management logic
  • UI components
  • API integration code
  • Routing configuration
  • And more...

This repository is for educational and research purposes only. All code is copyrighted by Apple Inc.

The source code was obtained from publicly accessible resources through browser developer tools.

The content in this repository belongs to Apple Inc. If there are any copyright concerns, please contact for removal.


Remember: Always disable sourcemaps in production! 😉

联系我们 contact @ memedata.com