Skip to content
Projects

About

Windows 与 macOS 的 3D 桌面小猫桌宠:响应全局键鼠、敲键追光标、摸猫呼噜;支持照片取色或 AI(内置 MCP)定制专属猫咪,闲置后睡觉。

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
+9
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original
7paws

7paws

A 3D desktop pet for Windows and macOS
Global keyboard & mouse response · Custom cats from photos or AI · Purring when petted · Click-through

GitHub  |  Download  |  Feedback

Language: English · 简体中文 · 繁體中文

Release Platforms License CI
Dami: the cat raises a paw with each key you type
Dami
Mianmian: a black cat raising a paw with each key
Mianmian

Contents

Features

Interaction

  • Global keyboard & mouse response — No window focus needed: typing or moving the mouse in any app triggers the pet's reactions.
  • Scroll wheel reaction — Scrolling the wheel makes the on-desk mouse scroll along, and the gap between the middle keys flashes the eye color of the current coat.
  • Scheduled voice reminders — Turn on reminders at a minute interval in settings; at each tick 7paws reads your custom text aloud with a local system voice and shows a text bubble above the pet that fades out after about 10 seconds. The bubble never takes focus and is click-through, and "Text bubble" can be turned off separately. The timer restarts after each reminder, and empty reminder text skips speaking.
  • 3D cat — Rounded procedural models with thirteen cat coats. Create any number of "My cats", sample colors from a photo of your own cat, fine-tune color slots (including heterochromia) and patterns, or let AI generate colors and markings over the built-in MCP; the pet types along, watches the cursor, reaches for the mouse and falls asleep when idle.
  • Idle actions — After a short pause the pet randomly licks a paw or its fur, loafs, or curls up, and also stretches, yawns and flicks its tail; transitions are smooth and any key, mouse, petting or drag ends the action immediately. Can be turned off in settings.
  • Petting and dragging — Hold the head to pet, hold the body to drag the window; the head hit test uses renderer raycasting.
  • Purring — Bundled purr recording played in a WebAudio loop with smooth fades; petting purr and sleep purr toggle independently.

Desktop

  • Click-through and always on top — Transparent areas never block desktop use; when you need the mouse fully free, lock pass-through from the settings menu or the tray and hold Alt to interact temporarily. Turn off always-on-top if you don't want the pet above other windows. The tray or menu bar icon shows and hides the pet.
  • Fullscreen game topmost guard — On Windows 10/11 with borderless or fullscreen-optimized games, 7paws keeps restoring the pet's topmost state without stealing game focus; exclusive fullscreen and anti-cheat games are not guaranteed to be covered. The guard stops when always-on-top is off.
  • macOS multi-display and Spaces — After dragging the pet between displays with different scale factors it stays clickable, pettable and draggable; the pet and settings window appear in every Space, so switching desktops or entering a fullscreen app doesn't require reopening them.
  • 65% / 98 / 104 keyboards — Switch at runtime in the same installer, defaulting to the 65% compact layout; the 98-key layout keeps the F row, navigation island and numpad while staying narrower than 104.
  • UI languages — The settings window, right-click menu, tray menu and reminder voice support English, Simplified Chinese and Traditional Chinese, following the system language by default and switchable in settings; the installer follows the system language with English / Simplified Chinese / Traditional Chinese.
  • Live green screen — One click in settings paints the pet window with a green, blue or magenta screen for OBS or Live Studio (直播姬) window capture plus chroma key; a single-window implementation that also works on macOS.
  • Privacy mode — Only left/right hand hints, never specific keys.
  • Settings persistence — Coat, size, layout, sleep time and every toggle are saved locally.
  • Check for updates — One click in the settings header compares against the latest GitHub Release and links to it when a newer version exists.

Download and install

Packages are published on GitHub Releases.

Platform Package Notes
Windows x64 *-x64-setup.exe Windows 10/11 x64
Windows ARM64 *-arm64-setup.exe Windows ARM64; the installer is x86, the app is native ARM64
Windows x64 portable *-x64-portable.zip Unzip and run, no installation; requires WebView2 Runtime on the system
Windows ARM64 portable *-arm64-portable.zip Same as above
Windows 7 SP1 x64 compatibility portable *-win7-x64-portable.zip Unofficial compatibility build; bundles the WebView2 109 Fixed Version runtime and runs locally after unzipping
macOS Intel *-x64.dmg Intel Mac
macOS Apple Silicon *-aarch64.dmg Apple Silicon

Every release ships a SHA256SUMS.txt, and its body is that version's changelog. The Windows installer follows the system language and includes English, Simplified Chinese and Traditional Chinese. Historical changes are in CHANGELOG.md.

Current packages are unsigned and not notarized. macOS may need a manual approval on first launch; the unsigned Windows installer may trigger SmartScreen.

First launch on macOS

After dragging the 7paws.app for your architecture into Applications:

  • If you see "cannot verify the developer" or "is damaged", run this in Terminal:
xattr -cr /Applications/7paws.app
  • Open System Settings → Privacy & Security and enable 7paws in Accessibility (shown as "Device Control & Data Access" on macOS 26/27) and Input Monitoring, then fully quit the app and open it again.
  • Only these two permissions are needed; there is no third one.
  • Use the aarch64 package on Apple Silicon and x64 on Intel; don't run the app directly from the DMG or the Downloads folder.

If the notice persists after enabling the switches:

  1. Quit 7paws completely from the menu bar and make sure no process remains;
  2. Make sure the app is in /Applications and matches the machine's architecture;
  3. Clear the quarantine attribute and old grants:
xattr -cr /Applications/7paws.app
tccutil reset All com.qoder.7paws
  1. Re-add /Applications/7paws.app with + in Accessibility and Input Monitoring and turn both switches on; fully quit and relaunch.
  2. On macOS 26/27, if the switches are already on but launching still asks "7paws wants to control this Mac and access your data": turn both switches off and on again so the system rebinds the grant to the current build, then fully quit and relaunch. Release builds are ad-hoc signed and grants bind to a specific build, so an update may require confirming once more.
  3. If it still doesn't work, proper distribution needs Developer ID signing and notarization.

Windows installation

  • Requires the Microsoft Edge WebView2 Runtime; the installer bundles a bootstrapper and installs it automatically when needed.
  • If you see Could not find the WebView2 Runtime, this is common on Windows 10 LTSC, trimmed-down builds or systems with Edge removed. Install Microsoft's official Evergreen Runtime and reopen 7paws. For offline machines, download the installer on a networked machine first and copy it over.
  • The unsigned installer may show "Unknown publisher"; once you've confirmed the file came from this repository's Releases, choose "More info → Run anyway".
  • The Windows ARM64 build needs the ARM64 WebView2 Runtime; the installer attempts to install it automatically.
  • The Windows portable build can create a desktop shortcut from the settings page; the shortcut points at the current 7paws.exe and copies no files or runtimes. The NSIS installation doesn't show this entry.
  • See below for the Windows 7 SP1 x64 compatibility build's installation and limits.

Fullscreen games

  • Windows 10/11 keeps checking the pet's topmost state and the foreground window Z order; when covered by a borderless or fullscreen-optimized game it restores topmost without stealing focus.
  • The guard pauses while the settings window is open, while dragging the pet, or while the pet is hidden.
  • If the game itself runs as administrator, choose "Restart as administrator" in settings. This does not elevate automatically; you confirm the UAC prompt.
  • You can enable "Run as administrator by default" to request UAC on the next launch; there are no repeated prompts once elevated. Off by default; launch at login may also trigger UAC because of it.
  • Exclusive fullscreen and games with kernel anti-cheat may forbid other windows on top; prefer borderless windowed mode and pause or hide the pet if needed.

Windows 7 compatibility build

  • Only an unofficial Windows 7 SP1 x64 compatibility portable package *-win7-x64-portable.zip is provided; x86 and Windows 8 are not supported.
  • Unzip all files, keep 7paws.exe next to WebView2Runtime, and run from a local disk; don't run from a UNC or network path.
  • Bundles the WebView2 109.0.1518.78 Fixed Version runtime, which never auto-updates; normal Windows 10/11 packages still use the system Evergreen Runtime.
  • The pet renders through a native layered window at about 30fps with the frame buffer aligned to the window's physical size; the settings window uses an opaque background and doesn't show a taskbar button.
  • Windows 7 and Runtime 109 are past security maintenance; the compatibility package is not official or security-supported.

Usage

  • Right-click the pet to open the settings window next to the cat; drag the title bar to move it; click outside, press Esc or use the top-right close button to close it.
  • Hold the head to pet; hold the body to drag the window.
  • Left-click the tray icon (menu bar icon on macOS) to show or hide the pet; the menu toggles mouse pass-through lock, opens settings or quits.
  • The settings menu switches coat (including "My cats": create, sample from a photo, export/import coat codes, per-eye heterochromia slots, name and switch any number), keyboard layout, UI language, sleep time, live green screen, left-handed mouse, always on top, pass-through lock, tray icon, launch at login, privacy mode, purr toggles, key letters and scheduled voice reminders.
  • With pass-through locked the whole window ignores the mouse; hold Alt to drag or right-click the menu temporarily.
  • Dragging the size slider only previews the percentage; release to apply.
  • The settings header can check for updates and open the GitHub repository; the bottom shows the current version.

Live green screen

  1. In Settings → "Live capture", enable "Green screen" and pick the key color matching the cat: green #00FF00, blue #0000FF or magenta #FF00FF. The pet window becomes a solid opaque screen rendered at 100% opacity.
  2. Add a "Window Capture" source in OBS or Live Studio and pick the 7paws pet window. OBS recommends the Windows 10 (1903 and later) capture method; on macOS grant OBS "Screen Recording" permission first.
  3. Add a "Chroma Key" filter with the same key color. If the coat or eyes contain the key color, switch to another screen color.
  4. While enabled the window is a full screen; clicks still pass through using the cat-shaped hit regions. Capture resolution follows the pet size, so set the size to 100% or larger before streaming. Hiding the pet from the tray stops the capture; turning the green screen off restores the transparent pet.

Live green screen renders entirely locally and opens no network ports. The reminder text bubble is a separate small window, so capturing the pet window doesn't put it on stream.

Settings UI

My cats: heterochromia slots, patterns, markings and photo sampling
My cats: heterochromia slots, patterns and markings
Coat code and AI access (MCP) configuration
Coat code and AI access (MCP)
Opacity, sleep time and the various toggles
Opacity, sleep and toggles

AI assistant access (MCP)

7paws embeds a stdio MCP server that needs no Node or Python. You send photos to the AI client; the AI reads them and generates colors, patterns and markings, and the running pet hot-reloads within about a second, no restart needed.

Setup

  1. Right-click the pet to open settings and find "AI access (MCP)"; make sure the toggle is on.
  2. Pick your AI tool from the client dropdown (Qoder first; 15 in total: Claude Code, Cursor, CodeBuddy, ZCode, TRAE, VS Code, Windsurf, Codex, DeepSeek Harness, OpenCode, Pi, Cherry Studio, WorkBuddy, Antigravity).
  3. Click "Copy" and paste the generated config into the file shown under the dropdown (e.g. ~/.qoder/mcp.json) or the client's settings page, then reload the MCP config or restart the client.

A generic stdio config looks like this (the command points at the 7paws executable; you can also use a fixed copy such as ~/.7paws-mcp/7paws.exe so development doesn't lock the install or build directory):

{
  "mcpServers": {
    "7paws": {
      "command": "InstallDir\\7paws.exe",
      "args": ["--mcp"]
    }
  }
}

Tools

Tool Purpose
get_cat_schema Color semantics, the four patterns, marking coordinates and templates; the AI usually reads it first
list_cats Lists built-in and custom cats, marking the active one
upsert_cat Creates or overwrites a cat (colors, pattern, markings) and can switch to it immediately
switch_cat Switches the current pet by id
delete_cat Deletes a custom cat

Things to tell the AI

Drag photos into the chat or just describe in words, for example:

  • "Use the 7paws MCP to design a cat from this photo: read the schema first, pick colors, pattern and markings from the photo, use a new id, and switch to it when done."
  • "It has a dark vertical stripe on the forehead, a white chest and a large orange patch on the back — put those three into spots."
  • "Move the white chest patch on the cat you just made up a bit and scale it up."
  • "Change the current cat to calico: cream base, orange and black patches, amber eyes."
  • "It has heterochromia: one blue eye and one amber eye."
  • "List all my cats, then switch back to the tuxedo."
  • "This one doesn't look right; delete it."

Markings are placed by the AI using the uv coordinates from the schema, so the first pass may be off. Tell it which way to move, enlarge or shrink and it will adjust the coordinates and reapply, taking about a second each time.

Notes

  • Spots currently only support the head and body (up to 24 each); limbs and the tail are not supported yet. Coordinates use 0.25 for the front center and 0.75 for the back, and the schema includes forehead stripe, eye mask, white chest and back patch templates.
  • With "Allow AI access (MCP)" off, tool calls return a clear message; turn it back on to resume, no client restart needed.
  • Custom cats live in cats.json next to the config file; the app polls the file while running and hot-reloads changes. The settings window can also generate a coat code for "My cats" to copy, share or paste back.
  • Photos go only to your AI client; apart from reading the GitHub version number when you click "Check for updates", 7paws makes no network requests.
  • When upgrading, the installer uses the Windows Restart Manager to detect locks (including the --mcp processes spawned by AI clients) and asks you to close them and continue; restart the AI client afterwards to restore MCP. If the AI client runs as administrator, quit it manually before upgrading.

Default settings

Setting Default
Size 60% (10%–150%)
Opacity 100% (10%–100%)
Keyboard layout 65% compact
UI language Follow system (can be fixed to English / Simplified Chinese / Traditional Chinese)
Live green screen Off
Live key color Green screen (#00FF00)
Coat Tuxedo
My cats None (click "+ New" in settings, or let AI create one over MCP)
Sleep time 5 min
Idle actions On
Purr when petted On
Purr in sleep Off
Show key letters On
Voice reminders Off
Text bubble On
Reminder text Empty
Reminder interval 30 min (1–1440)
Always on top On
Show tray icon On
Allow AI access (MCP) On
Launch at login Off
Run as administrator by default Off
Mouse on left side Off
Lock mouse pass-through Off
Privacy mode Off

Config file locations:

  • Windows: %APPDATA%\7paws\settings.json
  • macOS: ~/Library/Application Support/7paws/settings.json

Launch at login on macOS registers ~/Library/LaunchAgents/com.qoder.7paws.plist.

Tech stack

  • Desktop shell — Tauri 2 + Rust; global input hooks, windows, tray, click-through and settings persistence.
  • Frontend — TypeScript + Vite without a UI framework; three.js + WebGL renders the 3D pet.
  • Input — Windows low-level keyboard/mouse hooks; macOS CGEventTap (Accessibility + Input Monitoring).
  • Audio — WebAudio plays the bundled purr recording; no network audio assets; no network requests, accounts or telemetry.

Build from source

pnpm install
pnpm build
pnpm tauri:dev

Packages:

# Windows x64 NSIS
pnpm tauri:build

# macOS Intel / Apple Silicon
pnpm tauri build --target x86_64-apple-darwin
pnpm tauri build --target aarch64-apple-darwin

# Windows ARM64 (cross-compile on Windows)
pnpm tauri build --target aarch64-pc-windows-msvc --bundles nsis

# Windows 7 SP1 x64 compatibility build (separate target-win7, normal packages untouched)
pnpm tauri:win7
pnpm verify:win7

macOS packages must be built on macOS; Tauri doesn't support cross-compiling from Windows. Per-architecture artifacts land in src-tauri/target/<target>/release/bundle/.

Rust checks:

cd src-tauri
cargo check

Project structure

.
├─ .github/workflows/   CI, manual builds and tag releases
├─ src/                 Frontend entry, adapter, coats, audio and styles
├─ public/vendor/       three.js and the 3D renderer
├─ public/audio/        Bundled purr recording
├─ src-tauri/           Tauri windows, global input, settings, tray and platform config
├─ assets/              App icon source, alternate icons and README logo
├─ index.html           Pet window skeleton and startup error overlay
├─ settings.html        Standalone settings window
├─ LICENSE              MIT license
├─ README.md            Simplified Chinese README
├─ README.en.md         English README
└─ README.zh-TW.md      Traditional Chinese README

Browser preview

pnpm dev

The browser preview has no Tauri global hooks or native windows: keyboard and mouse actions don't trigger global responses, and settings only live in memory. Right-clicking the pet opens the settings page in a new window, or visit settings.html directly. Available parameters:

  • ?demo=1: auto-typing demo.
  • ?localinput: capture keyboard and wheel events inside the current window.
  • ?previewCoat=tuxedo: preview a coat; options are tuxedo, orange, tabby, calico, siamese, black, white, blue, gray-white, orange-white, tortie, cream, silver.

Privacy and security

  • 7paws reads global keyboard and mouse input only to drive the pet's actions; keystrokes are never recorded, stored or uploaded.
  • Privacy mode only sends left/right hand hints and never shows specific keys.
  • Settings are written to local files only; there are no accounts, telemetry or analytics. The only network access is the GitHub Releases API when the user clicks "Check for updates" in the settings window: it reads the latest version number only, sends no local data, and never checks automatically.
  • Config paths: %APPDATA%\7paws\settings.json on Windows, ~/Library/Application Support/7paws/settings.json on macOS.

Current scope

  • Officially supports Windows 10/11 x64 and ARM64, and macOS 10.15+ on Intel and Apple Silicon.
  • Windows 7 SP1 x64 has an unofficial compatibility portable build; Windows 8 and Linux are not supported yet, with X11 sessions considered first for future versions.
  • On macOS the app lives in the menu bar and shows no Dock icon.
  • Release packages are currently unsigned; if macOS 26/27 can't keep the permissions, Developer ID signing and notarization are required.
  • The 104 layout follows a standard full keyboard with the F row, navigation cluster, arrow keys and numpad.
  • The 98 layout keeps the F row and the right-side Del/Ins/PgUp/PgDn navigation island; the numpad is tucked to the right of the main block and the arrow keys sit between the main block and the numpad.

Releasing

  1. Sync the version across package.json, package-lock.json, src-tauri/tauri.conf.json, src-tauri/Cargo.toml and src-tauri/Cargo.lock.
  2. Push a vX.Y.Z tag.
  3. The GitHub Actions release workflow builds the Windows x64/ARM64 NSIS installers and the macOS Intel/Apple Silicon DMGs, then publishes the Release with SHA256SUMS.txt.

Releases go through the single build triggered by the tag; don't run "Build bundles" manually and then tag. The manual build workflow is for troubleshooting only.

Contributors

License

MIT

Explore related projects

Loading…