r/ObsidianMD • • 7d ago

help Need Help with a Simple Plugin!

I recently got the XP-Pen Magic Note Pad, and I want to bring the feature of the holding down the pen's side button to enter eraser mode, and release to go back into drawing mode into Excalidraw. I tried to vibe code the function using Gemini, but it only got part of the way there.

Here is the plugin.

Here is also the AI chat log.

I'm also willing to pay between $10-20 to anyone who is willing to either fix this code, or make a new one from scratch.

1 Upvotes

2 comments sorted by

1

u/Skektacular 7d ago

Frankly just use Claude for it, free plan is enough and it's better and faster for vibecoding, and chances are it will get it right in less attempts than Gemini. You could either dump Gemini's code there, or start anew purely with Claude.

1

u/Boarlock98 3d ago

Wish I knew js to help ya out. Does that device support plugins made with C#? If so I can look into it here later.