{"id":46646817,"url":"https://github.com/woojinahn/cursormeter","last_synced_at":"2026-03-15T10:35:07.898Z","repository":{"id":341530928,"uuid":"1169087566","full_name":"WoojinAhn/CursorMeter","owner":"WoojinAhn","description":"Lightweight macOS menu bar app for monitoring Cursor IDE usage at a glance","archived":false,"fork":false,"pushed_at":"2026-03-02T07:51:18.000Z","size":44,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-02T11:48:17.252Z","etag":null,"topics":["cursor","macos","menubar","swift","swiftui"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WoojinAhn.png","metadata":{"files":{"readme":"README.ko.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-28T06:44:18.000Z","updated_at":"2026-03-02T07:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/WoojinAhn/CursorMeter","commit_stats":null,"previous_names":["woojinahn/cursormeter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/WoojinAhn/CursorMeter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoojinAhn%2FCursorMeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoojinAhn%2FCursorMeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoojinAhn%2FCursorMeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoojinAhn%2FCursorMeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WoojinAhn","download_url":"https://codeload.github.com/WoojinAhn/CursorMeter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WoojinAhn%2FCursorMeter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30246626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cursor","macos","menubar","swift","swiftui"],"created_at":"2026-03-08T05:00:29.173Z","updated_at":"2026-03-08T05:01:52.687Z","avatar_url":"https://github.com/WoojinAhn.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[English](README.md) | **한국어**\n\n# CursorMeter\n\n[Cursor](https://www.cursor.com/) IDE의 사용량을 macOS 메뉴바에서 한눈에 모니터링하는 경량 앱입니다. 브라우저 탭을 열 필요 없이 실시간으로 확인할 수 있습니다.\n\n에디터 내 확장과 달리, CursorMeter는 네이티브 macOS 앱으로 독립 실행됩니다. IDE를 열지 않아도 메뉴바에서 항상 확인 가능하며, Keychain 기반으로 재시작 후에도 로그인이 유지됩니다.\n\n\n## 주요 기능\n\n- 메뉴바 파이 차트 아이콘으로 사용량 시각화 (초록/노랑/빨강 색상 단계)\n- 메뉴바에서 요청 사용량(사용/한도) 및 리셋 날짜 확인\n- 사용량 임계치 도달 시 macOS 알림 (80%/90%, 커스텀 가능)\n- 메뉴바 표시 모드 전환: 분수(사용/한도) 또는 퍼센트(%)\n- 설정 UI (새로고침 간격, 알림 임계치, 메뉴바 표시 형식)\n- 로그인 시 자동 실행 지원\n- 앱 내 업데이트 확인\n- 앱 내 WebView 로그인 (Google, GitHub, Enterprise SSO 지원)\n- 자동 새로고침 (1/2/5/15분 간격 선택)\n- Keychain 기반 인증 정보 저장\n- 순수 AppKit 기반 — 최소 메모리 사용량 (~13 MB RSS)\n\n## 보안 특성\n\n- 외부 의존성 0개 (macOS SDK만 사용)\n- WebView 도메인 whitelist 적용\n- `URLSessionConfiguration.ephemeral` (디스크 캐시 없음)\n- JavaScript injection 없음\n- Keychain 기반 인증 정보 저장\n\n## 요구사항\n\n- macOS 14 (Sonoma) 이상\n\n## 설치\n\n1. [Releases](https://github.com/WoojinAhn/CursorMeter/releases)에서 최신 `.zip` 다운로드\n2. 압축 해제 후 `CursorMeter.app`을 `/Applications`로 이동\n3. 최초 실행 시 macOS가 차단할 수 있습니다 (미서명 앱). 우회 방법:\n   - 앱을 **우클릭** → **열기** → 대화상자에서 **열기** 클릭\n   - 또는: 시스템 설정 → 개인정보 보호 및 보안 → **확인 없이 열기** 클릭\n\n## 소스에서 빌드\n\n```bash\n# 빌드 + .app 번들 생성 (ad-hoc 서명)\nbash Scripts/package_app.sh\n\n# 설치\ncp -r CursorMeter.app /Applications/\n```\n\nSwift 6.0+ 및 Xcode가 필요합니다.\n\n## 테스트\n\n```bash\nswift test    # 전체 테스트 실행 (Xcode 필요)\n```\n\nUnit test (LogRedactor, UsageDisplayData, DomainWhitelist, CircularProgressIcon, NotificationManager) + Integration test (CursorAPIClient with URLProtocol mock). 수동 테스트 항목은 [test-checklist.md](docs/test-checklist.md) 참고.\n\n## 주의사항\n\n이 앱은 Cursor의 **비공식 내부 API** (`/api/usage`, `/api/usage-summary`, `/api/auth/me`)를 사용합니다. 해당 엔드포인트는 사전 고지 없이 변경되거나 차단될 수 있습니다.\n\n## 로드맵\n\n- [ ] 요청 한도 소진 시 On-demand 사용량으로 프로그레스 전환 ([#36](https://github.com/WoojinAhn/CursorMeter/issues/36))\n\n## 라이선스\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoojinahn%2Fcursormeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoojinahn%2Fcursormeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoojinahn%2Fcursormeter/lists"}