Go to file
tigerenwork 9f8fb52726 feat: switch OAuth redirect to localhost loopback (RFC 8252)
Feishu rejected the 'bugger://' custom URL scheme redirect with 参数不合法.
Switched to the standard desktop OAuth flow: a one-shot local HTTP server
on 127.0.0.1:18923 that receives the authorization code from the browser.

Changes:
- Added LocalOAuthServer (Network.framework, one-shot HTTP listener)
- FeishuAuthService now uses dynamic http://127.0.0.1:PORT/callback redirect
- Removed CFBundleURLTypes from Info.plist (no custom scheme needed)
- Removed NSAppleEventManager handler from AppDelegate
- TokenManager.handleCallback changed from URL to code string
- OAuthSetupView starts server before opening browser
- Added offline_access scope for refresh token support
- generate_xcode_project.py: removed dev cert requirements,
  auto-quotes paths with special chars

Builds successfully with xcodebuild.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 23:48:49 +08:00
Bugger.xcodeproj feat: switch OAuth redirect to localhost loopback (RFC 8252) 2026-06-28 23:48:49 +08:00
Resources feat: switch OAuth redirect to localhost loopback (RFC 8252) 2026-06-28 23:48:49 +08:00
Sources feat: switch OAuth redirect to localhost loopback (RFC 8252) 2026-06-28 23:48:49 +08:00
docs first commit: project README, high-level design and detailed implementation docs 2026-06-28 20:54:51 +08:00
scripts feat: switch OAuth redirect to localhost loopback (RFC 8252) 2026-06-28 23:48:49 +08:00
.gitignore feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
Config.xcconfig.example feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
README.md first commit: project README, high-level design and detailed implementation docs 2026-06-28 20:54:51 +08:00

README.md

Bugger for macOS

A lightweight macOS menu bar app that surfaces bugs assigned to you from a Feishu Bitable. Shows a badge in the menu bar, a popover with your active bugs, and native notifications when bugs are assigned or changed.

Inspired by the Windows Bugger tool.

Status

Early design phase. See docs/ for the high-level design and detailed implementation plan.

Docs