3 ms·
This makes me think of a thing I have been planning to do. Maybe one of you will do it and tell me some cool refinements. I run a web server on my Mac. Consequ
by tqwhite 5mo ago
This makes me think of a thing I have been planning to do. Maybe one of you will do it and tell me some cool refinements.
I run a web server on my Mac. Consequently, I have an HTTP process available. I keep intending to make an endpoint that Claude can use. I would tell it to make a document for commenting (or put a list of options or whatever) and post it to, I guess, the planning folder we are working in. The endpoint would know how to do this because I wrote it.
When it gets there, I would, I wanted to keep it, tell Claude to integrate the results into the file as static HTML. Or, if I don't care about that, just read it and do whatever I said and leave it disconnected.. The goal isn't to make a website.
This supports interactive conversations with Claude via HTML.
- tqwhite 5mo agoBy "planning", I actually meant "thought of one time". So, I did it. The endpoint verifies that the destination specified by the POST is in my project folder. If it points at an existing file, it creates a version. It does not overwrite. I added a CLI, watchFile, that blocks Claude until the file shows up. And made a skill that tells Claude to respond nicely to "Make an interactive document that...". Claude Code has basically made software functionality, "Your wishes come true".
- tqwhite 5mo agoAnother upgrade. Now the skill knows to create a containing folder with index.html if none exists and then to link any new docs to it. Now I have a favorite in my bookmark bar for each project I am working on that shows me the docs. I'm so happy.