Repository navigation
v0.4.0
Your cat has more to do.
Play
grabbable: pick the cat up and toss it. It spins, bounces off the edges, and lands on its feet. A click without dragging pets it.treats: double-click empty space to drop a fish. The nearest cat runs over and eats it.data-oneko-knockable: now and then a resting cat walks up to the element, stares at you, and paws it off the screen. It comes back a few seconds later.data-oneko-box: if it fits, it sits. A resting cat naps in the box for a while.
Tour cat
goTo,say,sit,follow,pet, anddropTreaton the React ref,createOneko(),<oneko-cat>, and the Vue, Svelte, and Solid components.data-oneko-say="…"makes the nearest cat comment on whatever the pointer rests on or keyboard focus reaches.- New events:
onPet,onCatchCursor,onSleep,onToss, andonTreat.<oneko-cat>dispatchespet,catchcursor,sleep,toss, andtreat.
Seasons and moods
seasonal(on by default): a witch hat Oct 20–31, a Santa hat Dec 18–29, and a party hat Dec 30–Jan 2, plus a few themed thoughts. Setseasonal={false}to opt out, or pass"halloween"to preview.timeOfDay: zoomies at dawn and dusk, drowsy after lunch, asleep late at night.affection: remembers pets and treats and greets returning visitors.
Every new option except seasonal is off by default. Update with npm install oneko@0.4.0, or for the registry component run npx shadcn@latest add https://oneko.dhrv.pw/r/oneko.json again. The Chrome extension zip is attached below.
Full changelog: v0.3.1...v0.4.0