A lightweight macOS menu bar calendar built with SwiftUI MenuBarExtra (macOS 13+). Click the menu bar item to open a calendar panel with lunar calendar support, solar terms, festival countdowns, and a customizable digital clock.
Current version: 0.0.3
MenuBarCalendar lives in the menu bar (no Dock icon) and focuses on three things: a readable clock in the menu bar, a rich calendar popover, and sensible defaults with minimal configuration.
Design principles:
- Minimal β core features only; small codebase and binary footprint
- Native β system
Formfor Settings,MenuBarExtrafor the menu bar,DateFormatterfor time display - Clean β split calendar panel, frosted background, large lightweight digital clock
- Digital time display with 12/24-hour format, seconds, and AM/PM
- Display presets: time only, time + date, time + weekday, time + lunar date, and more
- Custom
DateFormatterformat strings - Icon-only mode
- Left panel: large digital clock, Gregorian/Lunar details, week-start toggle, solar-term and festival countdown
- Right panel: month grid with week numbers, lunar/festival labels, today highlight, holiday markers
- Copy date, jump to today (βT)
- Optional Chinese time announcements via
NSSpeechSynthesizer - Intervals: hourly, every 30 minutes, or every 15 minutes
- Gregorian β Lunar conversion for 1900β2100
- Heavenly stems, earthly branches, zodiac, 24 solar terms, traditional festivals
Placeholder β add screenshots of the menu bar preview, calendar panel, and Settings window.
- macOS 13.0 (Ventura) or later
- Xcode 16+ recommended for building from source
- Open the Releases page.
- Download
MenuBarCalendar-v0.0.3.zipfrom the latest release. - Unzip and drag
MenuBarCalendar.appto Applications (or~/Applications). - Launch the app β it appears in the menu bar (no Dock icon).
macOS may block apps from unidentified developers. If needed, right-click the app β Open β confirm.
cd MenuBarCalendar
python3 generate_xcodeproj.py # only if you changed the source file list
open MenuBarCalendar.xcodeproj
# Select the MenuBarCalendar scheme in Xcode, then press βRCommand-line Release build:
xcodebuild -project MenuBarCalendar.xcodeproj \
-scheme MenuBarCalendar \
-configuration Release \
-derivedDataPath build/DerivedData \
buildInstall the built app:
cp -R build/DerivedData/Build/Products/Release/MenuBarCalendar.app ~/Applications/
open ~/Applications/MenuBarCalendar.appAfter launch, the app icon appears in the menu bar. Click it to open the calendar panel.
Open Settings from the gear icon in the panel footer, or MenuBarCalendar β Settings (β,):
| Section | Options |
|---|---|
| Time Display | 12/24-hour, AM/PM, seconds |
| Menu Bar | Display content, custom format, live preview |
| Calendar | Week starts on Monday, upcoming festival countdown |
| Voice | Enable announcements, interval |
Preferences are stored in UserDefaults and apply immediately.
MenuBarCalendar/
βββ MenuBarCalendar/
β βββ MenuBarCalendarApp.swift # App entry, MenuBarExtra, Settings
β βββ Core/
β β βββ Models/ # Data models
β β βββ Services/ # Clock, lunar, formatting, voice
β β βββ Settings/ # UserSettings
β βββ Features/
β β βββ MenuBar/ # Menu bar label
β β βββ CalendarPanel/ # Popover panel
β β βββ Settings/ # Settings (Form)
β βββ UI/Components/ # Theme and panel components
βββ MenuBarCalendarTests/
βββ MenuBarCalendar.xcodeproj
xcodebuild -project MenuBarCalendar.xcodeproj -scheme MenuBarCalendar testSee CHANGELOG.md for release notes:
- v0.0.3 β open-source polish, CI, GitHub Releases distribution
- v0.0.2 β streamlined UI, native Settings
Form, smaller binary - v0.0.1 β initial release with voice announcements and lunar calendar
Contributions are welcome! Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before opening a pull request.
This project is licensed under the MIT License.
- junhey β project maintainer