[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80541":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":14,"starSnapshotCount":14,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},80541,"petpet","ppXD\u002Fpetpet","ppXD","A desktop pet that lives with you and grows alongside your AI work — every prompt is XP, every level a new form. 🥚→🦄🐒🦍",null,"Rust",107,7,8,0,43,47.01,"MIT License",false,"main",true,[],"2026-06-12 04:01:29","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"desktop\u002Fsrc-tauri\u002Ficons\u002Ficon.png\" width=\"140\" alt=\"petpet\">\n\n\u003Ch1>petpet\u003C\u002Fh1>\n\n\u003Ch3>Real AI Pet Raising\u003C\u002Fh3>\n\n\u003Cp>\u003Ci>The harder you work your AI — the mightier your pet becomes.\u003C\u002Fi> 🐣 → 🦄\u003C\u002Fp>\n\n\u003Cp>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FppXD\u002Fpetpet\u002Freleases\u002Flatest\">\u003Cimg alt=\"release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FppXD\u002Fpetpet?include_prereleases&label=release\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg alt=\"license\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-green\">\u003C\u002Fa>\n  \u003Cimg alt=\"local-first\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdata-100%25%20local-success\">\n\u003C\u002Fp>\n\n\u003C\u002Fdiv>\n\n\u003Cbr>\n\n\u003Cdiv align=\"center\">\n\n### 🥚 Pick your egg\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FppXD\u002Fpetpet\u002Freleases\u002Flatest\">\u003Cimg alt=\"Download for macOS\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload-macOS-000000?style=for-the-badge&logo=apple&logoColor=white\">\u003C\u002Fa>\n&nbsp;\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FppXD\u002Fpetpet\u002Freleases\u002Flatest\">\u003Cimg alt=\"Download for Windows\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload-Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white\">\u003C\u002Fa>\n&nbsp;\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FppXD\u002Fpetpet\u002Freleases\u002Flatest\">\u003Cimg alt=\"Download for Linux\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload-Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black\">\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n\n\u003Cbr>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Install commands\u003C\u002Fb> (click to expand)\u003C\u002Fsummary>\n\n```sh\n# 🍎 macOS — drag .dmg to \u002FApplications, then clear quarantine on first launch:\nxattr -cr \u002FApplications\u002Fpetpet.app\n\n# 🪟 Windows — double-click the .msi (or _x64-setup.exe for the NSIS variant)\n\n# 🐧 Debian \u002F Ubuntu\nsudo dpkg -i petpet_*_amd64.deb\n\n# 🐧 Fedora \u002F RHEL\nsudo rpm -i petpet-*-1.x86_64.rpm\n\n# 🐧 Portable (any distro, no install)\nchmod +x petpet_*_amd64.AppImage && .\u002Fpetpet_*_amd64.AppImage\n```\n\n\u003C\u002Fdetails>\n\n\u003Cbr>\n\n###  🐾 What is petpet?\n\npetpet is a desktop companion that quietly listens to **Claude Code \u002F Codex \u002F OpenCode \u002F Aider** — and more providers landing soon — then turns your real AI usage into the pet's growth. Code seriously, your pet thrives. Idle, it sleeps.\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"assets\u002Fscreenshots\u002Fpet-hover.png\" alt=\"Live pet — hover reveals name, level, XP progress bar, and the upcoming stage\" width=\"380\">\n  \u003Cbr>\n  \u003Csub>\u003Ci>Hover the pet to peek at name · level · XP bar · upcoming stage\u003C\u002Fi>\u003C\u002Fsub>\n\u003C\u002Fdiv>\n\n- 🔒 **Zero-risk, fully local.** No cloud, no telemetry, no account, no data ever leaves your machine. Open source, MIT-licensed, fully auditable.\n- 🪶 **Zero-setup.** No hook configuration. petpet auto-discovers existing session logs on launch.\n- 🤖 **Multi-agent.** One pet eats events from every supported AI coding tool; XP accumulates in a single pool.\n- 🗂️ **Multi-pet.** Raise a fleet — switch the active companion any time; the rest hold their state.\n\n\u003Cbr>\n\n###  🦄 Three Built-in Difficulty Templates\n\n\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"assets\u002Fscreenshots\u002Fthree-eggs.png\" alt=\"Three difficulty eggs\" width=\"720\">\n\n| | Template | Difficulty | Default name | Hatch (Opus 4.7) | L99 (heavy use) |\n|:---:|:---:|:---:|:---:|:---:|:---:|\n| \u003Cimg src=\"templates\u002Fbuiltin\u002Funicorn\u002Fthumb.png\" width=\"72\"> | **Unicorn** | 🟢 Easy | Sparkle | ~5–10 conv | ~30 days |\n| \u003Cimg src=\"templates\u002Fbuiltin\u002Fsun\u002Fthumb.png\" width=\"72\"> | **Sun (Wukong)** | 🟡 Medium | Wukong | ~15–20 conv | ~60 days |\n| \u003Cimg src=\"templates\u002Fbuiltin\u002Fkingkong\u002Fthumb.png\" width=\"72\"> | **KingKong** | 🔴 Hard | KingKong | ~30+ conv | ~150 days |\n\n\u003C\u002Fdiv>\n\n**Hard mode philosophy** — KingKong won't budge for idle chat. Only deliberate work counts: AI token usage, completed tasks, dispatched subagents. Want a titan? Earn it.\n\n\u003Cbr>\n\n###  🔮 The Evolution Engine\n\nEvery pet has **10 evolution stages** — egg → newborn → six juvenile \u002F adult forms → final apex form. XP accrues from real-world events; level thresholds gate visual transformations.\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"assets\u002Fscreenshots\u002Fevolution-strip-all.png\" alt=\"Evolution stages across the three templates\" width=\"780\">\n\u003C\u002Fdiv>\n\n**The XP pipeline**\n\n```\n   Token usage   ┐\n   Activity     ─┼──→  Algorithm   ──→  Rule multiplier  ──→  XP\n   Manual grants┘     (invariant)       (per-template)\n```\n\n**Algorithm core** (`src\u002Fxp\u002Falgorithm.rs`, version-pinned, cross-install identical):\n\n```text\nweighted = input·1 + output·5 + reasoning·5 + cache_create·1.25 + cache_read·0.1\nraw      = weighted \u002F 60,000 × tier_mult × confidence × growth_curve(level)\nxp       = round(raw).clamp(0, tier_cap)\n```\n\n**Tier multipliers** — capability bands stay stable across vendor price changes:\n\n| Tier | Examples | Mult | Per-event cap |\n|---|---|:---:|:---:|\n| 🌌 Frontier | Opus 4.7, GPT-5, o1+ | 1.5× | 10 XP |\n| 🌙 Mid | Sonnet, GPT-4o, Gemini 2.5 | 1.0× | 6 XP |\n| 🐰 Mini | Haiku, GPT-4o-mini, nano | 0.7× | 3 XP |\n\n**Growth curve** — `1 \u002F (1 + 0.02 · level)`. High levels naturally diminish: at L25 you earn 67% per event, at L50 only 50%. No way to whale-rush to L99 in a weekend.\n\n**Per-template personality** — rule multipliers `[0.5, 2.0]` let each template flavor its preferences. Unicorn rewards every chat (chat-friendly), Sun halves it (medium pacing), KingKong zeros it out (token-only diet).\n\n\u003Cbr>\n\n###  🐕‍🦺 Multi-Pet & Custom Templates\n\n**Switch any time.** The active pet absorbs live events; the rest preserve their state forever. Run a parallel breeding program if you like.\n\n**Roll your own pet.** The built-in **Template Creator** gets you from blank to playable in under 3 minutes:\n\n1. Pick a **levels preset** — `short` \u002F `medium` \u002F `long` XP curve\n2. Pick a **stages preset** — `simple` (5 stages) \u002F `balanced` (7) \u002F `extended` (10)\n3. Fill in:\n   - Name, description, flavor text\n   - 10 sprite PNGs (drag-and-drop)\n   - Per-rule XP weights and per-model boosts\n   - Theme color + label chips\n\nTemplates live at `~\u002F.petpet\u002Ftemplates\u002F\u003Cid>\u002F` — pure JSON + PNGs. Hand-edit, git-version, share with friends. No proprietary format anywhere.\n\n\u003Cbr>\n\n###  📊 Dashboard\n\nClick your pet → opens the **Trainer Card**: a per-pet (or \"All\") usage dashboard tracking your spend, XP gains, model breakdown, and every recent move.\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"assets\u002Fscreenshots\u002Fdashboard.png\" alt=\"Trainer Card dashboard — All view: 3 pets, $8273.25 lifetime spend, 25K XP, 14B tokens, per-provider breakdown, recent moves\" width=\"540\">\n\u003C\u002Fdiv>\n\n- 💰 **Feeding Bill** — today \u002F this week \u002F this month \u002F lifetime USD + token totals\n- 📈 **Per-provider breakdown** — Claude vs Codex vs OpenCode vs Aider, tokens + XP earned each\n- 📜 **Recent moves** — every XP gain logged with timestamp, pet, amount, and source (`usage` \u002F `activity` \u002F `manual`)\n- 🏆 **All vs single-pet toggle** — `All` aggregates every pet you've ever raised (including pre-install historical sessions, display-only)\n\nOn launch, petpet performs **async historical import** of past session logs — your dashboard isn't empty on Day 1.\n\n\u003Cbr>\n\n###  📦 Pet & Template Sharing\n\nPack any pet (snapshot + XP history + custom name) or any template into a `.petpet` archive. Toss it on USB \u002F Discord \u002F GitHub releases. The recipient imports, schema is validated end-to-end:\n\n```\n✓ Manifest schema version       ✓ Sprite completeness (10 × PNG)\n✓ XP curve monotonicity         ✓ Rule shape (no unknown source_type)\n✓ SHA-256 checksums             ✓ No path traversal in archive\n```\n\nInvalid archives are **rejected**, never silently importing broken state.\n\n\u003Cbr>\n\n###  🛠️ Build from Source\n\n```sh\n# Prerequisites: Rust toolchain, Node 22+, pnpm\n\ngit clone https:\u002F\u002Fgithub.com\u002FppXD\u002Fpetpet.git\ncd petpet\u002Fdesktop\n\npnpm install\npnpm tauri dev          # hot-reload dev build\n\n# Release bundles → desktop\u002Fsrc-tauri\u002Ftarget\u002Frelease\u002Fbundle\u002F\npnpm tauri build\n```\n\n\u003Cbr>\n\n###  📄 License\n\nMIT — see [LICENSE](LICENSE). Fork it, modify it, ship it commercially. Pet sprites and engine code all under the same hat.\n\n\u003Cbr>\n\n\u003Cdiv align=\"center\">\n\nMade with 🍓 by humans who use AI too much.\n\n\u003C\u002Fdiv>\n","petpet 是一款桌面宠物应用，它伴随你的AI工作一同成长，每一次AI交互都能为宠物积累经验值并解锁新形态。该应用使用Rust语言编写，支持多平台（macOS, Windows, Linux），具有完全本地化存储、无需配置自动发现现有会话日志、多代理支持以及可以同时养多个宠物等特性。特别适合于经常使用AI辅助编程工具（如Claude Code, Codex, OpenCode, Aider）的开发者或研究人员，在享受高效开发的同时增添一份趣味性。",2,"2026-06-11 04:01:08","CREATED_QUERY"]