English | 简体中文
ClearView is a very minimalist macOS app that helps users maintain healthier screen-time rhythms with periodic eye-break reminders and blue-light filter controls.
Current version:
0.1.0(release)
- ClearView
- Minimalist style, supporting both dark and light modes, following the system.
- Menu bar based workflow with an independent main panel.
- Reminder lifecycle: work timer → preparation countdown → break countdown → completion.
- Reminder actions: complete now, snooze, and restart timing.
- Blue-light filter presets:
Off,Light,Medium,Night. - Multiple customizable global shortcuts.
- Local-only settings persistence via
UserDefaults.
- macOS 13+
If you only want to install and use ClearView, you do not need Xcode or Swift.
- Open this repository’s Releases page.
- Download the latest
ClearView-<version>.dmg. - Double-click the DMG to open it.
- Drag
ClearView.appinto theApplicationsfolder. - Launch
ClearViewfromApplications.
The current release may not be signed and notarized with an Apple Developer account. On first launch, macOS may show a warning such as “Apple cannot check it for malicious software” or block the app.
Recommended path:
- Open
Applicationsin Finder. - Find
ClearView.app, then Control-click or right-click it. - Choose Open.
- Click Open again in the confirmation dialog.
If macOS still blocks the app, allow it in System Settings:
- Try launching
ClearViewonce fromApplicationsso macOS creates a blocked-app record. - Open System Settings.
- Go to Privacy & Security.
- Scroll down to the Security section.
- Find a message like “
ClearViewwas blocked from use because it is not from an identified developer.” - Click Open Anyway or Allow.
- Enter your Mac login password or confirm with Touch ID if prompted.
- Launch
ClearViewagain fromApplications, then click Open in the confirmation dialog.
Do not disable Gatekeeper globally. Only allow this app if you trust the download source.
After launch, ClearView appears in the macOS menu bar. Click the menu bar icon to open the main panel, adjust reminder timing, switch blue-light filter presets, and open settings.
The default shortcuts are listed below and can be changed in settings:
| Action | Shortcut |
|---|---|
| Open main panel | ⌘⇧Space |
| Pause/resume reminders | ⌘⇧P |
| Snooze reminder | ⌘⇧S |
| Switch eye-care mode | ⌘⇧L |
The following steps are for developers.
Requirements:
- Xcode 15+ (recommended)
- Swift 5.9+
- Open
ClearView.xcodeprojin Xcode. - Select scheme
ClearView. - Run (
⌘R). - Click the menu bar icon and choose 打开 ClearView.
- Build:
Product -> Build - Run:
Product -> Run - Test:
Product -> Test - Archive:
Product -> Archive
From the repository root (runs xcodebuild Release, then writes dist/ClearView-<version>.dmg, version read from the built app’s CFBundleShortVersionString):
./scripts/create-dmg.shIf you already built ClearView.app in Xcode, pass the path to skip the compile step:
./scripts/create-dmg.sh /absolute/path/to/ClearView.appThe default packaging flow uses CODE_SIGNING_ALLOWED=NO. For wider distribution, configure signing and notarization in Xcode and adjust your pipeline accordingly.
Build policy:
v0.1.0is supported via Xcode /xcodebuildonly, to ensure a complete macOS.appbundle (icon assets, bundle metadata, and packaging flow).
ClearView/
├── ClearView/ # App source code
│ ├── ClearViewApp.swift # App entry + app state orchestration
│ ├── MenuBarView.swift # Menu bar menu UI
│ ├── ContentView.swift # Main panel UI
│ ├── ReminderFloatingView.swift# Reminder popup UI
│ ├── GlobalShortcutManager.swift
│ ├── AppSettingsStore.swift # Settings persistence + migration
│ ├── BlueLightFilterService.swift
│ ├── MainPanelController.swift
│ ├── SettingsPanelController.swift
│ ├── AboutPanelController.swift
│ ├── AppVersion.swift
│ └── Resources/ # Image assets (menu bar icon, backgrounds)
├── ClearViewTests/ # Unit tests
├── ClearViewUITests/ # UI tests
├── docs/
│ ├── README.md
│ └── CHANGELOG.md
├── CONTRIBUTING.md
├── SECURITY.md
├── Package.swift
└── LICENSE
- User settings are stored locally in
UserDefaults. - No account system, cloud sync, or telemetry in
v0.1.0. - Shortcut and UI preference migrations are handled in
AppSettingsStore.
- Menu bar icon not clear enough: ensure the menu bar icon asset is a dedicated template-style icon (transparent background, simplified thick strokes).
- Global shortcut registration fails: choose another key combination in settings (some combos are reserved by macOS or other apps).
- First launch blocked by macOS: see Bypass Gatekeeper, right-click
ClearView.app, and choose Open to confirm once.
See docs/CHANGELOG.md for release notes and upcoming evolution from current baseline.
Contributions are welcome.
Before opening a PR, please read CONTRIBUTING.md.
Recommended PR checklist:
- Keep changes focused and small.
- Update docs when behavior changes.
- Ensure build and tests pass.
- Avoid committing secrets or local environment files.
If you discover a vulnerability, please follow SECURITY.md and report it privately first.
- No account system.
- No cloud sync.
- No telemetry in
v0.1.0.
Licensed under Apache License 2.0. See LICENSE.




