stevenjoezhang/live2d-widget ? reverse-engineered prompt

Reverse engineered prompt

Build me a small web widget that lets me drop a cute Live2D mascot into any website with one script tag.

I want it to feel lightweight and easy to plug into a blog or static site, with a default auto load version and a more customizable version for people who want to tweak it. It should show the character in the corner, include a few little interaction buttons, and display friendly tip messages based on page actions or clicks. Make it easy to change things like the model source, CDN path, whether it can be dragged around, and whether the close button can be reopened later.

Please include a simple demo page or two so I can see it working, and make sure the code is clean and ready to build for browser use. The project should not include any character models itself, just the widget and the loading logic. If you need current docs for Live2D or the browser setup, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab