{"id":36955130,"url":"https://github.com/taozi0818/millionaire","last_synced_at":"2026-01-13T13:01:47.037Z","repository":{"id":328014711,"uuid":"1110779921","full_name":"taozi0818/millionaire","owner":"taozi0818","description":"🤑 Wish you financial freedom soon! 💰","archived":false,"fork":false,"pushed_at":"2025-12-10T18:39:23.000Z","size":2043,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-11T04:20:40.580Z","etag":null,"topics":["entertainment-application","macos-application","react","rust","stocks","tauri","vibe-coding"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/taozi0818.png","metadata":{"files":{"readme":"README.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":"2025-12-05T17:52:56.000Z","updated_at":"2025-12-10T18:36:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/taozi0818/millionaire","commit_stats":null,"previous_names":["taozi0818/millionaire"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/taozi0818/millionaire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taozi0818%2Fmillionaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taozi0818%2Fmillionaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taozi0818%2Fmillionaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taozi0818%2Fmillionaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taozi0818","download_url":"https://codeload.github.com/taozi0818/millionaire/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taozi0818%2Fmillionaire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28385803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T12:01:30.995Z","status":"ssl_error","status_checked_at":"2026-01-13T12:00:09.625Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["entertainment-application","macos-application","react","rust","stocks","tauri","vibe-coding"],"created_at":"2026-01-13T13:01:45.895Z","updated_at":"2026-01-13T13:01:47.029Z","avatar_url":"https://github.com/taozi0818.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Millionaire\n\n\u003e 梦想还是要有的，万一实现了呢？\n\n一款专为牛马设计的桌面端股票监控应用。小巧隐蔽，一键呼出，神不知鬼不觉地关注你的自选股。失去焦点自动隐藏，让你在工位上也能安心做个「隐形股民」。\n\n支持 macOS / Windows / Linux。\n\n## 打工人专属\n\n- **极致隐蔽** - 菜单栏驻留，无 Dock 图标，失焦即隐，老板路过无痕迹\n- **一键呼出** - 快捷键秒开秒关，比 Alt+Tab 还快\n- **摸鱼友好** - 仅交易时段自动刷新，下班后不打扰你的生活\n- **迷你精致** - 小窗口大信息，分时走势一目了然\n\n![alt text](./assets/screenshot.png)\n\n## 功能特性\n\n- **自选股管理** - 添加、删除、拖拽排序\n- **实时行情** - A股实时价格和涨跌幅\n- **分时走势** - 迷你分时图展示当日走势\n- **智能刷新** - 仅在交易时段（9:30-11:30, 13:00-15:00）自动刷新\n- **窗口置顶** - 需要时可固定窗口\n- **自定义快捷键** - 打造专属摸鱼手势\n\n## 快捷键\n\n- `⌥M` (Option + M) - 显示/隐藏面板（可自定义）\n\n## macOS 用户须知\n\n由于应用未经 Apple 签名，首次打开时可能会提示\"已损坏\"或\"无法打开\"。请在终端执行：\n\n```bash\nxattr -cr /Applications/Millionaire.app\n```\n\n如果快捷键无法使用，需要在「系统设置 → 隐私与安全性 → 辅助功能」中添加 Millionaire 并授权。\n\n## 开发\n\n### 环境要求\n\n- Node.js 18+\n- Rust 1.77+\n- macOS 10.15+\n\n### 安装依赖\n\n```bash\nnpm install\n```\n\n### 开发模式\n\n```bash\nnpm run tauri dev\n```\n\n### 构建应用\n\n```bash\nnpm run tauri build\n```\n\n## 技术栈\n\n- **前端**: React + TypeScript + Vite\n- **后端**: Tauri 2 + Rust\n- **数据源**: 东方财富 API\n\n## 配置文件\n\n应用配置存储在以下位置：\n\n- **macOS**: `~/Library/Application Support/com.millionaire.stock/`\n- **Windows**: `%APPDATA%/com.millionaire.stock/`\n- **Linux**: `~/.config/com.millionaire.stock/`\n\n### config.json\n\n快捷键和窗口配置：\n\n```json\n{\n  \"shortcut\": {\n    \"modifiers\": [\"Alt\"],\n    \"key\": \"M\"\n  },\n  \"window_size\": {\n    \"width\": 280,\n    \"height\": 500\n  }\n}\n```\n\n### settings.json\n\n自选股列表和刷新设置：\n\n```json\n{\n  \"stocks\": [\n    { \"code\": \"000001\", \"market\": \"1\" },\n    { \"code\": \"399001\", \"market\": \"0\" },\n    { \"code\": \"600519\", \"market\": \"1\" }\n  ],\n  \"refresh_interval\": 10\n}\n```\n\n**字段说明**：\n- `stocks`: 自选股列表\n  - `code`: 股票代码（6位数字）\n  - `market`: 市场代码，`\"1\"` = 上海，`\"0\"` = 深圳\n- `refresh_interval`: 自动刷新间隔（秒），最小值 10\n\n## 其他文档\n\n更多技术文档请参考 [docs](docs/) 目录。\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaozi0818%2Fmillionaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaozi0818%2Fmillionaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaozi0818%2Fmillionaire/lists"}