See anyone's GitHub contribution graph and activity overview in your Mac menu bar and widgets.
翻譯準備中
正在載入完整 README。
檢視完整 README ↗Download:
Or with Homebrew:
brew install --cask garoknows/tap/tracker-for-github
Step-by-step pictures: docs/INSTALL.md.
You need macOS 14+ and Xcode (free in the Mac App Store).
git clone https://github.com/garoknows/github-tracker.git
cd github-tracker
./scripts/install.sh
The script builds a Release copy, puts it in /Applications and opens it. It prints a clear message if Xcode is missing.
For development, run swift test --package-path Packages/TrackerKit for the unit tests (no network needed), and see CONTRIBUTING.md. The Xcode project is generated from project.yml with XcodeGen.
Why is the quadrant chart missing for someone? GitHub only shows "Activity overview" for people who turned it on in their profile settings. If they did and it's still missing, paste a free read-only token in Settings. It needs no permissions at all (create one).
Does it show private work? Only as anonymous squares, and only if that person turned on "Private contributions" on their profile. Private repo names and code are never shown. That's how GitHub's own profile works too.
Does the total match github.com? Yes. The graph comes from the same public page GitHub uses for profiles, and the colors use GitHub's own intensity levels.
Why can't I swipe the widgets? macOS widgets only support clicks on buttons, so they have ◀ ▶ instead. Swiping works in the menu bar popover.
Can the widgets use my app favorites? Not in this free build. Sharing settings between an app and its widgets needs an Apple Developer signing team (App Groups). For now each widget is set up with Edit Widget, which takes about 10 seconds.
How often does it refresh? Every 30 minutes by default (15 min to 3 hr in Settings). Widgets refresh about every 30 minutes. Refresh in the popover updates right away.
Something broke after GitHub changed its site. Please open an issue. All of GitHub's page format is handled in one place with saved test pages, so fixes are quick. See docs/DATA-SOURCES.md.
Details in SECURITY.md.
Built with ideas (not code) from these projects. Thank you!
| Project | License | What it inspired |
|---|---|---|
| menubar-apps/StreakBar | GPL-3.0 | Menu bar graph, Homebrew tap |
| JustinFincher/GitHubContributionsiOS | GPL-3.0 | Contribution widgets |
| lukaskaibel/issues-for-github | MIT | Reference for the planned v2 sign-in and issue cards |
| mohummudh/contributions | No license declared | Unauthenticated scraping in a native widget |
| Jeetchavan02/Macos-Github-Widget | No license declared | Swift 6 widget, offline cache |
| SekulDev/GithubContributionWidgetMacOS | MIT | One-command install script |
No code from the GPL-licensed projects was copied into this MIT project.
Tracker for GitHub is free. If it's useful to you, you can sponsor its development.
MIT © garoknows
Tracker for GitHub is an independent project. It is not affiliated with, endorsed by, or sponsored by GitHub, Inc. "GitHub" is a trademark of GitHub, Inc.