2025-09-23 14:32:12 +08:00
<div align="center">
2026-03-11 15:43:23 +08:00
<img src="Docs/Media/README/atlas-icon.png" alt="Atlas for Mac icon" width="128" />
<h1>Atlas for Mac</h1>
<p><em>Explainable, recovery-first Mac maintenance workspace.</em></p>
2025-09-23 14:32:12 +08:00
</div>
2025-10-04 07:40:29 +08:00
<p align="center">
2026-03-11 15:43:23 +08:00
<img src="Docs/Media/README/atlas-overview.png" alt="Atlas for Mac overview screen" width="1000" />
2025-10-04 07:40:29 +08:00
</p>
2026-03-11 15:43:23 +08:00
Atlas for Mac is a native macOS application for people who need to understand why their Mac is slow, full, or disorganized, then take safe and reversible action. The current MVP unifies system overview, Smart Clean, app uninstall workflows, permissions guidance, history, and recovery into a single desktop workspace.
2025-09-23 14:32:12 +08:00
2026-03-11 15:43:23 +08:00
This repository is the working source for the new Atlas for Mac product. Atlas for Mac itself is open source under the MIT License. It remains an independent project and may reuse selected upstream Mole capabilities under the MIT License, but user-facing naming, release materials, and product direction are Atlas-first.
2025-09-23 14:32:12 +08:00
2026-03-11 15:43:23 +08:00
## MVP Modules
2025-10-04 17:58:33 +08:00
2026-03-11 15:43:23 +08:00
- `Overview`
- `Smart Clean`
- `Apps`
- `History`
- `Recovery`
- `Permissions`
- `Settings`
2025-10-04 07:21:49 +08:00
2026-03-11 15:43:23 +08:00
## Product Principles
2025-12-31 14:00:15 +08:00
2026-03-11 15:43:23 +08:00
- Explain recommendations before execution.
- Prefer recovery-backed actions over permanent deletion.
- Keep permission requests least-privilege and contextual.
- Preserve a native macOS app shell with worker and helper boundaries.
- Support `简体中文` and `English` , with `简体中文` as the default app language.
2025-12-31 14:00:15 +08:00
2026-03-11 15:43:23 +08:00
## Screens
2026-01-14 10:46:55 +08:00
2026-03-11 15:43:23 +08:00
| Overview | Smart Clean |
| --- | --- |
|  |  |
2025-09-23 14:32:12 +08:00
2026-03-11 15:43:23 +08:00
| Apps | History |
| --- | --- |
|  |  |
2025-12-10 14:12:43 +08:00
2026-03-11 15:43:23 +08:00
## Repository Layout
2025-12-10 14:12:43 +08:00
2026-03-11 15:43:23 +08:00
- `Apps/` — macOS app target and app-facing entry points
- `Packages/` — shared domain, application, design system, protocol, and feature packages
- `XPC/` — worker service targets
- `Helpers/` — privileged helper targets
- `Testing/` — shared testing support and UI automation repro targets
- `Docs/` — product, architecture, planning, attribution, and execution documentation
2025-12-29 19:40:09 +08:00
2026-03-11 15:43:23 +08:00
## Local Development
2025-10-03 11:27:48 +08:00
2026-03-11 15:43:23 +08:00
### Run the app
2025-09-23 14:32:12 +08:00
```bash
2026-03-11 15:43:23 +08:00
swift run --package-path Apps AtlasApp
2025-11-14 17:35:16 +08:00
```
2026-03-11 15:43:23 +08:00
### Open the native Xcode project
2025-09-30 00:43:52 +08:00
2025-10-04 17:58:33 +08:00
```bash
2026-03-11 15:43:23 +08:00
xcodegen generate
open Atlas.xcodeproj
2025-09-23 14:32:12 +08:00
```
2026-03-11 15:43:23 +08:00
### Build the native app bundle
2025-11-14 20:53:19 +08:00
```bash
2026-03-11 15:43:23 +08:00
./scripts/atlas/build-native.sh
2025-11-14 20:53:19 +08:00
```
2025-11-12 17:09:04 +08:00
2026-03-11 15:43:23 +08:00
### Package `.zip`, `.dmg`, and `.pkg` artifacts
2026-02-10 09:28:33 +02:00
2025-11-14 21:55:16 +08:00
```bash
2026-03-11 15:43:23 +08:00
./scripts/atlas/package-native.sh
2025-11-14 21:55:16 +08:00
```
2026-03-11 15:43:23 +08:00
### Run focused tests
2025-11-21 17:58:31 +08:00
```bash
2026-03-11 15:43:23 +08:00
swift test --package-path Packages
swift test --package-path Apps
2025-11-21 17:58:31 +08:00
```
2026-03-11 15:43:23 +08:00
## Refresh README Media
2025-12-17 20:35:45 +08:00
```bash
2026-03-11 15:43:23 +08:00
./scripts/atlas/export-readme-assets.sh
2025-11-15 19:23:02 +08:00
```
2026-03-11 15:43:23 +08:00
This exports the configured app icon and current app-shell screenshots into `Docs/Media/README/` .
2025-09-23 14:32:12 +08:00
2026-03-11 15:43:23 +08:00
## Attribution
2025-09-23 14:32:12 +08:00
2026-03-11 16:08:07 +08:00
Atlas for Mac is an independent MIT-licensed open-source project. This repository builds in part on the open-source project [Mole ](https://github.com/tw93/mole ) by tw93 and contributors, and still contains upstream Mole code and adapters used as implementation input. If upstream-derived code ships, keep [Docs/ATTRIBUTION.md ](Docs/ATTRIBUTION.md ) and [Docs/THIRD_PARTY_NOTICES.md ](Docs/THIRD_PARTY_NOTICES.md ) in sync with shipped artifacts.