Who it is forA developer who wants a changed look or a fork of the robot head, and is comfortable with pnpm and TypeScript.
The problemThe published package may not match a custom visual idea, and the source needs to run locally to iterate quickly.
The outcomeA local playground with edits that hot-reload, plus a fresh build of the library in dist/.
What you need first
- A React project on React 18 or newer, since React is a peer dependency
- Node.js with npm, or pnpm if you plan to work on the library source
- A way to map your agent's status values to the nine states the library supports
Steps
- Clone https://github.com/fayazara/robot-heads and change into the folder.
- Run
pnpm installto install dependencies. - Run
pnpm run devto start the playground on the library source. - Edit files under src/, such as src/tv/, and watch the playground hot-reload.
- Run
pnpm run typecheckand thenpnpm run buildto produce the library in dist/.
Prompt for your agent
Clone https://github.com/fayazara/robot-heads, run `pnpm install`, then `pnpm run typecheck` and `pnpm run build`. Expected output: a dist/ folder with the built library and no type errors. Verify that the build succeeds before reporting any changes to the TV head under src/tv/.
Caveat. The README describes the geometry, lighting, and renderer in detail, so changes to src/tv/ can affect every shape, and the playground deploy command is only needed if you publish your own Worker.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fayazara/robot-heads and "Change the TV head by building from the repo source"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer