Claude Coding

Various software libraries and applications developed through “vibe coding” with Claude.

bCNC Job Completion Notifier

I use the open-source bCNC program to control a CNC router which I use for guitar peghead and fingerboard inlays. One feature that bCNC lacks is the ability to send a notification when a job has completed. Since bCNC is open-source and coded in Python, it’s extensible. I asked Claude to create notification capability – it suggested using the free ntfy phone app, and created the code changes needed to permit bCNC to send a phone notification when a job has completed or some error has occurred. Here’s the conversation that generated the code modifications.

Curvulator

A simple webpage calculator that will compute the radius, chord length, or rise (sagitta) of an arc given the other two parameters. Useful in determining values for arched workboards and braces in guitar making. Vibe-coded using Claude AI – here’s the conversation that created the calculator (took under an hour).

Solar Azimuth Calculator

A Python library for calculating the time at which the sun reaches a particular azimuth (the direction angle from north from which the sun’s rays appear). This was used in the Home Assistant home automation system to control motorized window shades, opening them when the sun was no longer able to shine into the room, i.e., when the sun’s azimuth angle was parallel to the window pane. Vibe-coded using Claude AI – here’s the conversation that produced the Python library and some intermediate outputs. Note that the final library referenced in the link in the heading was modified from that produced by Claude to include some Home Assistant-specific operations (assigning the time to a supplied Home Assistant input_datetime entity).

However, this information is actually obsolete, as the Home Assistant system already contains solar azimuth and elevation attributes as part of the sun Entity. I didn’t realize these were already available as a standard part of the Home Assistant installation when I embarked on my Claude-coding escapade, though I have to say I enjoyed the adventure, and am keeping this posted here just for Claude-coding informational purposes. But you don’t need to use the Claude-coded Python module discussed in this article to use Home Assistant triggers based on solar azimuth – they’re built-in.

Computing, lutherie, mathematics, finance, and other resources