Show HN: Codex Pets – tiny animated pets for web apps

(froemic.github.io)

1 points | by froemic 9 hours ago ago

1 comments

  • froemic 9 hours ago

    I built this after making a few Codex-style pets and wanting an easy way to embed them in web apps.

    The core renderer is dependency-free TypeScript. There are wrappers for React, Vue, Svelte, Solid, and Angular. Pets are spritesheet-based, draggable, controllable from app code, and can run occasional idle actions.

    -> Demo: https://froemic.github.io/codex-pets-web/ -> GitHub: https://github.com/FroeMic/codex-pets-web

    I’d be interested in feedback on the API design, especially the provider/controller model for controlling multiple pets in one app.