{"id":32766968,"url":"https://github.com/sherlockgougou/vixmenubar","last_synced_at":"2025-11-05T08:01:39.500Z","repository":{"id":321546555,"uuid":"1086246192","full_name":"SherlockGougou/VIXMenuBar","owner":"SherlockGougou","description":"👻100% AI Coding：轻量、开源的 macOS 菜单栏应用，用于显示 VIX（恐慌指数）最新数值（数据来源：Yahoo Finance）。","archived":false,"fork":false,"pushed_at":"2025-10-30T08:29:15.000Z","size":561,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T08:43:15.280Z","etag":null,"topics":["ai","macos","swiftui","vix"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SherlockGougou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-10-30T06:37:14.000Z","updated_at":"2025-10-30T08:29:19.000Z","dependencies_parsed_at":"2025-10-30T08:43:20.533Z","dependency_job_id":null,"html_url":"https://github.com/SherlockGougou/VIXMenuBar","commit_stats":null,"previous_names":["sherlockgougou/vixmenubar"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SherlockGougou/VIXMenuBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SherlockGougou%2FVIXMenuBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SherlockGougou%2FVIXMenuBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SherlockGougou%2FVIXMenuBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SherlockGougou%2FVIXMenuBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SherlockGougou","download_url":"https://codeload.github.com/SherlockGougou/VIXMenuBar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SherlockGougou%2FVIXMenuBar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282783871,"owners_count":26726528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"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":["ai","macos","swiftui","vix"],"created_at":"2025-11-04T07:01:28.919Z","updated_at":"2025-11-05T08:01:39.481Z","avatar_url":"https://github.com/SherlockGougou.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# VIXMenuBar\n\n轻量、开源的 macOS 菜单栏应用，用于显示 VIX（恐慌指数）最新数值（数据来源：Yahoo Finance）。\n\n[![platform](https://img.shields.io/badge/platform-macOS-000000?logo=apple\u0026logoColor=white)](#)\n[![swift](https://img.shields.io/badge/Swift-5.7%2B-FA7343?logo=swift\u0026logoColor=white)](#)\n[![xcode](https://img.shields.io/badge/Xcode-14%2B-1575F9?logo=xcode\u0026logoColor=white)](#)\n[![ui](https://img.shields.io/badge/SwiftUI-%2B%20AppKit-43a047)](#)\n[![license](https://img.shields.io/badge/License-MIT-44CC11)](#license)\n\n\u003c/div\u003e\n\n\u003e 在菜单栏展示最新 VIX 数值；点击图标可打开弹出面板查看详情（最新值、更新时间、手动刷新与退出）。\n\n## 介绍与特性\n\n- 菜单栏图标 + 实时数值显示\n- 弹出面板展示最新数值与更新时间，支持手动刷新\n- 自动周期拉取（默认 60 秒）\n\n提示：本项目仅读取 Yahoo Finance 公开接口，不收集或上传任何用户隐私数据。\n\n## 效果预览\n\n![预览占位图](docs/image1.png)\n\n## 环境要求\n\n- macOS 12+（建议更高版本）\n- Xcode 14+（Swift 5.7+）\n\n## 安装与使用（普通用户）\n\n将来发布到 GitHub Releases 后，普通用户可直接下载 `.dmg` 或 `.zip`。在此之前，你可以通过“从源码构建”自行使用。\n\n首次启动后：\n- 菜单栏会出现图标与数值。\n- 默认每 60 秒自动刷新；也可在弹出面板中手动刷新。\n\n登录时启动（Launch at Login）\n- 从 macOS 13 起，应用通过系统提供的 ServiceManagement API 将自身添加到“系统设置 → 通用 → 登录项”。\n- 第一次开启时，系统可能需要你的批准；若需要，会自动跳转到“登录项”页面，请在列表中允许该应用。\n- 之后系统会在你登录 macOS 时自动启动本应用。\n\n关于来自“未知开发者”的提示：\n- 如果是未签名应用，macOS 可能会阻止启动；可在“系统设置 → 隐私与安全 → 仍要打开”放行，或使用 Finder 中“右键 → 打开”。\n- 推荐后续使用开发者 ID 进行签名与公证，详见下文“打包与分发”。\n\n## 从源码构建（开发者）\n\n1) 打开项目\n- 双击 `VIXMenuBar.xcodeproj` 或在 Xcode 中手动打开。\n\n2) 选择运行目标\n- Target：`VIXMenuBar`，运行目标为你的 My Mac。\n\n3) 运行\n- 点击 Run（⌘R）。首次运行会立即拉取一次数据并显示在菜单栏。\n\n### 打包与分发（可选）\n\n1. 签名与沙盒（App Sandbox）\n   - 若在沙盒环境发布，需在 Signing \u0026 Capabilities 中启用 `App Sandbox`，并勾选 `Outgoing Connections (Client)`（`com.apple.security.network.client`）。\n   - 使用 `SMAppService.mainApp` 无需额外的登录项辅助程序；建议使用开发者 ID 对应用进行签名以获得最佳用户体验。\n\n2. 代码签名与公证（推荐）\n   - 使用 Developer ID 对应用签名与公证（notarize），避免 Gatekeeper 阻止用户启动。\n   - 参考 Apple 文档完成公证流程；签名示例命令请根据你的证书调整（可在 README 历史版本中查看样例）。\n\n### 刷新间隔\n- 默认 60 秒。若需修改，可在代码中调整对应常量（后续可加入 UI 配置）。\n\n## 隐私与数据来源\n\n- 仅访问 Yahoo Finance 公开接口（https://query1.finance.yahoo.com）获取行情数据；不采集、不上传任何本地用户数据。\n- 若你扩展或更换数据源，请遵守相应服务的使用条款并在文档或应用内告知用户。\n\n## 贡献与开发\n\n欢迎 Issue / PR！\n\n## 许可证\n\n本项目采用 MIT 许可证发布。你可以自由地使用、修改和分发本软件。若将来在仓库中添加 `LICENSE` 文件，GitHub 将自动识别许可协议。\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherlockgougou%2Fvixmenubar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsherlockgougou%2Fvixmenubar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherlockgougou%2Fvixmenubar/lists"}