DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test the vibration engine with a mock controller with Vibeclaude

Run a fake Intiface Central server and the test suite to check the daemon without any device.

Short answer: Run git clone https://github.com/transkatgirl/vibeclaude.git ~/.claude/vibeclaude and then cd ~/.claude/vibeclaude && npm install; then in one terminal, run node test/mock-intiface.mjs 12345 to start the fake Intiface Central with one device; in a second terminal, from the same directory, run npm test. All steps.

Who it is forA developer who wants to change or debug the plugin's daemon but has no vibration device on hand.

The problemTesting the vibration engine normally needs real hardware, which slows down every change.

The outcomeA mock Intiface server prints the motor level it would have sent, and the test suite runs against it.

What you need first

  • Claude Code with function-hooks plugin support (the README says it is an early-access API, built against 2.1.291)
  • Node.js 22+ available as node on your PATH
  • Intiface Central installed, with its WebSocket server running at ws://127.0.0.1:12345
  • A vibration-capable controller paired in Intiface Central
  • A private setting where you are comfortable using the device

Steps

  1. Run git clone https://github.com/transkatgirl/vibeclaude.git ~/.claude/vibeclaude and then cd ~/.claude/vibeclaude && npm install.
  2. In one terminal, run node test/mock-intiface.mjs 12345 to start the fake Intiface Central with one device.
  3. In a second terminal, from the same directory, run npm test.
  4. Read the motor levels the mock prints and compare them with the patterns in the README table.

Prompt for your agent

In the transkatgirl/vibeclaude repo, start node test/mock-intiface.mjs 12345 in the background, then run npm test. Report the test result and the motor levels printed by the mock. Verify that the mock printed at least one motor level value.

Caveat. The mock only prints what it would have felt, so it does not confirm how a real device feels.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for transkatgirl/vibeclaude and "Test the vibration engine with a mock controller"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer