[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1490":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},1490,"PawPal","zebangeth\u002FPawPal","zebangeth","一只住在你桌面上的小狗，提醒你休息、喝水、保持专注 | A little dog living on your desktop, reminding you to take breaks, stay hydrated, and keep focused.","",null,"TypeScript",522,77,21,12,0,9,19,199,27,9.68,"MIT License",false,"main",true,[],"2026-06-12 02:00:28","\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fsocial-preview.png\" alt=\"PawPal\" width=\"800\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">PawPal\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  一只住在你桌面上的小狗，提醒你休息、喝水、保持专注。\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg alt=\"Downloads\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fzebangeth\u002FPawPal\u002Ftotal?style=flat-square&label=downloads\" \u002F>\n  \u003Cimg alt=\"Electron\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FElectron-vite-47848f?style=flat-square&logo=electron&logoColor=white\" \u002F>\n  \u003Cimg alt=\"React\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FReact-19-61dafb?style=flat-square&logo=react&logoColor=111111\" \u002F>\n  \u003Cimg alt=\"License\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue?style=flat-square\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#中文\">中文\u003C\u002Fa> · \u003Ca href=\"#english\">English\u003C\u002Fa>\n\u003C\u002Fp>\n\n## 中文\n\nPawPal 是一个桌面宠物应用，支持 macOS 和 Windows。一只透明、始终置顶的小狗会陪在你的屏幕上，在你久坐、忘记喝水或者分心刷社交媒体时，温柔地把你带回节奏里。\n\n## 功能\n\n- **休息提醒** — 定时提醒你站起来活动一下，小狗会跑过整个屏幕引起你的注意\n- **喝水提醒** — 别忘了喝水\n- **专注模式** — 检测你当前在用的 app，如果你在刷社交媒体，小狗会来提醒你回去工作\n- **多种宠物外观** — 目前有线条小狗和金毛 puppy 两种风格\n- **中文 \u002F English** — 支持中英文切换\n- **本地优先** — 设置和统计数据保存在本地；只有手动检查更新或开启启动时检查更新时才会访问 GitHub Releases\n\n## 安装\n\n### 下载安装包（推荐）\n\n从 [Releases](..\u002F..\u002Freleases) 页面下载对应平台的安装包：\n\n| 文件 | 适用设备 |\n|------|---------|\n| `PawPal-x.x.x-arm64.dmg` | macOS Apple Silicon (M系列芯片) |\n| `PawPal-x.x.x-x64.dmg` | macOS Intel |\n| `PawPal.Setup.x.x.x.exe` | Windows (64-bit) |\n\n> **macOS**：首次打开时可能提示\"无法验证开发者\"，请在 系统设置 → 隐私与安全性 中允许打开。专注模式的分心检测需要授予 Accessibility 权限。\n>\n> **Windows**：分心检测功能暂不可用（目前仅支持 macOS），其他功能正常。\n\n### 从源码运行\n\n需要 Node.js 20+ 和 pnpm 9。推荐通过 Corepack 启用 pnpm：\n\n```bash\ncorepack enable\ngit clone https:\u002F\u002Fgithub.com\u002Fzebangeth\u002FPawPal.git\ncd PawPal\npnpm install\npnpm dev\n```\n\n如果 `corepack enable` 没有权限，请用其他方式安装 pnpm 9，并确认 `pnpm --version` 可以正常运行。\n\n## 构建\n\n```bash\npnpm test         # 运行纯逻辑测试\npnpm build        # 编译（含类型检查）\npnpm dist         # 编译 + 打包 macOS 和 Windows\npnpm dist:mac     # 仅打包 macOS\npnpm dist:win     # 仅打包 Windows（需要 Wine 或在 Windows 上运行）\n```\n\n> 本地打包时请确保 `pnpm` 命令可以在 shell 中直接运行；electron-builder 会用它收集依赖。\n\n## 技术栈\n\n- Electron + electron-vite\n- React 19 + TypeScript\n- electron-store（本地持久化）\n- electron-builder（打包分发）\n\n## 项目结构\n\n```\nsrc\u002Fmain\u002F       主进程：窗口管理、托盘菜单、定时器、持久化、专注检测、更新检查\nsrc\u002Fpreload\u002F    IPC 桥接层\nsrc\u002Frenderer\u002F   React UI（宠物窗口 + 设置窗口）\nsrc\u002Fshared\u002F     共享类型、默认配置、i18n、宠物外观定义\ntests\u002F          纯逻辑测试\npet_assets\u002F     宠物动画素材（GIF）\n```\n\n## 开发路线\n\n- [ ] 更多宠物外观\n- [ ] 声音效果\n- [ ] Windows 分心检测\n- [ ] 多显示器适配优化\n\n## 许可\n\n源代码基于 [MIT License](LICENSE)。宠物动画素材有独立的授权说明，详见 [ASSET_LICENSE.md](ASSET_LICENSE.md)。\n\n---\n\n## English\n\nA tiny desktop dog that helps you pause before you burn out.\n\nPawPal is a desktop pet app for macOS and Windows. A transparent, always-on-top dog lives on your screen and gently reminds you to take breaks, drink water, and stay focused.\n\n### Features\n\n- **Break reminders** — timed nudges to get up and move; the dog runs across your screen to get your attention\n- **Hydration reminders** — don't forget to drink water\n- **Focus mode** — detects what app you're using; if you're on social media, the dog will nudge you back to work\n- **Multiple pet styles** — line-drawing dog and golden retriever puppy\n- **Chinese \u002F English UI**\n- **Local-first data** — settings and stats stay on your machine; PawPal only contacts GitHub Releases when you manually check for updates or opt in to launch-time checks\n\n### Install\n\nDownload the latest installer from [Releases](..\u002F..\u002Freleases) (`.dmg` for macOS, `.exe` for Windows), or run from source:\n\n```bash\ncorepack enable\ngit clone https:\u002F\u002Fgithub.com\u002Fzebangeth\u002FPawPal.git\ncd PawPal\npnpm install\npnpm dev\n```\n\nSource builds require Node.js 20+ and pnpm 9. Make sure the `pnpm` command is available in your shell before packaging, because electron-builder uses it while collecting dependencies.\n\nIf `corepack enable` does not have permission to install shims, install pnpm 9 another way and verify that `pnpm --version` works.\n\nCommon commands:\n\n```bash\npnpm test\npnpm build\npnpm dist\n```\n\n### License\n\nSource code under [MIT License](LICENSE). Pet animation assets have separate licensing; see [ASSET_LICENSE.md](ASSET_LICENSE.md).\n","PawPal 是一个桌面宠物应用，旨在通过一只透明、始终置顶的小狗提醒用户休息、喝水和保持专注。其核心功能包括定时休息提醒、喝水提醒以及专注模式，后者能在检测到用户分心刷社交媒体时给予温柔的提示。此外，PawPal 提供了多种宠物外观选择，并支持中英文界面切换。该项目基于 Electron 和 React 构建，使用 TypeScript 编写，确保了跨平台兼容性和良好的用户体验。适合需要长时间面对电脑工作或学习的人群使用，帮助他们更好地管理时间并关注自身健康。",2,"2026-06-11 02:44:05","CREATED_QUERY"]